Commit Graph
88 Commits
Author SHA1 Message Date
Janik von Rotz e4a761e8a4 feat(git): add find-git-folder utility and refine ls-git-folder to use .gitmodules, fix checkout-git-folder error message 2026-03-09 14:59:33 +01:00
Janik von Rotz e640a36e69 feat(git): enhance git folder scripts with validation and error handling for missing submodules and existing directories 2026-03-04 10:42:13 +01:00
Janik von Rotz 84f7ebfccb feat(git): add comprehensive git folder management commands and update documentation 2026-03-04 09:36:40 +01:00
Janik von Rotz 793b608732 feat(build-image): add buildkit timeout and plain progress output for better build visibility 2026-03-02 11:31:49 +01:00
Janik von Rotz 0dc78b8bd0 feat(changelog): simplify llm prompt for changelog updates by removing redundant instructions 2026-02-20 11:42:47 +01:00
Janik von Rotz 93ba433705 feat: rename prompt directory to prompts in init-project script 2026-02-18 10:39:55 +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 05278b3821 feat: refactor create-prompt to use envsubst for template rendering
- Replaced awk-based title replacement with envsubst for cleaner template rendering
- Added PROMPT_TITLE and PROMPT_ID environment variables to template
- Updated prompt.md.template to use $PROMPT_TITLE and $PROMPT_ID variables
- Removed temporary file handling and simplified the template generation process
2026-02-16 14:19:13 +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 9e59b8b9da feat: update init-project to use clearer template copy messages and remove unnecessary .env file creation 2026-02-10 14:10:49 +01:00
Janik von Rotz 6998578bc2 feat: add -n flag to cp commands in init-project to prevent overwriting existing files 2026-02-10 14:04:36 +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 1a403da518 feat: remove outdated prompt session file and rename prompt directory for better organization
- Removed `.prompt/01_built-task-template-from-library_session.md` as it was outdated and no longer needed
- Renamed `.prompt/` directory to `prompts/` for better organization and consistency
- Updated `init-project` script to create `prompt` directory instead of `.prompt`
- Added new prompt files for LLM features: `prompts/03_update-with-llm-path.md` and `prompts/04_add-command-update-changelog-from-git-diff.md`
- Enhanced `update-with-llm` to support reading prompts from files
- Added documentation for `update-with-llm` supporting file paths in `library.md`
- Added `update-changelog-with-llm` command to LLM section in `library.md`
- Added `update-template` command to help table in `task` script
2026-02-10 13:54:30 +01:00
Janik von Rotz 18fff62fe3 Change env to dotenv in all scripts 2026-02-08 17:12:24 +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 e4eaab9519 feat: wrap scripts in functions for better modularity and reusability 2026-02-05 17:31:59 +01:00
Janik von Rotz 7682c642ed feat: rename bin script 2026-02-05 17:25:11 +01:00
Janik von Rotz bb2652d26d feat: add scripts from my dotfiles 2026-02-05 17:22:17 +01:00
Janik von Rotz befed194b9 feat(dotenv): enhance list-dotenv with relative path display and improved type classification
- Added relative path column to display .env file locations relative to current directory
- Implemented relative-path helper function with fallback for systems without realpath
- Updated type classification to use lowercase consistently (project, template, nextcloud, upgrade)
- Improved table formatting with proper column widths and separators
- Fixed type detection logic to properly handle template files in both directories
- Added path column to both TASK_DOTENV_DIR and current directory file listings
2026-01-27 09:15:52 +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 f15daa9267 feat(kubeconfig): add scripts to load and save kubeconfig from keepass and pass 2026-01-06 09:53:23 +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 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 d960b43ca2 feat(task): use environment variables in create-env for odoo and nextcloud configurations
- Replace hardcoded values with environment variables in odoo and nextcloud sections
- Update NEXTCLOUD_PASSWORD to use placeholder syntax for security
- Maintain consistent formatting and structure with existing code
- No functional changes, improves configurability and security
2025-12-02 08:04:05 +01:00
Janik von Rotz 68a6c6099b feat(bin): set default param 2025-12-01 12:52:47 +01:00
Janik von Rotz d30afa7de9 feat(task): add install-ansible-build-scripts function and update library documentation
- Introduce new `install-ansible-build-scripts` function to install Ansible role scripts via curl
- Add documentation for the new function in `library.md` under the Ansible section
- Include link to available roles and usage example in the documentation
- Maintain existing code style and documentation format
2025-11-28 12:52:01 +01:00
Janik von Rotz 84489ede90 feat(task): enhance create-env and load-env with TASK_DOTENV_DIR support and upgrade environment type
- Introduce `TASK_DOTENV_DIR` variable with default assignment in `create-env`
- Update `create-env` to use standardized `TASK_DOTENV_DIR` and improve upgrade environment template
- Enhance `load-env` to dynamically detect environment type (odoo, nextcloud, upgrade) and export relevant variables
- Ensure consistency with existing code style and error handling patterns
- No functional regression, extends environment management capabilities
2025-11-28 12:37:24 +01:00
Janik von Rotz 43b5ab3a7c feat(task): update documentation and symlink instructions for default task file usage
- Add detailed instructions for setting up a default task file via symlink
- Include example bash function for prioritizing local task files
- Remove outdated alias recommendation from usage documentation
- Ensure clarity and consistency in integration guidelines
2025-11-27 17:13:53 +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 63e960f882 feat(task): standardize TASK_CONFIG_DIR variable and update documentation
- Introduce consistent `TASK_CONFIG_DIR` default assignment across environment-related functions
- Set default value to `"$HOME/.config/taskfile.build"` with flexibility for override
- Update `library.md` to document `TASK_CONFIG_DIR` usage and defaults
- Improve formatting and structure of configuration examples in documentation
- Maintain existing functionality and code style throughout affected scripts
2025-11-27 13:50:20 +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
Janik von Rotz 52459208e3 feat(task): improve ensure-directory function implementation
- Refactor `ensure-directory` to use explicit if-statement for better readability
- Maintain existing functionality and code style
- Add proper spacing and formatting for consistency
2025-11-25 10:00:46 +01:00
Janik von Rotz 95824b053f feat(task): adjust list-env table column widths and variable naming
- Increase `name_width` from 20 to 30 for better environment name visibility
- Rename `file_width` to `type_width` for clarity and consistency
- Update table formatting logic to use the corrected variable names
- Maintain existing code style and output format
2025-11-24 16:40:24 +01:00
Janik von Rotz 0509d003e3 feat(task): remove create-symlink-dir utility and update documentation
- Delete `create-symlink-dir` function as it is no longer needed
- Remove corresponding documentation entry from `library.md`
- Simplify symlink management utilities by consolidating functionality
- Maintain existing code style and documentation format
2025-11-23 16:24:06 +01:00
Janik von Rotz ab07e6bd71 feat(task): add symlink and directory management utilities
- Introduce `create-symlink`, `create-symlink-dir`, and `create-symlink-files` functions for managing symlinks
- Add `ensure-directory` utility to ensure directory paths exist
- Document new file management utilities in `library.md`
- Follow existing code style and documentation format
2025-11-23 15:51:28 +01:00
Janik von Rotz 9a82b4efd2 fix(task): update log-warning script to use correct label
- Change "ENTRYPOINT:" to "Warning:" in log-warning script output
- Aligns with intended purpose of the utility and improves clarity
2025-11-19 10:30:23 +01:00
Janik von Rotz fbdb1ff750 feat(task): add log-warning utility and document logging functions
- Introduce new `log-warning` bash script for colored warning output
- Add documentation for logging utilities in library.md
- Follows existing code style and documentation format
2025-11-19 10:29:43 +01:00
Janik von Rotz fb3037f120 fix(task): update bash scripts to follow AGENTS.md guidelines and improve KeePass integration
- Standardize bash shebangs to `#!/usr/bin/env bash` for portability
- Remove `function` keyword from definitions, use `func-name() {` syntax
- Replace `[ ]` conditionals with `[[ ]]` for improved functionality
- Convert local variables to lowercase with `local` keyword
- Update arithmetic comparisons to use `(( ))` syntax
- Enhance `save-dotenv-to-keepass` script with entry existence check and attachment handling
- Fix function name typo in `save-pass-to-keepass`
- Improve CSS formatting and layout for documentation
- Clean up markdown formatting in library and patterns docs
2025-11-19 09:53:56 +01:00
Janik von Rotz b20e49ff14 vault backup: 2025-11-16 11:01:10 2025-11-16 11:01:10 +01:00
Janik von Rotz 71b3e85580 feat(cli): add scripts for KeePass password management
- Add `get-pass-from-keepass` script to retrieve passwords from KeePass entries
- Add `save-pass-to-keepass` script to store passwords in KeePass entries
- Update library.md documentation with new KeePass utility functions
- Include usage examples and descriptions for new password management tools
2025-11-14 16:44:29 +01:00
Janik von Rotz 73fbce4352 vault backup: 2025-11-12 15:56:15 2025-11-12 15:56:15 +01:00
Janik von Rotz a9e4553a95 docs(agents): refine bash style guide and update taskfile documentation 2025-11-01 12:35:58 +01:00
Janik von Rotz 6aff8877bd docs(script): update instruction format in update-with-llm script
- Add explicit marker format `<<<...>>>` for file path definition
- Clarify output instructions to ensure correct file formatting
- Emphasize exclusion of additional text or code formatting characters
2025-10-31 10:59:52 +01:00
Janik von Rotz 8cec1490fb docs(agents): apply bash style guide refinements across scripts and documentation 2025-10-29 17:13:25 +01:00