hammerkit
  • About
  • Installation
  • Getting started
  • Build file
    • Environment Variables
    • References
    • Includes
  • Task
    • Dependencies
    • Needs
    • Caching
    • Container
    • Watching
    • Extending
  • Service
    • Container
    • Kubernetes
  • Labels
  • CLI
    • Init
    • ls
    • Execute
    • Store / Restore
    • Clean
    • Validate
    • Help
  • External Links
    • Docker Hub
    • Homebrew Repository
  • Release Blog
    • Release 1.4.0
    • Release 1.5.0
  • Contribution
    • Roadmap
    • Publishing
Powered by GitBook
On this page
  • Command
  • Console output
  • Result

Was this helpful?

  1. CLI

Init

Create a empty build file and adds the hammerkit cache directory to the .gitignore.

Command

hammerkit init

Console output

✔ created /home/user/build.yaml                                                                                                           12:36:50
✔ created /home/user/.gitignore with hammerkit cache directory 

Result

.hammerkit.yaml
envs: {}

tasks:
  example:
    image: alpine
    cmds:
      - echo "it's Hammer Time!"
      
.gitignore
.hammerkit
PreviousCLINextls

Last updated 2 years ago

Was this helpful?