@wearableintelligence/test-flow-cli

0.0.9 • Public • Published

test-flow-cli

parsable-cli plugin to test CI/CD for CLI

oclif Version Downloads/week License

Usage

$ npm install -g @wearableintelligence/test-flow-cli
$ parsable-cli COMMAND
running command...
$ parsable-cli (-v|--version|version)
@wearableintelligence/test-flow-cli/0.0.9 darwin-x64 node-v14.15.0
$ parsable-cli --help [COMMAND]
USAGE
  $ parsable-cli COMMAND
...

Commands

parsable-cli report:retention:get

Fetch a retention policy for analytics reports

USAGE
  $ parsable-cli report:retention:get

OPTIONS
  -t, --teamId=teamId     Team ID or subdomain the request is for
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format

DESCRIPTION
  ...
  Fetch a retention policy for analytics reports by Team ID or Subdomain.

ALIASES
  $ parsable-cli report:retention:get
  $ parsable-cli report:retention:show
  $ parsable-cli report:retention:info

EXAMPLES
  parsable-cli report:retention:get -t best-team
  parsable-cli report:retention:show -t 767d94cd-2c48-455a-9da3-7f608c51f5f5

parsable-cli report:retention:set TTL [UNIT]

Set/change/delete a retention policy for analytics reports

USAGE
  $ parsable-cli report:retention:set TTL [UNIT]

ARGUMENTS
  TTL   ttl (digit), -1 to turn off retention policy
  UNIT  (min|hours|days) [default: DAYS] unit of ttl

OPTIONS
  -t, --teamId=teamId  Team ID or subdomain the request is for

DESCRIPTION
  ...
  Set/change/delete a retention policy for analytics reports by Team ID or Subdomain.

EXAMPLES
  parsable-cli report:retention:set -t best-team 10
  parsable-cli report:retention:set -t best-team 10 days
  parsable-cli report:retention:set -t 767d94cd-2c48-455a-9da3-7f608c51f5f5 -1

parsable-cli report:upload:delete

Delete an existed and disabled schedule for uploading

USAGE
  $ parsable-cli report:upload:delete

OPTIONS
  -t, --teamId=teamId  Team ID or subdomain the request is for

DESCRIPTION
  ...
  Delete an existed and disabled schedule for uploading analytic report for certain team by Team ID or Subdomain.

EXAMPLES
  parsable-cli report:upload:delete
  parsable-cli report:upload:delete -t best-team 
  parsable-cli report:upload:delete -t 767d94cd-2c48-455a-9da3-7f608c51f5f5

parsable-cli report:upload:enable MODE

Enable/disable a configured schedule for uploading

USAGE
  $ parsable-cli report:upload:enable MODE

ARGUMENTS
  MODE  (on|off) "on" for turn schedule on, "off" for turn it off

OPTIONS
  -t, --teamId=teamId  Team ID or subdomain the request is for

DESCRIPTION
  ...
  Enable/disable a configured schedule for uploading analytic report for certain team by Team ID or Subdomain.

EXAMPLES
  parsable-cli report:upload:enable on
  parsable-cli report:upload:enable -t best-team off
  parsable-cli report:upload:enable -t 767d94cd-2c48-455a-9da3-7f608c51f5f5 on

parsable-cli report:upload:get

Fetch schedule of uploading

USAGE
  $ parsable-cli report:upload:get

OPTIONS
  -a, --all               Request all available schedules for all teams.
  -t, --teamId=teamId     Team ID or subdomain the request is for
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: --filter "Interval (min)"=123
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

DESCRIPTION
  ...
  Fetch available schedule of uploading by Team ID or Subdomain.
  Or fetch all schedules available for all teams. Last action requires a super admin role.

ALIASES
  $ parsable-cli report:upload:get
  $ parsable-cli report:upload:show
  $ parsable-cli report:upload:info

EXAMPLES
  parsable-cli report:upload:get
  parsable-cli report:upload:get -a
  parsable-cli report:upload:get -t best-team
  parsable-cli report:upload:show -t 767d94cd-2c48-455a-9da3-7f608c51f5f5

parsable-cli report:upload:set

Create/update a schedule for uploading

USAGE
  $ parsable-cli report:upload:set

OPTIONS
  -t, --teamId=teamId  Team ID or subdomain the request is for

DESCRIPTION
  ...
  Create/update a schedule for uploading analytic report for certain team by Team ID or Subdomain.
  When try to update active existed trigger it should be stopped first.
  Command runs in interactive mode.

EXAMPLES
  parsable-cli report:upload:set
  parsable-cli report:upload:set -t best-team
  parsable-cli report:upload:set -t 767d94cd-2c48-455a-9da3-7f608c51f5f5

parsable-cli report:upload:test

Test data uploading on demand

USAGE
  $ parsable-cli report:upload:test

OPTIONS
  -p, --usePipeline    Use pipeline
  -t, --teamId=teamId  Team ID or subdomain the request is for

DESCRIPTION
  ...
  Test data uploading on demand for predefined upload directory for certain team by Team ID or Subdomain.
  Command to create a test file and try to upload it to the customer directory.
  Return file name to lookup or return errors if exists. 
  Before using this command make sure there is a predefined uploading configuration for team: 
       command parsable-cli report:upload:get -t teamId

EXAMPLES
  parsable-cli report:upload:test
  parsable-cli report:upload:test -t best-team
  parsable-cli report:upload:test -t 767d94cd-2c48-455a-9da3-7f608c51f5f5
  parsable-cli report:upload:test -p

Readme

Keywords

none

Package Sidebar

Install

npm i @wearableintelligence/test-flow-cli

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

47.7 kB

Total Files

15

Last publish

Collaborators

  • wearableintelligence