Skip to content

Command-line Interface ​

The hop CLI has two commands, hop build and hop fmt.

hop build ​

Build a hop project

Usage: hop build [OPTIONS]

Options: ​
  • --project <PROJECT> Path to project root (the folder containing the hop.toml file)
  • --silent Suppress output (errors are still shown)

hop fmt ​

Format source code

Usage: hop fmt [OPTIONS] [FILE]

Arguments: ​
  • <FILE> Specific .hop file to format (formats all files if not specified)
Options: ​
  • --project <PROJECT> Path to project root (the folder containing the hop.toml file)