Commit Graph
31 Commits
Author SHA1 Message Date
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 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 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 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 9e000c8d88 fix(task): inc