evently-cloud / cli

Evently Command-Line Interface
Apache License 2.0
1 stars 0 forks source link

Some start-up questions #8

Closed evert closed 1 year ago

evert commented 1 year ago

Hey!

Trying to get the current CLI tool to work but running into some issues, and want to make sure there's not something fundamentally wrong with my setup.

$ ./bin/run

Evently.cloud CLI tools to develop applications and manage your ledgers.

VERSION
  evently-cli/0.0.1 linux-x64 node-v18.15.0

USAGE
  $ evently [COMMAND]

COMMANDS
  commands  list all the commands
  help      Display help for evently.
  update    update the evently CLI

Note that there's no mention here of a 'ledger' command. Running this:

$ /bin/run ledger
Ledger commands

USAGE
  $ evently ledger:COMMAND

Note that there's no commands registered, and I can't run either of these:

./bin/run ledger:download

 ›   Warning: ledger:download is not a evently command.
Did you mean help? [y/n]:
 ›   Error: Run evently help ledger for a list of available commands.

The docs in the code suggest ./bin/run ledger download but that also doesn't work:

  static examples = [
    `$ evently ledger download
Validated 13,438 ledger events.
`]

Just want to make sure I'm not missing something obvious before I pull this apart ;)

evert commented 1 year ago

I needed to run npm run build