feat: add global flag to create-dotenv and change default storage location

- Modify `bin/create-dotenv` to store `.env` files in the current directory by default.
- Add `-g` / `--global` flag to store files in `TASK_DOTENV_DIR` instead.
- Remove hard-coded `secrets` template special case for path selection; encryption now depends on the filename ending in `secrets.env`.
- Update `docs/library.md`, `task.template`, and `prompt.md` to reflect the new behavior and flag.
- Verify that `remove-dotenv`, `copy-dotenv`, and `rename-dotenv` correctly handle both local and global paths.
This commit is contained in:
Janik von Rotz committed 2026-10-12 08:38:42 +02:00
1 parent dbc39993c3
commit 01c3a74954
4 files changed
+49 -28

No files matched your search