CLI package of Featurevisor.
Visit https://featurevisor.com/docs/cli for more information.
$ npm install --save-dev @featurevisor/cli
Initialize your project.
$ mkdir my-featurevisor-project && cd my-featurevisor-project
$ npx @featurevisor/cli init
$ npm install
If you want to initialize your project with a specific example:
$ npx @featurevisor/cli init --example <name>
Examples found here.
Check if your YAMLs are valid.
$ npx featurevisor lint
Build your datafiles.
$ npx featurevisor build
Test your generated datafiles using the SDK, against specs written in YAMLs.
$ npx featurevisor test
See test specs in YAMLs here for inspiration.
Start a local server to view your project's site.
$ npx featurevisor site export
$ npx featurevisor site serve
MIT © Fahad Heylaal