@forwardslashns/fws-cli
v0.4.18
Published
CLI meant to work together with other Forwardslash boilerplates.
Downloads
1,011
Readme
Welcome
@forwardslashns/fws-cli is work in progress and it's meant to work together with other Forwardslash tools.
Intro
FWS CLI is an internal tool used for automatization of routine development tasks.
It's usage is limited to and exclusive for Forwardslash projects, specifically project's built with FWS Starters:
- FWS Starter _S
- FWS Starter Nuxt
- FWS Starter Vue
- FWS Starter Twig
Available Commands
As noted above, these commands are limited to FWS projects and with that in mind most of the commands are required to run from FWS project's directory.
Default
Default commands available from any directory.
- Output the version number:
fws --version
orfws -V
.
- Check for latest version:
fws latest-version
orfws latest
.
- Display help for commands:
fws --help
orfws -h
.
General
General commands, available for all starters.
- Install node modules:
fws npmi
orfws i
.
- Clean install node modules:
fws npmci
orfws ci
.
- Create component files:
fws create-file <name> [options]
orfws cf <name> [options]
.
- Delete _fe files in template-views directory:
fws remove-fe
orfws rfe
.
- Optimizes and generates SVG icons:
fws icons
orfws ic
.
- Runs postinstall script:
fws postinstall
orfws pi
.
- Validate pages via W3 API:
fws w3Validator <url> [options]
orfws w3 <url> [options]
.
Specific commands for each Starter can be found in each Starter's README.md file.