@tscli/cli
v0.0.0
Published
@manifoldfinance command line utility
Downloads
4
Readme
@manifold/tscli
Command Line Utility
Usage
$ npm install -g tscli
$ tscli COMMAND
running command...
$ tscli (-v|--version|version)
tscli/0.0.0 linux-x64 node-v12.16.1
$ tscli --help [COMMAND]
USAGE
$ tscli COMMAND
...
Commands
tscli autocomplete [SHELL]
tscli eth:send-raw-transaction [FILE]
tscli eth:send-transaction [FILE]
tscli help [COMMAND]
tscli plugins
tscli plugins:install PLUGIN...
tscli plugins:link PLUGIN
tscli plugins:uninstall PLUGIN...
tscli plugins:update
tscli repl [PROVIDER]
tscli autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ tscli autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ tscli autocomplete
$ tscli autocomplete bash
$ tscli autocomplete zsh
$ tscli autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
tscli eth:send-raw-transaction [FILE]
describe the command here
USAGE
$ tscli eth:send-raw-transaction [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
See code: src/commands/eth/send-raw-transaction.ts
tscli eth:send-transaction [FILE]
describe the command here
USAGE
$ tscli eth:send-transaction [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name (required) name to print
See code: src/commands/eth/send-transaction.ts
tscli help [COMMAND]
display help for tscli
USAGE
$ tscli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
tscli plugins
list installed plugins
USAGE
$ tscli plugins
OPTIONS
--core show core plugins
EXAMPLE
$ tscli plugins
See code: @oclif/plugin-plugins
tscli plugins:install PLUGIN...
installs a plugin into the CLI
USAGE
$ tscli plugins:install PLUGIN...
ARGUMENTS
PLUGIN plugin to install
OPTIONS
-f, --force yarn install with force flag
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ tscli plugins:add
EXAMPLES
$ tscli plugins:install myplugin
$ tscli plugins:install https://github.com/someuser/someplugin
$ tscli plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
tscli plugins:link PLUGIN
links a plugin into the CLI for development
USAGE
$ tscli plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
OPTIONS
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLE
$ tscli plugins:link myplugin
See code: @oclif/plugin-plugins
tscli plugins:uninstall PLUGIN...
removes a plugin from the CLI
USAGE
$ tscli plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
OPTIONS
-h, --help show CLI help
-v, --verbose
ALIASES
$ tscli plugins:unlink
$ tscli plugins:remove
See code: @oclif/plugin-plugins
tscli plugins:update
update installed plugins
USAGE
$ tscli plugins:update
OPTIONS
-h, --help show CLI help
-v, --verbose
See code: @oclif/plugin-plugins
tscli repl [PROVIDER]
Interactive REPL
USAGE
$ tscli repl [PROVIDER]
ARGUMENTS
PROVIDER Provider address. Ex: http://localhost:8545
OPTIONS
-h, --help show CLI help
-p, --provider=provider Provider address. Ex: http://localhost:8545
See code: src/commands/repl.ts