@docus/cli
v1.1.0
Published
The Docus CLI.
Downloads
9
Readme
Docus CLI
The Docus CLI.
Quick Setup
Add docus
package globally:
# Using Yarn
yarn global add docus
# Using NPM
npm install --global docus
Commands
npm init docus
This package is also responsible for the npm init docus
command.
You can use it without installing docus
package globally.
--
is required as specified here.
npm init docus -- path/to/project
npm init docus -- --type="module" path/to/project
npm init docus -- --type="theme" path/to/project
create-docus
If you install the docus
package globally, it will be shipped with create-docus
executable.
This allows the creation of a Docus project, a theme or a module.
You can execute this command anywhere:
create-docus path/to/project
create-docus --type="module" path/to/project
create-docus --type="theme" path/to/project
Development
- Clone this repository
- Install dependencies using
yarn install
- Start dev server using
yarn dev