1.0.17 • Published 2 years ago

@vtex/vtexioutils v1.0.17

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

IO Utils CLI

Installation

yarn global add @vtex/vtexioutils

It will be available via the ioutils command.

oclif Version Downloads/week License

Usage

$ npm install -g @vtex/vtexioutils
$ ioutils COMMAND
running command...
$ ioutils (-v|--version|version)
@vtex/vtexioutils/1.0.0 darwin-x64 node-v16.2.0
$ ioutils --help [COMMAND]
USAGE
  $ ioutils COMMAND
...

Commands

ioutils app-whitelist {{vendor.app}} {{action}}

Allow or deny a whitelist request

USAGE
  $ ioutils app-whitelist {{vendor.app}} {{action}}

OPTIONS
  -v, --verbose

EXAMPLES
  $ ioutils app-whitelist vtex.service-example allow
  $ ioutils app-whitelist vtex.service-example deny

See code: src/commands/app-whitelist.ts

ioutils copy-content-workspace

describe the command here

USAGE
  $ ioutils copy-content-workspace

OPTIONS
  -a, --account=account            (required)
  -h, --help                       show CLI help
  -n, --newWorkspace=newWorkspace  (required) New workspace name
  -o, --oldWorkspace=oldWorkspace  (required) Old workspace name

ALIASES
  $ ioutils content:copy

EXAMPLES
  $ ioutils copy-content-workspace --account=appliancetheme --oldWorkspace=assemblers --newWorkspace=assemblers
  $ ioutils copy-content-workspace -a appliancetheme -o assemblers -n savio

See code: src/commands/copy-content-workspace.ts

ioutils help [COMMAND]

display help for ioutils

USAGE
  $ ioutils help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

ioutils migrate-content-app

describe the command here

USAGE
  $ ioutils migrate-content-app

OPTIONS
  -a, --account=account      (required)
  -h, --help                 show CLI help
  -n, --newApp=newApp        (required) New app name
  -o, --oldApp=oldApp        (required) Old app name
  -w, --workspace=workspace  (required)

ALIASES
  $ ioutils content:copy

EXAMPLES
  $ ioutils migrate-content-app --account=appliancetheme --workspace=assemblers --oldApp=vtex.my-theme@0.x 
  --newApp=vtex.my-theme@1.x
  $ ioutils migrate-content-app -a appliancetheme -w assemblers -o vtex.store-theme@0.x -n vtex.store-theme@1.x

See code: src/commands/migrate-content-app.ts