🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@cuser/cli

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuser/cli

command line interface

latest
npmnpm
Version
0.0.36
Version published
Weekly downloads
4
-60%
Maintainers
1
Weekly downloads
 
Created
Source

cuser logo

@cuser/cli

Status

codecov npm npm-downloads

cuser topic

Usage: cuser topic <name>

Positionals:
  name  The name of the topic, consider use a unique name to prevent collisions  [string] [required]

Options:
  --help     Show help  [boolean]
  --version  Show version number  [boolean]
  --token    cuser token provided by @cuser/server  [string] [required]

Examples:
  cuser topic <name> --token <cuser_token>  creates a topic identifier

copyright 2020

cuser serve

Usage: cuser serve [options]
- To enable/disable capabitlities, use --<option>/--no-<options>

Options:
      --help               Show help                                   [boolean]
      --version            Show version number                         [boolean]
  -v, --verbose            Run with verbose logging   [boolean] [default: false]
  -m, --mount              Enpoint mount           [string] [default: "/api/v0"]
  -p, --port               Run server with custom port  [number] [default: 3000]
  -h, --host               Run server with custom host
                                                 [string] [default: "127.0.0.1"]
  -c, --cors               Enable cross-origin resource sharing
                                                      [boolean] [default: false]
      --rest               Enable the api rest         [boolean] [default: true]
      --rest-ui            Enable swagger-ui           [boolean] [default: true]
      --rest-reader        Enable reader              [boolean] [default: false]
      --rest-publisher     Enable publisher            [boolean] [default: true]
      --rest-mount         Endpoint mount            [string] [default: "/rest"]
      --graphql            Enable the api graphql                      [boolean]
      --graphql-ui         Enable graphiql             [boolean] [default: true]
      --graphql-reader     Enable reader              [boolean] [default: false]
      --graphql-publisher  Enable publisher            [boolean] [default: true]
      --graphql-mount      Endpoint mount             [string] [default: "/gql"]
      --ipfs-repo          Repo directory
                                   [string] [default: "$HOME/cuser"]

Examples:
  cuser serve --no-rest  starts the server without the restfull api, any
                            option with the prefix --rest will be ignored

copyright 2020

FAQs

Package last updated on 24 Dec 2020

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