@hyas/cli
Hyas command line tool.
Installation
Install the Hyas CLI globally:
npm install -g @hyas/cli
npx
Or use npx:
npx @hyas/cli <command> [options]
Usage
hyas <command> [options]
Commands
Create
Create a new Hyas project:
hyas create [dir]
Arguments | Description | Default |
---|
dir | Directory to create the project in | my-hyas-site |
-c, --child | Use child theme | Use starter theme |
-t, --theme | Hyas theme to use (e.g. --theme=doks ) | No Hyas theme |
Start
Start local development server:
hyas start
Build
Build production website:
hyas build
Clean
Delete temporary directories:
hyas clean
Check
Check local environment:
hyas check
Options
-h, --help
Show help for command.
-v, --version
Show @hyas/cli version.
Documentation