
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.