2.3.4 • Published 2 years ago
c0d3 v2.3.4
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)
}
Publishing
- Update
package.json
version. - run
npm run build
- Publish!
npm publish
Must be done in the order above (specifically, build then publish) because build produces a package.json inside the dist
folder, which is used for upgrade checks
License
MIT
2.3.4
2 years ago
2.3.3
2 years ago
2.3.0
2 years ago
2.3.2
2 years ago
2.3.1
2 years ago
2.2.9
2 years ago
2.2.8
2 years ago
2.2.5
2 years ago
2.2.7
2 years ago
2.2.6
2 years ago
2.2.4
2 years ago
2.1.4
3 years ago
2.1.3
3 years ago
2.1.2
3 years ago
2.1.1
3 years ago
2.1.0
3 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.4.2
5 years ago
1.4.1
5 years ago
1.3.1
5 years ago
1.2.1
5 years ago
1.1.1
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago