How would I deploy custom config file with the CLI
I am currently working on deploying a client and we have configuration files that need to be installed in the config dir of the CLI while deploying with npm install it's it possible to do it and how ?
oclif templating / scaffolding command like yeoman / plopjs
Hey, just starting out with oclif so new to how to build commands. But I'd like to build a command to code generate parts of a web app that I'm building. I have it in mind that I should use something like yeoman or plopjs (both of which I've not used before). Example; I want to…
Save the Date: oclifconf on May 31st!
The inaugural oclifconf will take place on Friday, May 31st in San Francisco. What is oclifconf? It's the first in-person event for the oclif community, organized by Heroku & Salesforce Open Source. oclifconf will be a one-day, single-track conference for developers & product…
Can you call an oclif command programatically?
I am working on wrapping an oclif cli with a gui and need to determine how to execute the commands from the callbacks.
mutate in prerun hook
Working on a plugin that adds node-config like function to all commands (env vars, config file, and cli as flags & args). I do not want to extend the command class - then everythign would have to use my command. So in a prerun hook I am mutating the argv and flags object. Can…
Is there a way to do a global error boundary?
I'm looking to catch errors across all commands, and return a friendly message and a way to report it. Is there a good way to achieve this?
How to migrate from Node js cli to OCLIF?
We have a Node js CLI script which we are planning to migrate to OCLIF multi cli. How i can i do it ? If yes can i convert the js scripts to typescript too ?
How can i mock commands executed in tests
I am new to oclif, really appreciate your help in advance
I am creating commands using oclif, which simplifies l local set up/runlist - - I am using execa to run system commands as part of the command. …
Shared flag from base command + args in sub commands
Is there a way to implement this in the best way ??
hey guys, anyone knows this issue ?
I developed a new package which i hope to use in my project with npm install. The IDE says no errors , but when I run ./bin/run, it failes with MODULE_NOT_FOUND