aeternity / aepp-cli-js

Command line interface for the æternity blockchain
http://docs.aeternity.com/aepp-cli-js/
ISC License
7 stars 6 forks source link

update usage commands in docs #216

Closed marc0olo closed 2 years ago

marc0olo commented 2 years ago

they seem to be outdated right now.

following is printed on my end:

marc0olo@DESKTOP-B1QLEDL:~/git/aeternity/AEXs$ aecli help
Usage: aecli [options] [command]

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  config          Print the sdk default configuration
  chain           Interact with the blockchain
  inspect         Get information on transactions, blocks,...
  account         Handle wallet operations
  contract        Compile contracts
  name            AENS system
  tx              Transaction builder
  oracle          Interact with oracles
  crypto          Crypto helpers
  help [command]  display help for command
marc0olo commented 2 years ago

I think this could be sth. for hacktoberfest @davidyuk :D

davidyuk commented 2 years ago

Why do you think this is outdated? Basically, it is a list of cli modules with some description, you can request additional help for each of them, for example

./bin/aecli.mjs help crypto
Usage: aecli crypto [options] [command]

Options:
  -h, --help                     display help for command

Commands:
  decode <base58address>         Decodes base58 address to hex
  sign [options] <tx> [privkey]
  unpack <tx>
  help [command]                 display help for command
marc0olo commented 2 years ago

I was referring to the README file where it is outdated when I remember. can't 100% recall right now

davidyuk commented 2 years ago

got it, should be fixed in #217