@ycabal/cli

JSONRPC utility

Usage no npm install needed!

<script type="module">
  import ycabalCli from 'https://cdn.skypack.dev/@ycabal/cli';
</script>

README

ycabal

JSONRPC utility

oclif Version Downloads/week License

Usage

$ npm install -g @ycabal/cli
$ ycabal COMMAND
running command...
$ ycabal (-v|--version|version)
@ycabal/cli/0.0.0 darwin-x64 node-v14.15.5
$ ycabal --help [COMMAND]
USAGE
  $ ycabal COMMAND
...

Commands

ycabal autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ ycabal autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ ycabal autocomplete
  $ ycabal autocomplete bash
  $ ycabal autocomplete zsh
  $ ycabal autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

ycabal eth:accounts

Returns a list of addresses owned by client.

USAGE
  $ ycabal eth:accounts

OPTIONS
  -h, --help  show CLI help

DESCRIPTION
  Parameters: none

  Returns
  Array of DATA, 20 Bytes - addresses owned by the client.

ALIASES
  $ ycabal eth_accounts
  $ ycabal ethAccounts

EXAMPLE
  $ ycabal eth_accounts
  {
     "id":1,
     "jsonrpc": "2.0",
     "result": ["0xc94770007dda54cF92009BFF0dE90c06F603a09f"]
  }

See code: src/commands/eth/accounts.ts

ycabal eth:send-raw-transaction [FILE]

describe the command here

USAGE
  $ ycabal 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

ycabal eth:send-transaction [FILE]

describe the command here

USAGE
  $ ycabal 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

ycabal help [COMMAND]

display help for ycabal

USAGE
  $ ycabal help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

ycabal plugins

list installed plugins

USAGE
  $ ycabal plugins

OPTIONS
  --core  show core plugins

EXAMPLE
  $ ycabal plugins

See code: @oclif/plugin-plugins

ycabal plugins:install PLUGIN...

installs a plugin into the CLI

USAGE
  $ ycabal 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
  $ ycabal plugins:add

EXAMPLES
  $ ycabal plugins:install myplugin 
  $ ycabal plugins:install https://github.com/someuser/someplugin
  $ ycabal plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

ycabal plugins:link PLUGIN

links a plugin into the CLI for development

USAGE
  $ ycabal 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
  $ ycabal plugins:link myplugin

See code: @oclif/plugin-plugins

ycabal plugins:uninstall PLUGIN...

removes a plugin from the CLI

USAGE
  $ ycabal plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

ALIASES
  $ ycabal plugins:unlink
  $ ycabal plugins:remove

See code: @oclif/plugin-plugins

ycabal plugins:update

update installed plugins

USAGE
  $ ycabal plugins:update

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

See code: @oclif/plugin-plugins

ycabal repl [PROVIDER]

Interactive REPL

USAGE
  $ ycabal 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