New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@vtex/cli-plugin-infra

Package Overview
Dependencies
Maintainers
69
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex/cli-plugin-infra

vtex plugin infra

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
69
Created
Source

VTEX CLI Plugin Template

Extend the vtex toolbelt!

Developing

  • Clone vtex/toolbelt and follow the steps on the Contributing section.
  • Clone/Create a plugin with this template.
  • Change the template name under this project's package.json.
  • Run yarn link on this project.
  • Now run vtex link @vtex/cli-plugin-template (or the new name) on the vtex/toolbelt project.
  • Run yarn watch on the vtex/toolbelt
  • Test the command on a VTEX IO app with vtex-test hello

For more information, read Ocliff Docs.

oclif npm

Usage

$ npm install -g @vtex/cli-plugin-infra
$ vtex COMMAND
running command...
$ vtex (-v|--version|version)
@vtex/cli-plugin-infra/1.0.0 linux-x64 node-v12.22.1
$ vtex --help [COMMAND]
USAGE
  $ vtex COMMAND
...

Commands

vtex infra:install SERVICEID

Installs an infra service.

USAGE
  $ vtex infra:install SERVICEID

ARGUMENTS
  SERVICEID  Name and version of the service ({vendor}.{servicename}@{x.x.x}) to install.

OPTIONS
  -h, --help     show CLI help
  -v, --verbose  Show debug level logs
  --trace        Ensure all requests to VTEX IO are traced

EXAMPLES
  vtex infra install infra-service
  vtex infra install infra-service@0.0.1

See code: build/commands/infra/install.ts

vtex infra:list [NAME]

Lists installed infra services.

USAGE
  $ vtex infra:list [NAME]

ARGUMENTS
  NAME  Service name.

OPTIONS
  -a, --available      Lists services that are available to install.
  -f, --filter=filter  Lists services that contain the specified word.
  -h, --help           show CLI help
  -v, --verbose        Show debug level logs
  --trace              Ensure all requests to VTEX IO are traced

ALIASES
  $ vtex infra:ls

EXAMPLES
  vtex infra list
  vtex infra ls

See code: build/commands/infra/list.ts

vtex infra:update

Updates all installed infra services.

USAGE
  $ vtex infra:update

OPTIONS
  -h, --help     show CLI help
  -v, --verbose  Show debug level logs
  --trace        Ensure all requests to VTEX IO are traced

EXAMPLE
  vtex infra update

See code: build/commands/infra/update.ts

Keywords

oclif-plugin

FAQs

Package last updated on 12 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts