@featurevisor/cli
TypeScript icon, indicating that this package has built-in type declarations

1.27.3 • Public • Published

@featurevisor/cli

CLI package of Featurevisor.

Visit https://featurevisor.com/docs/cli for more information.

Installation

$ npm install --save-dev @featurevisor/cli

Usage

init

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.

lint

Check if your YAMLs are valid.

$ npx featurevisor lint

build

Build your datafiles.

$ npx featurevisor build

test

Test your generated datafiles using the SDK, against specs written in YAMLs.

$ npx featurevisor test

See test specs in YAMLs here for inspiration.

site

Start a local server to view your project's site.

$ npx featurevisor site export
$ npx featurevisor site serve

License

MIT © Fahad Heylaal

Package Sidebar

Install

npm i @featurevisor/cli

Weekly Downloads

432

Version

1.27.3

License

MIT

Unpacked Size

46.6 kB

Total Files

14

Last publish

Collaborators

  • fahad19