/defi-cli

CLI to interact and deploy popular Ethereum DeFi DApps

Primary LanguageTypeScript

defi

CLI to interact and deploy popular Ethereum DeFi DApps

oclif Version Downloads/week License

Usage

$ npm install -g defi
$ defi COMMAND
running command...
$ defi (-v|--version|version)
defi/0.0.1 linux-x64 node-v10.22.0
$ defi --help [COMMAND]
USAGE
  $ defi COMMAND
...

Commands

defi chainlink [FILE]

Chainlink CLI

USAGE
  $ defi chainlink [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/chainlink.ts

defi config ITEM SUBCOMMAND

Configure DeFi CLI

USAGE
  $ defi config ITEM SUBCOMMAND

OPTIONS
  -h, --help  show CLI help
  --all       view full config
  --default   set default config

EXAMPLES
  $ defi config session set
  $ defi config accounts view
  $ defi config uniswap view

See code: src/commands/config.ts

defi eth SUBCOMMAND

Send and View Eth balance

USAGE
  $ defi eth SUBCOMMAND

OPTIONS
  -h, --help  show CLI help

See code: src/commands/eth.ts

defi hello [FILE]

describe the command here

USAGE
  $ defi hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ defi hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

defi help [COMMAND]

display help for defi

USAGE
  $ defi help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

defi tokens TOKEN SUBCOMMAND

Interact with ERC20 Tokens

USAGE
  $ defi tokens TOKEN SUBCOMMAND

OPTIONS
  -h, --help  show CLI help

See code: src/commands/tokens.ts

defi uniswap [FILE]

Uniswap CLI

USAGE
  $ defi uniswap [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/uniswap.ts