Commit Graph
49 Commits
Author SHA1 Message Date
Janik von Rotz 323f81a45f refactor: migrate documentation from 11ty to Zensical and restructure project layout
- Replace 11ty static site generator with Zensical (Material for MkDocs)
- Remove Node.js dependencies, `package.json`, `pnpm-lock.yaml`, and `node_modules`
- Refactor directory structure: move docs to `docs/`, assets to `docs/{img, stylesheets, javascripts}`, and build output to `site/`
- Create modular bin scripts for Zensical, 11ty, and Vuepress workflows (init, dev, build, serve)
- Update `.gitignore` to track `.venv` and `site` instead of `node_modules` and `_site`
- Rewrite `README.md` and `AGENTS.md` to reflect new tooling and structure
- Update `task` and `task.template` with new documentation commands and help rows
- Implement `install` and `uninstall` scripts to fetch scripts from remote repository
- Add `zensical.toml` configuration with Material theme, dark mode toggle, and navigation
- Fix shellcheck issues in `task.template` and `save-pass-to-keepass`
- Update `prompt.md` with completion status and worklog
2026-10-05 16:53:23 +02:00
Janik von Rotz 58c9dcf40e refactor: rename log-prompt to commit-prompt and switch to full commit hashes 2026-10-05 11:32:11 +02:00
Janik von Rotz 0d2c8f897e feat: add delete-prompt command and enhance prompt-log metadata tracking 2026-10-05 11:28:48 +02:00
Janik von Rotz f335475d1e feat: redesign prompt log system with worktree-based branch management and update command specifications 2026-09-25 13:54:45 +02:00
Janik von Rotz 30d8d7aa86 feat: standardize required/optional param notation and update error messages
- Updated `task`, `task.template`, and `library.md` to use angle brackets (`<param>`) for required parameters and square brackets (`[param]`) for optional ones.
- Fixed argument order mismatches in `create-symlink`, `create-symlink-files`, and `commit-git-folder` documentation.
- Removed non-existent `[path]` parameter from `merge-git-remote`.
- Standardized empty-argument error messages across `bin/*` scripts to use slash notation (e.g., `$1/path is empty.`).
- Updated prompt file `prompts/21_show-optional-and-required-params-in-task-help.md` to mark task as completed and log work.
2026-09-10 14:19:58 +02:00
Janik von Rotz baa68aade0 refactor: rename open-url-with-delay to open-url and remove delay logic 2026-09-10 13:44:13 +02:00
Janik von Rotz 8b48f0cfab feat: add Jupyter Lab support with installation and execution commands 2026-08-28 10:29:07 +02:00
Janik von Rotz 02666c9545 feat: add list-taskfile-aliases command and prompt 2026-08-05 11:16:06 +02:00
Janik von Rotz 8cba755e2b chore(task): fix help-table description for copy-dotenv task 2026-06-23 08:40:06 +02:00
Janik von Rotz 5f68826f8e feat(create-prompt, list-prompts): add optional path parameter for custom prompts directory 2026-05-29 10:24:46 +02:00
Janik von Rotz 9ae323d0c6 feat(git-folder): swap url and branch parameters in add-git-folder and update docs 2026-04-27 14:33:42 +02:00
Janik von Rotz 0d1f952ccf feat(git-folder): enhance merge-git-remote with robust remote handling, merge conflict reporting, and new add-git-merge command 2026-04-27 11:48:38 +02:00
Janik von Rotz 326ee9a3c0 feat(git-folder): migrate from .gitmodules.csv to .gitmodules for commit tracking and improve error handling 2026-04-27 10:45:39 +02:00
Janik von Rotz 8dcc57ddd7 feat(ssh-key): add generate-ssh-key script and update entrypoint for shallow clones and submodule depth 2026-04-17 12:00:01 +02:00
Janik von Rotz e3b9345cb7 feat(run-pre-commit): add script to run pre-commit in git folders and update documentation 2026-04-16 11:19:26 +02:00
Janik von Rotz 1b52683b4a feat(add-git-remote): add script to add git remote to specified folder and update documentation 2026-04-15 11:23:25 +02:00
Janik von Rotz 760c5d8003 feat(save-git-folder): add new command to save git refs to .gitmodules.csv and update help-table 2026-03-12 17:27:20 +01:00
Janik von Rotz b380826239 feat(update-template): update install script with bin commands and refactor help-table rows generation 2026-03-10 09:32:28 +01:00
Janik von Rotz 907998381e feat(help-table): refactor update-template command to parse library.md line by line and handle ### headers with grep matching 2026-03-09 18:15:09 +01:00
Janik von Rotz 87cc5abd22 feat(help-table): refactor update-template command to parse library.md line by line and update group delimiters to === 2026-03-09 18:01:57 +01:00
Janik von Rotz 5a0923f366 feat(task): implement grouped sections in help-table with centered headers and add optional path parameters to git commands 2026-03-05 09:50:36 +01:00
Janik von Rotz 2c0c6aa093 feat(install): ensure executable permissions on install and task.template during update-template 2026-02-18 16:41:05 +01:00
Janik von Rotz 0a375a90dc feat(install): update install script to sync bin commands and fix script permissions 2026-02-18 16:38:57 +01:00
Janik von Rotz e1b7c517ed feat: restore executable permissions on task.template 2026-02-18 16:20:08 +01:00
Janik von Rotz 93c5fe7b1f feat: add setup-completion to help-table and library.md, remove duplicate entry 2026-02-17 16:55:44 +01:00
Janik von Rotz 6f93c35033 feat: update create-prompt to accept title as argument and add new prompt file
- Modified create-prompt to accept title as command-line argument instead of interactive input
- Added usage message when title is missing
- Fixed numeric comparison in prompt numbering logic to handle leading zeros correctly
- Added new prompt file 09_add-cluster-and-partner-list-view-to-website-kubectl.md
- Changed task.template permissions from executable to readable (755 → 644)
2026-02-17 13:55:38 +01:00
Janik von Rotz 82619ece68 feat: convert help-table to dynamic width and update AGENTS.md formatting
- Converted help-table function in task.template to use dynamic column widths based on content
- Removed fixed width parameters and implemented logic to calculate maximum widths from table data
- Added new prompt file documenting the conversion from fixed to dynamic width table
- Removed redundant bold formatting in AGENTS.md for consistency with project style
- Updated task.template permissions to executable (755)
2026-02-17 10:28:24 +01:00
Janik von Rotz b94484305d feat: rename list-prompt to list-prompts and improve script formatting
- Renamed `bin/list-prompt` to `bin/list-prompts` and updated function name accordingly
- Updated references to `list-prompts` in `library.md`, `task.template`, and `usage.md`
- Added shebang and blank lines for consistency in `create-prompt`, `install-ansible-build-scripts`, and `list-dotenv` scripts
- Fixed table formatting in `usage.md` to use consistent column alignment
2026-02-16 13:59:19 +01:00
Janik von Rotz 8f786f1822 feat: add create-prompt and list-prompt commands for managing prompt files
- Added `create-prompt` command to create new prompt files from template with sequential numbering
- Added `list-prompt` command to display all prompt files in a formatted table
- Added `prompt.md.template` file as base template for new prompts
- Added `prompts/08_add-prompt-commands.md` prompt file documenting the addition of prompt management commands
- Added `create-prompt` and `list-prompt` commands to help table in `task.template`
- Added `create-prompt` and `list-prompt` documentation to `library.md`
- Updated `task.template` to include `create-prompt`, `list-prompt`, and `setup-completion` commands in help table
- Updated `library.md` to include `create-prompt` and `list-prompt` commands in LLM section
2026-02-16 09:05:15 +01:00
Janik von Rotz fc09e848fd feat: enhance shellcheck integration and improve code quality across task files
- Added new prompt file `prompts/07_run-shellcheck-and-fix-issues.md` for shellcheck linting and fixing
- Updated `help()` function in `task`, `task.template`, and `README.md` to use `local grep_pattern` variable for improved readability and maintainability
- Updated `lint()` function in `task` to run `shellcheck` on both `task` and `task.template` files
- Added `export` statements for `BUILDX_PLATFORM`, `CONTAINER_REGISTRY`, `CONTAINER_TAG`, and `DOCKERFILE` variables in `task` script
- Added `# shellcheck disable=SC1090` comment before sourcing files in `task` and `task.template` to suppress shellcheck warnings
- Updated `update-template()` function in `task` to use `local temp_file` declaration before assignment for better variable scoping
- Updated `help()` function in `task.template` to use `help "$@"` instead of `help` when displaying unknown command error
- Removed `disable=SC2059` from `.shellcheckrc` as it's no longer needed after code improvements
2026-02-14 11:36:44 +01:00
Janik von Rotz 7327128503 feat: boostrap completion scripts for task file. 2026-02-12 19:56:16 +01:00
Janik von Rotz e6e2c9a6e5 feat: make task.template executable for better script execution 2026-02-10 20:25:12 +01:00
Janik von Rotz 9a3ea7eda4 feat: add update-changelog-with-llm command to generate changelog entries from git diff using LLM
- Implemented `update-changelog-with-llm` command that analyzes staged git diff and updates CHANGELOG.md using LLM
- Added CHANGELOG.md template for new projects
- Updated init-project script to create CHANGELOG.md from template
- Added documentation for update-changelog-with-llm in library.md
- Added update-changelog-with-llm to help table in task.template
- Enhanced CHANGELOG.md to include new command in release notes
2026-02-10 13:56:10 +01:00
Janik von Rotz 7c6e6e300a feat: add update-template command to synchronize task.template with library.md
- Added `update-template` command that extracts rows from `library.md` and updates `task.template`
- Implemented logic to replace existing rows in `task.template` with current rows from `library.md`
- Added `update-template` to help-table for documentation and discoverability
- Updated `library.md` and `task.template` to include new `update-template` command
- Removed outdated prompt script that was no longer needed
- Ensured all rows from `library.md` are properly synchronized with `task.template`
2026-02-10 12:23:07 +01:00
Janik von Rotz 904a69183f feat: add update-template command to synchronize task.template with library.md
- Added `update-template` command that extracts rows from `library.md` and updates `task.template`
- Implemented logic to replace existing rows in `task.template` with current rows from `library.md`
- Added `update-template` to help-table for documentation and discoverability
- Updated `library.md` to use consistent terminology (dotenv instead of env)
- Removed outdated prompt script that was no longer needed
- Ensured all rows from `library.md` are properly synchronized with `task.template`
2026-02-08 16:40:16 +01:00
Janik von Rotz a27e78af51 feat: add project initialization script and template files with dynamic help table
- Added `init-project` script to setup new taskfile projects with templates
- Created `.gitignore.template` and `AGENTS.md.template` for standardized project setup
- Implemented dynamic help table generation in `help-table` function
- Updated `library.md` and `task.template` to include new `init-project` command
- Added `init-project` to taskfile help documentation
- Improved AGENTS.md with comprehensive coding conventions and agent guidance
2026-02-06 16:29:51 +01:00
Janik von Rotz f66d0cc2cb feat(dotenv): rename env utilities to dotenv and enhance list-dotenv with project files
- Renamed all env-related scripts to use dotenv naming convention (copy-env → copy-dotenv, create-env → create-dotenv, etc.)
- Updated documentation in library.md and task.template to reflect new script names and .env file references
- Enhanced list-dotenv to also display .env.* files in current directory with type classification (Project/Template)
- Added new show-dotenv-setup script to display KeePass/Pass entry details
- Removed deprecated show-env script in favor of show-dotenv
- Updated install script to reflect renamed scripts and added show-dotenv-setup
- Improved consistency in output messages (e.g., "Init .env file" instead of "Init env file")
2026-01-27 09:09:35 +01:00
Janik von Rotz 464cb5cbad feat(ci): refactor build-and-deploy workflow with consistent formatting and dynamic dotenv handling
- Standardized YAML indentation and quoting in build-and-deploy workflow
- Enhanced dotenv scripts to support custom .env file paths and dynamic entry naming based on project and branch
- Added new `show-dotenv` utility to display dotenv configuration details
- Updated documentation to reflect dynamic entry resolution and new command options
- Fixed minor typos and improved consistency in patterns.md and library.md
2026-01-16 11:31:05 +01:00
Janik von Rotz da299d1775 feat(task): add Kubernetes and Ansible helper functions to task template 2026-01-12 16:49:59 +01:00
Janik von Rotz 21d9d62cf8 fix(keepass): validate database files and improve error handling in get-pass-from-keepass and save-pass-to-keepass 2025-12-08 12:43:58 +01:00
Janik von Rotz f08388429c fix(library): swap source and target parameters in create-symlink and create-symlink-files documentation 2025-12-04 10:29:38 +01:00
Janik von Rotz bf050c83ed feat(log): add log-error utility and fix log-success color code formatting 2025-12-03 16:50:35 +01:00
Janik von Rotz c5055a0150 feat(bin): add log-success utility and enhance status-git-folder output formatting 2025-12-03 16:46:33 +01:00
Janik von Rotz c1f97636cf feat(bin): add git folder management utilities and enhance task command parsing
- Introduce new git folder management functions: `clean-git-folder`, `commit-git-folder`, `ls-git-folder`, `push-git-folder`, `reset-git-folder`, `stage-git-folder`, `status-git-folder`
- Add `.prompt/update-switch-case-for-all-task-files` script to update task files with comma-separated command support
- Enhance task command parsing to support comma-separated commands with whitespace trimming and error handling
- Document all new git folder functions in `library.md` under Git section
- Add all new git folder functions to help table in `task.template`
- Update `library.md` to include folder structure overview and fix typos
- Maintain consistent formatting and structure with existing code
2025-12-03 09:22:46 +01:00
Janik von Rotz 7269ed359d feat(bin): add remove-venv function to manage Python virtual environments
- Introduce `remove-venv` function to delete `.venv` directory
- Document `remove-venv` in `library.md` under Python section
- Add `remove-venv` to help table in `task.template`
- Maintain consistent formatting and structure with existing code
2025-12-02 15:12:28 +01:00
Janik von Rotz 3f015d599a feat(task): remove redundant newline in init-dotenv-dir help description
- Clean up formatting in help table for `init-dotenv-dir` command
- Ensure consistency with other command descriptions in the help table
- No functional changes, only cosmetic improvement to documentation
2025-11-27 17:53:42 +01:00
Janik von Rotz fcc8d8078a feat(task): rename TASK_CONFIG_DIR to TASK_DOTENV_DIR and update related functions
- Replace all instances of `TASK_CONFIG_DIR` with `TASK_DOTENV_DIR` across environment-related scripts
- Update `init-config-dir` function name to `init-dotenv-dir` for consistency
- Adjust documentation and help table entries to reflect the renamed variable and function
- Maintain existing functionality and code style throughout affected scripts
2025-11-27 16:55:59 +01:00
Janik von Rotz 2490a7329a feat(task): consolidate environment creation utilities into create-env
- Replace `create-odoo-env` and `create-nextcloud-env` with unified `create-env` function
- Support multiple environment types: odoo, nextcloud, and upgrade
- Update `list-env` to detect and display new environment types
- Adjust documentation and help table entries to reflect consolidated command
- Maintain existing code style and error handling patterns
2025-11-27 10:05:40 +01:00
Janik von Rotz 5eb4eb0367 feat(task): add task template with help table and command sourcing
- Introduce `task.template` file with structured help table for all available commands
- Implement dynamic command sourcing from `$HOME/taskfile.build/bin` directory
- Add support for searching help entries with optional argument in `help` function
- Include comprehensive listing of file, environment, LLM, Git, Pass, KeePass, and Docker commands
- Maintain consistent code style and formatting across the template file
2025-11-26 08:12:01 +01:00