Harmont docs
CLI

hm init

Scaffold a starter pipeline into .hm/.

Synopsis

hm init [--template <KIND>] [--dir <PATH>] [--force]

hm init writes a ready-to-run starter pipeline to .hm/. Run it with no flags for an interactive picker, or pass --template to skip the prompt.

Templates

TemplateFlag valueFile written
CMakecmake.hm/pipeline.py
Elixirelixir.hm/pipeline.py
Next.jsnextjs.hm/pipeline.ts
JavaScript / TypeScriptjs.hm/pipeline.ts
Rustrust.hm/pipeline.py
Zigzig.hm/pipeline.ts
Pythonpython.hm/pipeline.py

Options

FlagDefaultMeaning
-t, --template <KIND>(prompt)Pick a template non-interactively.
-d, --dir <PATH>.Target directory.
--forceoffOverwrite an existing .hm/ directory.

Example

hm init --template cmake
created .hm/pipeline.py (Python pipeline, template: Cmake)
next step: run `hm run` to execute your pipeline locally

Then run it:

hm run ci

On this page