2.0.9 • Published 4 years ago

jsubmit v2.0.9

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Installation

  $ npm install --global c0d3

Login

  $ c0d3 login | l

Submit

  $ c0d3 submit | s

Logout

  $ c0d3 logout

Version

  $ c0d3 --version | -V

Help Menu

  $ c0d3 help

Contributing

CLI options:

  • c0d3 submit:

    • --url "http://YOUR_DEV_SERVER" To point to another graphQL endpoint
    • --debug | -d To use a test account token instead of you personnal account
  • c0d3 login:

    • --url "http://YOUR_DEV_SERVER" To point to another graphQL endpoint

Paradigme:

  • Error handeling: For a sweet user experience do not throw raw error instead throw a comprehensible message.
  try {
    // ...code
  } catch {
    throw new Error(MY_USER_FRIENDLY_MESSAGE)
  }

License

MIT