CLI Commands


The Rdvue command line tool (CLI) is the main entry point for getting up and running with the Vue application. Similar documentation is available in the rdvue-cli README.

How to use rdvue-cli

All commands will follow the basic structure:

npx rdvue <action>

CLI Options

Run the cli option below for a list of commands and options

OptionDescription
--h, --helpDisplays the help menu.

CLI Commands

RDVue includes the following sub-commands:

CommandDescription
create-projectScaffold a new rdvue project
addAdd a feature to a project
pluginInject a utility to extend project functionality
upgradeSpecify the rdvue template version for a project

create-project

create-project will scaffold a new project for you, using one of the presets selected from its interactive shell.

Usage

$ npx rdvue create-project <project name>

add

Adds a feature to the project.

Usage

$ npx rdvue add:<feature> <name>

Features


plugin

Injects a utility to extend the project's functionality

Usage

$ frontier vue:plugin:<library>

Libraries


upgrade

Attempts to upgrade the project's rdvue template to the specified version

Usage

$ frontier vue:upgrade <version>