Commit Graph
172 Commits
Author SHA1 Message Date
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 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 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 600dbea955 feat(task): add clone-taskfile command and update dev-11ty to open browser
- Introduce `clone-taskfile` function to manage taskfile repository cloning and pulling
- Modify `dev-11ty` command to automatically open the browser at `http://localhost:8080/`
- Reorder static variable declarations for better script organization
- Improve output formatting with colored Git status messages
2025-11-21 09:04:35 +01:00
Janik von Rotz ac64a25871 feat(task): add support for comma-separated command execution and update documentation
- Implement parsing and execution of multiple comma-separated commands
- Add whitespace trimming for individual commands
- Improve error handling with unknown command detection
- Update README.md and usage.md with examples and usage instructions
- Enhance documentation formatting and clarity
2025-11-19 12:17:30 +01:00
Janik von Rotz c24e69dcb9 fix(task): standardize quote usage in help table and documentation
- Replace double quotes with single quotes for consistency in `task` script
- Align documentation examples in `library.md` to use single quotes
- Improve readability and maintain consistent style across codebase
2025-11-19 10:51:02 +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 e571d1bd8b vault backup: 2025-11-16 11:16:41 2025-11-16 11:16:41 +01:00
Janik von Rotz 6f13279961 vault backup: 2025-11-16 11:11:10 2025-11-16 11:11:10 +01:00
Janik von Rotz 9e000c8d88 fix(task): increase option column width in help table
- Adjust opt_width from 6 to 10 characters for better readability
- Improves alignment of options in the help table output
2025-11-16 11:10:46 +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 81fe544a6e vault backup: 2025-11-16 09:56:29 2025-11-16 09:56:29 +01:00
Janik von Rotz 4bab8053fb vault backup: 2025-11-16 09:55:06 2025-11-16 09:55:06 +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 75843337a8 docs(website): add table of contents and improve layout structure
- Implement dynamic table of contents generation in base layout
- Add project structure documentation to AGENTS.md
- Refactor CSS for responsive sidebar and content layout
- Integrate eleventy-plugin-toc for automated TOC creation
- Fix function name typo in library.md
- Update package.json to support ES modules
- Enhance mobile navigation spacing and desktop layout flexibility
2025-11-10 15:09:13 +01:00
Janik von Rotz 1a6a1ce4b2 vault backup: 2025-11-07 14:42:01 2025-11-07 14:42:01 +01:00
Janik von Rotz 81025c45cf vault backup: 2025-11-07 10:31:46 2025-11-07 10:31:46 +01:00
Janik von Rotz c73eb98488 docs(website): restructure documentation and move content to dedicated pages
- Split README.md into usage.md and library.md for better organization
- Move library section to its own page and update references
- Rename "Usage" section to "Examples" in README.md
- Update navigation links in base layout to reflect new structure
- Fix typo in function definition in image/README.md
- Add frontmatter to AGENTS.md for proper layout rendering
- Update footer link from GitHub to Codeberg
2025-11-05 11:37:43 +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 a4b7c38d10 docs(website): restructure documentation and move content to dedicated pages
- Split README.md into usage.md and library.md for better organization
- Move library section to its own page and update references
- Rename "Usage" section to "Examples" in README.md
- Update navigation links in base layout to reflect new structure
- Fix typo in function definition in image/README.md
- Add frontmatter to AGENTS.md for proper layout rendering
- Update footer link from GitHub to Codeberg
2025-10-29 18:27:56 +01:00
Janik von Rotz c054077663 docs(agents): fix markdown heading typo in agents documentation 2025-10-29 17:43:09 +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
Janik von Rotz cf57626dbc docs(agents): reorder variable naming guideline and clarify conditional syntax in bash style guide
- Reorder local variable naming rule in AGENTS.md for better flow
- Add clarification note about escaping brackets when replacing `[ ]` with `[[ ]]`
- Emphasize that `[]` acts as a regex filter in conditional expressions
2025-10-29 14:53:03 +01:00
Janik von Rotz 6edf432d51 docs(image): update source link in README to point to correct branch path 2025-10-29 12:59:39 +01:00
Janik von Rotz 5b992d4ee0 docs(agents): refine bash guidelines and update code samples
- Expand AGENTS.md with general agent guidance and coding conventions
- Refactor bash snippets in README.md and scripts to align with style guide:
  - Use `#!/usr/bin/env bash` shebang for portability
  - Remove `function` keyword from definitions
  - Replace `[ ]` conditionals with `[[ ]]` for improved reliability
  - Rename local variables to lowercase with `local` keyword
- Introduce CHANGELOG.md to track project changes per Keep a Changelog spec
- Update taskfile.build scripts to follow consistent bash practices
2025-10-29 12:32:51 +01:00
Janik von Rotz cb0f9330af docs(agents): add bash style guide and update README style section
- Create new AGENTS.md with comprehensive bash scripting guidelines
- Update README.md to reference the bash style guide
2025-10-29 08:14:12 +01:00
Janik von Rotz ca75ac5772 docs(readme): update login-docker section to build-image with correct description 2025-10-22 18:12:30 +02:00
Janik von Rotz 3febd5073e feat(dotenv): add KeePass support and rename dotenv commands for clarity 2025-10-17 09:26:12 +02:00
Janik von Rotz 56693475c6 fix(commit-with-llm): remove extra space in echo statement for LLM model output 2025-09-22 09:15:33 +02:00
Janik von Rotz 413e7aafac feat(commit-with-llm): dynamically detect default LLM model and remove explicit model flag 2025-09-22 08:02:03 +02:00
Janik von Rotz b6beabceca feat(image): add curl to Docker image dependencies 2025-09-19 19:06:13 +02:00
Janik von Rotz 848a75ec35 feat(git): initialize and update git submodules if .gitmodules file exists 2025-09-19 18:55:13 +02:00
Janik von Rotz f83dbcb69f feat(task): rename and expand task commands for clarity and add dynamic bin sourcing and run functionality 2025-09-17 11:33:16 +02:00
Janik von Rotz 708e6409e3 feat(image): make CADDY_ROOT optional and conditionally execute task commands based on TASK_COMMANDS variable 2025-09-16 18:32:55 +02:00
Janik von Rotz 759f09c9be feat(task): introduce DOCKERFILE variable and update task commands in run function 2025-09-15 11:58:11 +02:00
Janik von Rotz b1e4b3aa23 feat(task): add build-image function and update Docker environment variables in task script 2025-09-14 22:36:27 +02:00