Hyas command line tool.
Install the Hyas CLI globally:
npm install -g @hyas/cli
Or use npx:
npx @hyas/cli <command> [options]
hyas <command> [options]
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 local development server:
hyas start
Build production website:
hyas build
Delete temporary directories:
hyas clean
Check local environment:
hyas check
Show help for command.
Show @hyas/cli version.