oclif-hello-world
oclif example Hello World CLI
Usage
$ npm install -g @printersystems/cli
$ cli COMMAND
running command...
$ cli (--version)
@printersystems/cli/0.0.2 darwin-arm64 node-v16.15.0
$ cli --help [COMMAND]
USAGE
$ cli COMMAND
...
Commands
cli auth
Determine the currently authenticated user
USAGE
$ cli auth [--api-key <value>]
FLAGS
--api-key=<value> API Key you wish to use to authenticate
DESCRIPTION
Determine the currently authenticated user
EXAMPLES
$ printsys auth
See code: dist/commands/auth/index.ts
cli help [COMMAND]
Display help for cli.
USAGE
$ cli help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for cli.
See code: @oclif/plugin-help
cli logout
Remove authentication token
USAGE
$ cli logout
DESCRIPTION
Remove authentication token
EXAMPLES
$ printsys logout
See code: dist/commands/logout/index.ts
cli sync
Sync slicer profiles to printer.systems
USAGE
$ cli sync
DESCRIPTION
Sync slicer profiles to printer.systems
EXAMPLES
$ printsys sync
See code: dist/commands/sync/index.ts
cli whoami
Determine the currently authenticated user
USAGE
$ cli whoami
DESCRIPTION
Determine the currently authenticated user
EXAMPLES
$ printsys whoami
See code: dist/commands/whoami/index.ts