Hyas CLI: command line tool for Hyas and DoksHyas CLI: command line tool for Hyas and Doks

Tools, Projects

Hyas CLI: command line tool for Hyas and Doks

Command line tool making it easier and more seamless to work with Hyas — and Doks — from the command line.

Hyas command line tool

Usage: hyas <command> [options]

Commands:
  create <dir> [theme]  Create a new Hyas project
  start                 Start local development server
  build                 Build production website
  add [file]            Add content file
  clean                 Delete temporary directories
  lint [source]         Check for errors
  check                 Check local environment

Options:
  -h, --help     Show help for command                                 [boolean]
  -v, --version  Show @hyas/cli version                                [boolean]

Learn more:
  Use 'hyas <command> --help' for more information about a command.
  Read the manual at https://gethyas.com/hyas-cli

Installation

Install the Hyas CLI globally:

npm install -g @hyas/cli

Usage

hyas <command> [options]

npx

Or use npx:

npx @hyas/cli <command> [options]

Commands

CommandDescription
createCreate a new Hyas project
startStart local development server
buildBuild production website
addAdd content file
cleanDelete temporary directories
lintCheck for errors
checkCheck local environment

Help

Use hyas <command> --help for more information about a command.

Updates

You’ll get notified when an update is available.

Documentation

CLI, Hyas, Doks