pliancy-cli
Pliancy CLI
Last updated 5 days ago by zenion .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pliancy-cli 
SYNC missed versions from official npm registry.

pliancy-cli

Pliancy CLI

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g pliancy-cli
$ pliancy-cli COMMAND
running command...
$ pliancy-cli (-v|--version|version)
pliancy-cli/2.1.3 darwin-x64 node-v10.16.0
$ pliancy-cli --help [COMMAND]
USAGE
  $ pliancy-cli COMMAND
...

Commands

pliancy-cli appcatalog:add APPID PERMISSIONS [DESCRIPTION]

create an app in the catalog

USAGE
  $ pliancy-cli appcatalog:add APPID PERMISSIONS [DESCRIPTION]

ARGUMENTS
  APPID        the pliancy appId to create
  PERMISSIONS  one or more comma seperated permission levels
  DESCRIPTION  optional description for the app

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli appcatalog:add OFFICE365 E3,EOP1 "a good 365 app"
  { App JSON Object }

See code: src/commands/appcatalog/add.ts

pliancy-cli appcatalog:get [APPID]

get all/one app(s)

USAGE
  $ pliancy-cli appcatalog:get [APPID]

ARGUMENTS
  APPID  the pliancy appId to find

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli appcatalog:get OFFICE365
  { App JSON Object }

See code: src/commands/appcatalog/get.ts

pliancy-cli appcatalog:remove APPID

remove an app from the catalog

USAGE
  $ pliancy-cli appcatalog:remove APPID

ARGUMENTS
  APPID  the pliancy appId to remove

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli appcatalog:remove MYBADAPP
  { App JSON Object }

See code: src/commands/appcatalog/remove.ts

pliancy-cli auth:get TYPE

Get current auth information

USAGE
  $ pliancy-cli auth:get TYPE

ARGUMENTS
  TYPE  (apikey|saml) type of auth to get

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

See code: src/commands/auth/get.ts

pliancy-cli auth:set TYPE

Authenticate with the Pliancy API

USAGE
  $ pliancy-cli auth:set TYPE

ARGUMENTS
  TYPE  (apikey|saml) type of auth to setup

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

See code: src/commands/auth/set.ts

pliancy-cli conf [KEY] [VALUE]

manage configuration

USAGE
  $ pliancy-cli conf [KEY] [VALUE]

ARGUMENTS
  KEY    key of the config
  VALUE  value of the config

OPTIONS
  -d, --cwd=cwd          config file location
  -d, --delete           delete?
  -h, --help             show CLI help
  -k, --key=key          key of the config
  -n, --name=name        config file name
  -p, --project=project  project name
  -v, --value=value      value of the config

See code: conf-cli

pliancy-cli customers:activation CUSTOMERID

send activations for a customer

USAGE
  $ pliancy-cli customers:activation CUSTOMERID

ARGUMENTS
  CUSTOMERID  the pliancy customerId to send activations to

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli customers:activation ABC
  { User JSON Object }

See code: src/commands/customers/activation.ts

pliancy-cli customers:add CUSTOMERID NAME PRIMARYDOMAIN

create a customer

USAGE
  $ pliancy-cli customers:add CUSTOMERID NAME PRIMARYDOMAIN

ARGUMENTS
  CUSTOMERID     the customerId for the new customer
  NAME           the friendly name for the customer
  PRIMARYDOMAIN  The primary dns domain for the customer

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli customers:add LIV "Lorem Ipsum Ventures" loremipsumventures.com
  { Customer JSON Object }

See code: src/commands/customers/add.ts

pliancy-cli customers:get [CUSTOMERID]

get all/one customers

USAGE
  $ pliancy-cli customers:get [CUSTOMERID]

ARGUMENTS
  CUSTOMERID  the pliancy customerId to find

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli customers:get ABC
  { Customer JSON Object }

See code: src/commands/customers/get.ts

pliancy-cli customers:remove CUSTOMERID

remove a customer

USAGE
  $ pliancy-cli customers:remove CUSTOMERID

ARGUMENTS
  CUSTOMERID  the customerId for the new customer

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli customers:remove LIV

See code: src/commands/customers/remove.ts

pliancy-cli help [COMMAND]

display help for pliancy-cli

USAGE
  $ pliancy-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

pliancy-cli permissions:get [CUSTOMERID]

get all permissions (with optional customer filter)

USAGE
  $ pliancy-cli permissions:get [CUSTOMERID]

ARGUMENTS
  CUSTOMERID  the pliancy customerId or userId to get permissions for

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli permissions:get ABC
  { User JSON Object }

See code: src/commands/permissions/get.ts

pliancy-cli permissions:remove CUSTOMERID USERID

Remove a permission from a customer

USAGE
  $ pliancy-cli permissions:remove CUSTOMERID USERID

ARGUMENTS
  CUSTOMERID  the customer to apply permission to
  USERID      the user to get the permission

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli permissions:remove ABC user@abc.com
  { User JSON Object }

See code: src/commands/permissions/remove.ts

pliancy-cli permissions:set CUSTOMERID USERID PERMISSIONLEVEL

Set a permission on a customer

USAGE
  $ pliancy-cli permissions:set CUSTOMERID USERID PERMISSIONLEVEL

ARGUMENTS
  CUSTOMERID       the customer to apply permission to
  USERID           the user to get the permission
  PERMISSIONLEVEL  (FULL|USER|READ) the permission level the user gets

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -f, --force                   bypass confirmation (BE CAREFUL!)
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli permissions:set ABC josh@pliancy.com
  { User JSON Object }

See code: src/commands/permissions/set.ts

pliancy-cli users:activation USERID [SENDTOADDRESS]

send activation for a user

USAGE
  $ pliancy-cli users:activation USERID [SENDTOADDRESS]

ARGUMENTS
  USERID         the pliancy userId to find
  SENDTOADDRESS  optional address to send to (will send to primary email otherwise)

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -f, --force                   bypass confirmation (BE CAREFUL!)
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli users:activation josh@pliancy.com
  { User JSON Object }

See code: src/commands/users/activation.ts

pliancy-cli users:add CUSTOMERID [USERID] [NAME]

create a user

USAGE
  $ pliancy-cli users:add CUSTOMERID [USERID] [NAME]

ARGUMENTS
  CUSTOMERID  the customerId to create the user in
  USERID      the userId of the user
  NAME        the full name of the user

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help
  --from-csv=./example.csv      CSV file path to import users from

EXAMPLE
  $ pliancy-cli users:add LIV user@loremipsumventures.com "Cool Guy"
  { User JSON Object }

See code: src/commands/users/add.ts

pliancy-cli users:get [USERID]

get all/one user(s)

USAGE
  $ pliancy-cli users:get [USERID]

ARGUMENTS
  USERID  the pliancy userId to find

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli users:get josh@pliancy.com
  { User JSON Object }

See code: src/commands/users/get.ts

pliancy-cli users:mfa:get USERID

get mfa status for a user

USAGE
  $ pliancy-cli users:mfa:get USERID

ARGUMENTS
  USERID  the pliancy userId to find

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli users:mfa:get josh@pliancy.com
  { User JSON Object }

See code: src/commands/users/mfa/get.ts

pliancy-cli users:mfa:get-bypasscodes USERID [VALIDFOR]

get mfa status for a user

USAGE
  $ pliancy-cli users:mfa:get-bypasscodes USERID [VALIDFOR]

ARGUMENTS
  USERID    the pliancy userId to get bypass code for
  VALIDFOR  [default: 900] How long in seconds code will last

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli users:mfa:get-bypasscodes josh@pliancy.com
  { User JSON Object }

See code: src/commands/users/mfa/get-bypasscodes.ts

pliancy-cli users:mfa:set USERID STATE

get mfa status for a user

USAGE
  $ pliancy-cli users:mfa:set USERID STATE

ARGUMENTS
  USERID  the pliancy userId to change MFA state of
  STATE   (ACTIVE|BYPASS) the MFA state to set

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help

EXAMPLE
  $ pliancy-cli users:mfa:set josh@pliancy.com BYPASS
  { User JSON Object }

See code: src/commands/users/mfa/set.ts

pliancy-cli users:password USERID

set a password for a user

USAGE
  $ pliancy-cli users:password USERID

ARGUMENTS
  USERID  the userId of the user

OPTIONS
  -C, --csv                     output in csv format
  -J, --json                    output in json format
  -S, --server=api.example.com  [default: api.pliancy.com] server to use
  -Y, --yaml                    output in yaml format
  -h, --help                    show CLI help
  -t, --temp                    set a random temp password and require change on next login

EXAMPLE
  $ pliancy-cli users:password user@loremipsumventures.com
  { User JSON Object }

See code: src/commands/users/password.ts

Current Tags

  • 2.1.3                                ...           latest (5 days ago)

17 Versions

  • 2.1.3                                ...           5 days ago
  • 2.1.2                                ...           a month ago
  • 2.1.1                                ...           a month ago
  • 2.1.0                                ...           a month ago
  • 2.0.14                                ...           a month ago
  • 2.0.13                                ...           a month ago
  • 2.0.12                                ...           a month ago
  • 2.0.11                                ...           a month ago
  • 2.0.9                                ...           2 months ago
  • 2.0.8                                ...           2 months ago
  • 2.0.7                                ...           2 months ago
  • 2.0.6                                ...           2 months ago
  • 2.0.5                                ...           2 months ago
  • 2.0.4                                ...           2 months ago
  • 2.0.3                                ...           2 months ago
  • 2.0.2                                ...           2 months ago
  • 2.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 36
Last Day 0
Last Week 31
Last Month 246
Dependencies (18)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |