menu
Channels
Team
Posts
Members
Info

Prevent a programmatically called command's output from appearing in stdout

When I run a command programmatically (https://oclif.io/docs/running_programmatically) from my own custom command (aka "Foo"), is there a way to suppress the output of the command from it appearing in the stdout but instead capture that output and reshape it in the calling…

thumbsup
0
message-simple
0

oclif cli packaged for non-techie

first off .. awe.some project. I've written more cli tools than I care to remember and will never again use bash/python/ruby/perl/etc Has anyone tried creating an electronjs or similar wrapper that can be distributed to non-technical folks. ie, folks that have no idea what npm…

thumbsup
0
message-simple
1

Oclif prepack does not build lib folder

Hey folks, i am stuck! I am writing my first oclif CLI, the issue is that the prepack script does not build the lib folder. Does anyone know if there is a work around?

thumbsup
1
message-simple
1

lib folder is not found in npm publish component

I am trying to build a multi CLI using oclif. I published it into npm registry and installed it globally. While running the command from my terminal, it's throwing the following error, Error: Cannot find module…

thumbsup
1
message-simple
22

Using native modules with Oclif

I'm trying to upgrade a module I use, and the new version now includes a native module dependency, which is causing me big problems. As far as I can tell, it's not possible to use native modules from Oclif, is that right? I can build everything happily on my Linux machine, but…

thumbsup
0
message-simple
16

Article - A Modern Way To Build a CLI with Oclif in Node

I'm Alex, a JavaScript and Node enthusiast. I'm writing articles and performing free webinars. My goal is to help developers extending their knowledge and improving software programming skills. I've written an article about building a CLI in Node with Oclif and thought you might…

thumbsup
0
message-simple
3

Leveraging other installed CLIs?

I'm writing a small cli for use with Salesforce and I'd like to leverage auth:web:login instead of reinventing the wheel. Specifically the login flow and resulting access token. Is that possible? Advisable?

thumbsup
0
message-simple
0

Just a lil fun - Punchline.

Made a quick little app that simply returns a random Dad joke in your terminal. Let me know your thoughts, has simple search as well! Using oclif to make a few various CLIs for work and I love the framework - keep up the great work guys! …

thumbsup
0
message-simple
1

Oclif first run startup time on Windows

On Windows, my oclif CLI startup time for the first run and after each update is significantly higher than other platforms or normal runs - up to 10 seconds before the process starts on slow machines, which is a pretty painful delay to have with no feedback, especially as a…

thumbsup
1
message-simple
1

OClif Plugin Update does not play nicely with Brew

We have been instructing our teams to install via brew and update via cli update. However, it seems the update plugin does some path redefining here https://github.com/oclif/plugin-update/blob/e19392fb7b26b867dcc173b96a03b6baf9004c22/src/commands/update.ts#L233 This causes our…

thumbsup
1
message-simple
9