mine craft
Scaffold projects and bootstrap dev tool configurations. Recipes are data-driven templates embedded in the binary — extensible via user-local recipes.
Bootstrap a Project
Section titled “Bootstrap a Project”mine craft dev go # Go project with module, main.go, Makefilemine craft dev node # Node.js with package.jsonmine craft dev python # Python with pyproject.toml and .venvmine craft dev rust # Rust project with Cargo.toml, src/main.rs, Makefilemine craft dev docker # Dockerfile, docker-compose.yml, .dockerignoreSet Up Git
Section titled “Set Up Git”mine craft git # git init + .gitignoreGenerate CI/CD Templates
Section titled “Generate CI/CD Templates”mine craft ci github # GitHub Actions CI workflow (.github/workflows/ci.yml)List Available Recipes
Section titled “List Available Recipes”mine craft list # show all recipes with details and aliasesUser-Local Recipes
Section titled “User-Local Recipes”Drop template files in ~/.config/mine/recipes/ using the naming convention <category>-<name>/ (e.g. dev-mytemplate/). Files inside are Go text/template files with {{.Dir}} available as the project directory name.
~/.config/mine/recipes/└── dev-myframework/ ├── main.go └── config.yamlThen run:
mine craft dev myframeworkExamples
Section titled “Examples”# Bootstrap a new Go projectmkdir myapi && cd myapimine craft dev go
# Add GitHub Actions CImine craft ci github
# Bootstrap a Python projectmkdir myapp && cd myappmine craft dev python
# List all available recipesmine craft list