Commit Graph
108 Commits
Author SHA1 Message Date
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 fe6a5c93f7 feat: add emojis to README feature list for visual enhancement
- Added matching emojis to each feature in the README.md feature list
- Updated feature descriptions for consistency and clarity
- Created prompt file to guide future emoji additions to feature lists
- Ensured all feature items now have corresponding visual indicators
2026-02-10 12:07:53 +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 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 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 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 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 8cec1490fb docs(agents): apply bash style guide refinements across scripts and documentation 2025-10-29 17:13:25 +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 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 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
Janik von Rotz 37fc346a8b feat(docker): update Docker build config, .dockerignore, and add image documentation
- Updated .dockerignore to properly include necessary directories and LICENSE file
- Configured Docker build action to use specific Dockerfile path in Forgejo CI
- Added image documentation section in README.md
- Fixed navigation links to use absolute paths in base layout
- Updated edit link in footer to use correct Codeberg URL pattern
- Improved image README with proper front matter and formatting
2025-09-14 15:54:51 +02:00
Janik von Rotz 69606a0a88 docs(readme): update section headers and correct titles for env, llm, docker commands 2025-09-09 17:15:26 +02:00
Janik von Rotz 17ef23682b vault backup: 2025-08-20 13:19:45 2025-08-20 13:19:45 +02:00
Janik von Rotz e4adfceed2 refactor(README): simplify empty parameter check in deploy function 2025-08-17 13:55:55 +02:00
Janik von Rotz 525cee9d66 chore: migrate from GitHub to Codeberg and switch to pnpm
- Updated repository URLs, links, and edit paths from GitHub to Codeberg
- Replaced `npx` with `pnpm dlx` and `pnpx` for better dependency management
- Affected files: README.md, base.njk, package.json, task
- Scope: infrastructure, tooling
2025-08-13 17:49:39 +02:00
Janik von Rotz 0dc06c6a26 feat(login-docker): add support for passing username and token as arguments 2025-08-06 07:37:23 +02:00
Janik von Rotz bd6c99d722 feat(doc): add docker login functionality and update help table column width 2025-08-05 12:24:08 +02:00
Janik von Rotz 874a2e36ee feat(pass): rename store-dotenv and restore-dotenv to save-dotenv and load-dotenv for clarity 2025-07-27 17:08:08 +02:00
Janik von Rotz 4d7a50b15f feat(completions): add support for task alias 't' in zsh completion script 2025-07-25 14:27:51 +02:00
Janik von Rotz c55fa6e963 feat(README): refactor taskfile cloning script to a reusable function 2025-07-21 10:47:22 +02:00
Janik von Rotz 56980ed4e1 feat(autocompletion): improve command sourcing and add autocompletion support
Signed-off-by: Janik von Rotz <login@janikvonrotz.ch>
2025-07-21 08:48:03 +02:00
Janik von Rotz b849f868e2 feat(template): add template-dotenv command to generate.env from.env.template 2025-07-20 17:56:49 +02:00
Janik von Rotz 0275bcacd9 feat(README): refactor help function and remove redundant script 2025-06-27 10:14:00 +02:00
Janik von Rotz 1e51cf424d fix(readme): remove trailing whitespace and empty lines 2025-06-18 08:37:23 +02:00
Janik von Rotz 946d9bc68d fix(readme): refactor convert-vault-file function and update task command help table 2025-06-18 08:36:26 +02:00
Janik von Rotz 286bd74e47 feat: add backup and restore env files 2025-06-16 17:45:38 +02:00
Janik von Rotz 217670835c feat(pass): add store and restore dotenv functionality 2025-06-13 08:29:13 +02:00
Janik von Rotz 2f74875049 feat(README): reorganize and add new env management commands 2025-06-13 08:23:53 +02:00
Janik von Rotz e8d0672fdf feat: new command init-venv 2025-06-12 11:21:23 +02:00
Janik von Rotz 8460773d92 fix(readme): correct description of update-with-llm command 2025-06-08 13:53:35 +02:00
Janik von Rotz 72c794aedf feat(env): add rename-env command and improve list-env output format 2025-06-06 10:39:02 +02:00
Janik von Rotz 8c1035ac3b vault backup: 2025-06-06 09:49:16 2025-06-06 09:49:16 +02:00
Janik von Rotz b5765e602f vault backup: 2025-06-06 08:39:18 2025-06-06 08:39:18 +02:00
Janik von Rotz 6c7aff79fd vault backup: 2025-06-06 08:31:04 2025-06-06 08:31:04 +02:00
Janik von Rotz 4f2c5ab58c feat(build): add update-submodule command to manage git submodules 2025-06-04 09:30:46 +02:00
Janik von Rotz 5b6e1d0214 vault backup: 2025-05-16 13:48:18 2025-05-16 13:48:18 +02:00
Janik von Rotz 0295819cea feat(taskfile): add help command with auto-completion functionality 2025-05-15 15:57:21 +02:00
Janik von Rotz 59e6511f84 vault backup: 2025-05-13 18:12:51 2025-05-13 18:12:51 +02:00
Janik von Rotz cd0c279fc0 fix(README): improve taskfile.build cloning command to handle existing directory 2025-05-13 17:56:45 +02:00
Janik von Rotz 649b815eda feat(taskfile): add copy-env command to copy environment files 2025-05-12 11:37:43 +02:00