JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q65572F
  • License MIT

Commerce Layer CLI

Package Exports

  • @commercelayer/commercelayer-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@commercelayer/commercelayer-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

commercelayer-cli-new

Commerce Layer CLI

oclif Version Downloads/week License

Usage

$ npm install -g @commercelayer/commercelayer-cli
$ commercelayer COMMAND
running command...
$ commercelayer (-v|--version|version)
@commercelayer/commercelayer-cli/0.0.14 darwin-x64 node-v15.13.0
$ commercelayer --help [COMMAND]
USAGE
  $ commercelayer COMMAND
...

Commands

commercelayer applications:current

set or show the current CLI application

USAGE
  $ commercelayer applications:current

OPTIONS
  -o, --organization=organization  organization slug
  --live                           live execution mode

ALIASES
  $ commercelayer app:current

See code: src/commands/applications/current.ts

commercelayer applications:list

show a list of all (logged in) available CLI applications

USAGE
  $ commercelayer applications:list

ALIASES
  $ commercelayer app:list

See code: src/commands/applications/list.ts

commercelayer applications:login

perform CLI login to Commerce Layer

USAGE
  $ commercelayer applications:login

OPTIONS
  -i, --clientId=clientId          (required) organization client_id
  -o, --organization=organization  (required) organization slug
  -s, --clientSecret=clientSecret  (required) organization client_secret

ALIASES
  $ commercelayer app:login

See code: src/commands/applications/login.ts

commercelayer applications:token

get new access_token from Commerce Layer

USAGE
  $ commercelayer applications:token

OPTIONS
  -o, --organization=organization  (required) [default: brioni] organization slug
  -s, --save                       save access_token
  --live                           live execution mode

ALIASES
  $ commercelayer app:token

See code: src/commands/applications/token.ts

commercelayer help [COMMAND]

display help for commercelayer

USAGE
  $ commercelayer help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

commercelayer plugins

list installed plugins

USAGE
  $ commercelayer plugins

OPTIONS
  --core  show core plugins

EXAMPLE
  $ commercelayer plugins

See code: @oclif/plugin-plugins

commercelayer plugins:available

shows all available Commerce Layer plugins

USAGE
  $ commercelayer plugins:available

See code: src/commands/plugins/available.ts

commercelayer plugins:inspect PLUGIN...

displays installation properties of a plugin

USAGE
  $ commercelayer plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN  [default: .] plugin to inspect

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

EXAMPLE
  $ commercelayer plugins:inspect myplugin

See code: @oclif/plugin-plugins

commercelayer plugins:install PLUGIN...

installs a plugin into the CLI

USAGE
  $ commercelayer plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  plugin to install

OPTIONS
  -f, --force    yarn install with force flag
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command 
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in 
  the CLI without the need to patch and update the whole CLI.

ALIASES
  $ commercelayer plugins:add

EXAMPLES
  $ commercelayer plugins:install myplugin 
  $ commercelayer plugins:install https://github.com/someuser/someplugin
  $ commercelayer plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

links a plugin into the CLI for development

USAGE
  $ commercelayer plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' 
  command will override the user-installed or core plugin implementation. This is useful for development work.

EXAMPLE
  $ commercelayer plugins:link myplugin

See code: @oclif/plugin-plugins

commercelayer plugins:uninstall PLUGIN...

removes a plugin from the CLI

USAGE
  $ commercelayer plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

ALIASES
  $ commercelayer plugins:unlink
  $ commercelayer plugins:remove

See code: @oclif/plugin-plugins

commercelayer plugins:update

update installed plugins

USAGE
  $ commercelayer plugins:update

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

See code: @oclif/plugin-plugins