Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

c0d3

Package Overview
Dependencies
Maintainers
6
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c0d3

Command Line Interface (CLI) for c0d3.com

  • 2.2.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
6
Weekly downloads
 
Created
Source


c0d3.com

A command line tool for c0d3.com challenge submissions.

Installation | Login | Submit | Logout | Contributing | License

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

  1. Update package.json version.
  2. run npm run build
  3. 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

Keywords

FAQs

Package last updated on 10 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc