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

admin-cli

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-cli

Simple command line tool to help with the installation and running of Adhara components

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

admin-cli

Simple command line tool to help with the installation and running of Adhara components

oclif Version

Appveyor CI Codecov Downloads/week License

Usage

After cloning/installing the tool, running any command (for ex. ./bin/run --help or adhara --help) once will create a configuration template in ~/.config/adhara/config.json if it does not yet exist. You will probably need to edit this (update the installation dir values) to get any of the commands to work. You can point to any other configuration file by setting the ADHARA_CONFIG environment variable.

$ npm install -g admin-cli
$ adhara COMMAND
running command...
$ adhara (-v|--version|version)
admin-cli/0.0.2 linux-x64 node-v8.11.3
$ adhara --help [COMMAND]
USAGE
  $ adhara COMMAND
...

Commands

adhara help [COMMAND]

display help for adhara

USAGE
  $ adhara help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

adhara kill [COMPONENT]

Stop and delete one or more processes running in pm2. This is equivalent to 'pm2 delete '.

USAGE
  $ adhara kill [COMPONENT]

ARGUMENTS
  COMPONENT  (all|blockchain-proxy|cbs-proxy|token-proxy|cash-tokenizer) [default: all] component to run command against

OPTIONS
  -d, --dependencies
  --version           show CLI version

DESCRIPTION
  ...
  (extra doc)

See code: src/commands/kill.js

adhara list

List all the processes running in pm2. This is equivalent to 'pm2 list'.

USAGE
  $ adhara list

OPTIONS
  --version  show CLI version

DESCRIPTION
  ...
  (extra doc)

See code: src/commands/list.js

adhara start [COMPONENT]

Start one or more processes using pm2.

USAGE
  $ adhara start [COMPONENT]

ARGUMENTS
  COMPONENT  (all|blockchain-proxy|cbs-proxy|token-proxy|cash-tokenizer) [default: all] component to run command against

OPTIONS
  -c, --config=local  configuration to use
  -d, --dependencies
  --version           show CLI version

DESCRIPTION
  ...
  (extra doc)

See code: src/commands/start.js

adhara status [COMPONENT]

Report on the repository status of one or more components. This is equivalent to 'git status'.

USAGE
  $ adhara status [COMPONENT]

ARGUMENTS
  COMPONENT  (all|blockchain-proxy|cbs-proxy|token-proxy|cash-tokenizer) [default: all] component to run command against

OPTIONS
  -d, --dependencies
  --version           show CLI version

DESCRIPTION
  ...
  (extra doc)

See code: src/commands/status.js

adhara stop [COMPONENT]

Stop one or more processes running in pm2.

USAGE
  $ adhara stop [COMPONENT]

ARGUMENTS
  COMPONENT  (all|blockchain-proxy|cbs-proxy|token-proxy|cash-tokenizer) [default: all] component to run command against

OPTIONS
  -d, --dependencies
  --version           show CLI version

DESCRIPTION
  ...
  (extra doc)

See code: src/commands/stop.js

Keywords

FAQs

Package last updated on 13 Aug 2018

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