
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
oclif-template
Advanced tools
Starting a development session is easy, just run yarn nodemon
once all dependencies are installed. You can create an alias to the absolute path to ./bin/run
so you can easily run the CLI in development to test. In Linux, if you use bash
, you can add to the end of ~/.bashrc
the following line:
alias YOUR_CLI_NAME-test="ABSOLUTE_PATH_TO_YOUR_CLI_FOLDER/bin/run"
After restarting the active terminals you'll be able to run YOUR_CLI_NAME-test
and you'll be running the dev version of your CLI.
In MacOS you can add to the end of ~/.bash_profile
(if you use bash
) the same line presented above - maybe you'll have to restart the computer for the new alias to take effect.
$ npm install -g oclif-template
$ cli COMMAND
running command...
$ cli (-v|--version|version)
oclif-template/0.0.1 linux-x64 node-v12.13.0
$ cli --help [COMMAND]
USAGE
$ cli COMMAND
...
cli help [COMMAND]
display help for cli
USAGE
$ cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
cli ls
List local files
USAGE
$ cli ls
EXAMPLE
cli ls
See code: src/commands/ls.ts
cli say:bye
Say bye
USAGE
$ cli say:bye
EXAMPLE
cli say bye
See code: src/commands/say/bye.ts
cli say:hello [FILE]
Say hello
USAGE
$ cli say:hello [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLES
cli say hello
cli say hello --name="tiago"
cli say hello -n tiago
cli say hello --force --file asdf.txt
See code: src/commands/say/hello.ts
cli update [CHANNEL]
update the cli CLI
USAGE
$ cli update [CHANNEL]
See code: @oclif/plugin-update
FAQs
oclif multi command, space separated cli
We found that oclif-template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.