@vue-storefront/cli
TypeScript icon, indicating that this package has built-in type declarations

6.0.2 • Public • Published

Alokai CLI

Usage

To create a new Alokai project, use the following command:

npx @vue-storefront/cli generate store

To generate a new template project from the integration source code, use the following command:

npx @vue-storefront/cli generate template

Commands

@vue-storefront/cli add [COMMANDARG] [ENDPOINT]

Create new endpoint boilerplate code

USAGE
  $ @vue-storefront/cli add [COMMANDARG] [ENDPOINT]

ARGUMENTS
  COMMANDARG  Name of the command
  ENDPOINT    Name of the endpoint

DESCRIPTION
  Create new endpoint boilerplate code

EXAMPLES
  $ @vue-storefront/cli add <command> <endpoint>

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

@vue-storefront/cli add endpoint [NAME]

Create new endpoint boilerplate code

USAGE
  $ @vue-storefront/cli add endpoint [NAME]

ARGUMENTS
  NAME  Name of the endpoint

DESCRIPTION
  Create new endpoint boilerplate code

EXAMPLES
  $ @vue-storefront/cli add endpoint

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

@vue-storefront/cli create [COMMANDNAME] [INTEGRATIONNAME]

Generate integration boilerplate

USAGE
  $ @vue-storefront/cli create [COMMANDNAME] [INTEGRATIONNAME] [-t nuxt|next]

FLAGS
  -t, --framework=<option>  Framework to use
                            <options: nuxt|next>

DESCRIPTION
  Generate integration boilerplate

EXAMPLES
  $ @vue-storefront/cli create

See code: src/commands/create/index.ts

@vue-storefront/cli create integration [NAME]

Generate integration boilerplate

USAGE
  $ @vue-storefront/cli create integration [NAME] [-t nuxt|next]

FLAGS
  -t, --framework=<option>  Framework to use
                            <options: nuxt|next>

DESCRIPTION
  Generate integration boilerplate

EXAMPLES
  $ @vue-storefront/cli create integration

See code: src/commands/create/integration.ts

@vue-storefront/cli help [COMMANDS]

Display help for @vue-storefront/cli.

USAGE
  $ @vue-storefront/cli help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for @vue-storefront/cli.

See code: @oclif/plugin-help

@vue-storefront/cli plugins

List installed plugins.

USAGE
  $ @vue-storefront/cli plugins [--core]

FLAGS
  --core  Show core plugins.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ @vue-storefront/cli plugins

See code: @oclif/plugin-plugins

@vue-storefront/cli plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ @vue-storefront/cli plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Installs a plugin into the CLI.
  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
  $ @vue-storefront/cli plugins add

EXAMPLES
  $ @vue-storefront/cli plugins:install myplugin 

  $ @vue-storefront/cli plugins:install https://github.com/someuser/someplugin

  $ @vue-storefront/cli plugins:install someuser/someplugin

@vue-storefront/cli plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ @vue-storefront/cli plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN  [default: .] Plugin to inspect.

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Displays installation properties of a plugin.

EXAMPLES
  $ @vue-storefront/cli plugins:inspect myplugin

See code: @oclif/plugin-plugins

@vue-storefront/cli plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ @vue-storefront/cli plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Installs a plugin into the CLI.
  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
  $ @vue-storefront/cli plugins add

EXAMPLES
  $ @vue-storefront/cli plugins:install myplugin 

  $ @vue-storefront/cli plugins:install https://github.com/someuser/someplugin

  $ @vue-storefront/cli plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

@vue-storefront/cli plugins:link PLUGIN

Links a plugin into the CLI for development.

USAGE
  $ @vue-storefront/cli plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Links a plugin into the CLI for development.
  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.


EXAMPLES
  $ @vue-storefront/cli plugins:link myplugin

See code: @oclif/plugin-plugins

@vue-storefront/cli plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ @vue-storefront/cli plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ @vue-storefront/cli plugins unlink
  $ @vue-storefront/cli plugins remove

@vue-storefront/cli plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ @vue-storefront/cli plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ @vue-storefront/cli plugins unlink
  $ @vue-storefront/cli plugins remove

See code: @oclif/plugin-plugins

@vue-storefront/cli plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ @vue-storefront/cli plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ @vue-storefront/cli plugins unlink
  $ @vue-storefront/cli plugins remove

@vue-storefront/cli plugins update

Update installed plugins.

USAGE
  $ @vue-storefront/cli plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

See code: @oclif/plugin-plugins

@vue-storefront/cli update [CHANNEL]

update the @vue-storefront/cli CLI

USAGE
  $ @vue-storefront/cli update [CHANNEL] [-a] [-v <value> | -i] [--force]

FLAGS
  -a, --available        Install a specific version.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
  --force                Force a re-download of the requested version.

DESCRIPTION
  update the @vue-storefront/cli CLI

EXAMPLES
  Update to the stable channel:

    $ @vue-storefront/cli update stable

  Update to a specific version:

    $ @vue-storefront/cli update --version 1.0.0

  Interactively select version:

    $ @vue-storefront/cli update --interactive

  See available versions:

    $ @vue-storefront/cli update --available

See code: @oclif/plugin-update

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.4.10rc
6.0.238latest
4.4.21next

Version History

VersionDownloads (Last 7 Days)Published
6.0.238
6.0.11
6.0.01
5.0.02
4.5.05
4.4.21
4.4.10
4.4.00
4.3.00
4.3.0-rc.50
4.3.0-rc.40
4.3.0-rc.30
4.3.0-rc.20
4.3.0-rc.10
4.2.20
4.2.2-rc.10
4.2.10
4.2.00
4.2.1-rc.10
4.2.1-rc.00
4.1.40
4.1.3-rc.31
4.1.3-rc.20
4.1.3-rc.10
4.1.30
4.1.20
4.1.1-next.00
4.1.1-rc.20
4.1.1-rc.10
4.1.10
4.1.00
4.0.73
4.0.60
4.0.50
4.0.40
4.0.30
4.0.20
4.0.10
4.0.00
3.0.11
3.0.01
2.4.11
2.4.00
2.3.12145
2.3.110
2.3.100
2.3.90
2.3.80
2.3.70
2.3.60
2.3.50
2.3.40
2.3.30
2.3.20
2.3.10
2.3.00
2.3.0-rc.30
2.3.0-rc.20
2.2.30
2.2.20
2.2.11
2.2.00
2.1.1-rc.10
2.1.0-rc.10
2.0.90
2.0.80
2.0.70
2.0.60
2.0.50
2.0.40
2.0.30
2.0.20
2.0.10
2.0.00
0.2.10
0.2.00
0.1.00
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @vue-storefront/cli

Weekly Downloads

147

Version

6.0.2

License

MIT

Unpacked Size

145 kB

Total Files

209

Last publish

Collaborators

  • filrak
  • fifciuu
  • lukasborawski
  • wojciechsikora
  • skirianov
  • mtokarskivsf
  • dzalewski
  • macryb
  • rickrohrig