hammerkit
CLI

Init

Create a starter build file in the current directory.

init is available only when no build file exists yet. It writes a minimal .hammerkit.yaml with a single example task so you have something to run immediately.

Command

hammerkit init

Console output

created .hammerkit.yaml

Result

.hammerkit.yaml
envs: {}

tasks:
  example:
    image: alpine
    cmds:
      - echo "it's Hammer Time!"

Run it with hammerkit example (the task is called example, not build).

Hammerkit keeps its local cache state in a .hammerkit directory. Add it to your .gitignore so it is not committed:

.hammerkit

On this page