The CLI tool for the Flores API.
The API documentation and the guide on how to get started are available on Flores repository.
$ npm install flores-cli
$ flores --help
Usage
$ flores <command> [--config]
There are three available commands:
- build: Generate the website.
- serve: Generate the website and preview it with the built-in server.
- watch: Regenerate the website and reload the browser automatically on file changes.
Options
--config, -c: The path to website configuration file, default to "site.config.js".
Examples
$ flores build
$ flores serve --config my-config.js
$ flores watch -c my-config.js
- flores: The programmatic API for this CLI tool.
- flores-create: The CLI tool for creating a new Flores website.
- flores-starter: The starter template for Flores website.