@fws/cli
v0.3.6
Published
This CLI is work in progress and it's meant to work together with other Forwardslash boilerplates. Please do not use it if you don't have access to other stuff.
Downloads
566
Readme
Welcome
@fws/cli is work in progress and it's meant to work together with other Forwardslash tools.
Please do not use it if you don't have access to other stuff.
On second though, do feel free to explore it and mess around with it. :)
It's coffee time for us now... so, here's a pic of our Uncle :)
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 npm-i
orfws i
.
- Create component files:
fws create-file <name> [options]
orfws cf <name> [options]
.
- Optimizes and generates SVG icons:
fws icons
.
- Runs postinstall script:
fws postinstall
.
- Setup WP project using lando:
fws setup-wordpress
orfws set-wp
.
- Validate pages via W3 API:
fws w3-validator <url> [options]
orfws w3 <url> [options]
.
Specific commands for each Starter can be found in each Starter's README.md file.