@sermas/cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.16 • Public • Published

SERMAS CLI

The readme is in progress. Please open an issue to report a problem or ask anything

The SERMAS CLI is designed to interface with the API for management tasks.

Usage

# help
sermas-cli -h

# login
sermas-cli auth login

development

add autocompletion

# in ~/.bashrc

alias sermas-cli='cd <sermas-cli path>/cli && ./cli-local.sh'
_sermas_completion()
{
    local cur=${COMP_WORDS[COMP_CWORD]}
    local opts=$(sermas completion "${COMP_CWORD}" $@)
    COMPREPLY=( $(compgen -W "${opts}" -- $cur) )
}
complete -F _sermas_completion sermas

License

Apache-2.0

Readme

Keywords

none

Package Sidebar

Install

npm i @sermas/cli

Weekly Downloads

7

Version

1.0.0-alpha.16

License

Apache-2.0

Unpacked Size

350 kB

Total Files

94

Last publish

Collaborators

  • lcspxl