diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec7672..fe20fe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ and versions follow [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [0.5.0] - 2026-10-16 + +### Added +- **Placeholders are asked for.** A template can declare them in `.foundry.yaml` (`vars:` with a prompt and a + default); in a terminal Foundry asks, with `--non-interactive` the default is used, and any other used-but-missing + placeholder is asked for too. `--strict` stops before writing anything when a placeholder has no value, which is + what you want in CI. +- `foundry template init ` creates the skeleton of a new template (`--add` saves it right away). +- `foundry template add ` keeps a copy of a template from Git (`--branch`); + `template update` fast-forwards it, `template remove` deletes the copy. Setup commands of such templates are + never run. +- The `.deb` packages install shell completions for bash, zsh and fish. +- `foundry template show` and `template vars` show the source of a template and the placeholders that are asked for. + ## [0.4.0] - 2026-10-16 ### Added diff --git a/README.md b/README.md index 60b8dbb..29a1352 100644 --- a/README.md +++ b/README.md @@ -134,14 +134,15 @@ Details, ignore rules, setup steps (`.foundry.yaml`) and tips: [docs/templates.m | Command | What it does | | --- | --- | -| `foundry new ` | Create a project. Flags: `--template`, `--language`, `--git`, `--branch`, `--path`, `--var KEY=VALUE`, `--dry-run`, `--json` (with `--dry-run`), `--no-git`, `--no-post`, `--no-open`, `--non-interactive` | -| `foundry template add ` | Save a directory as a template (`--description`, `--language`) | +| `foundry new ` | Create a project. Flags: `--template`, `--language`, `--git`, `--branch`, `--path`, `--var KEY=VALUE`, `--dry-run`, `--json` (with `--dry-run`), `--strict`, `--no-git`, `--no-post`, `--no-open`, `--non-interactive` | +| `foundry template add ` | Save a directory or a Git repository as a template (`--description`, `--language`, `--branch`) | | `foundry template list` | List built-in and saved templates (`--saved`, `--builtin`, `--sort name\|language`, `--quiet`, `--json`) | | `foundry template show ` | Show details and files (`--files-only`, `--summary`, `--json`) | | `foundry template update [name...]` | Rescan templates so file lists stay current | | `foundry template edit ` | Change description, language, path or name | | `foundry template vars ` | List the placeholders a template uses | | `foundry template export ` | Copy a built-in template to a folder so you can change it | +| `foundry template init ` | Create the skeleton of a new template (`--add ` to save it) | | `foundry template remove ` | Forget a template (`--force` if it is a default); files stay | | `foundry config` | Show settings; set with `--user`, `--license`, `--default-language`, `--docker`, `--interactive`; `--json`, `--path` | | `foundry config