diff --git a/bin/commit-with-llm b/bin/commit-with-llm index 0d973fa..1e2dd4d 100755 --- a/bin/commit-with-llm +++ b/bin/commit-with-llm @@ -45,3 +45,7 @@ EOF git commit --amend fi } + +cwl() { + commit-with-llm +} \ No newline at end of file diff --git a/prompts/18_add-alias-for-all-commands.md b/prompts/18_add-alias-for-all-commands.md new file mode 100644 index 0000000..424d481 --- /dev/null +++ b/prompts/18_add-alias-for-all-commands.md @@ -0,0 +1,43 @@ +--- +title: "Add alias for all commands" +state: draft +model: +input_tokens: +--- + +# Run 18 + +Note: @Clanker refers to the "ai agent" (you) who is working on this task. + +@Clanker when working on this task, make sure to: + +- Read context and task section first +- Prepare a list of todos +- Update the todo list while working on the task + +## Context + +Read the `AGENTS.md` and `README.md` to get an understanding of the project. + +## Task + +I already have an alias for the task script called `t`. Now I would like to have task aliases for all commands in `bin`. + +Intstead of running `task commit-with-llm` I want to run `t cwl`. The first letters of the command become the command alias. + +Propose a way to define command aliases. My ideas is appending + +```bash + +cwl() { + commit-with-llm +} +``` + +to `bin/commit-with-llm`. + +## Worklog + +@Clanker Add a summary here once the task has been completed. + +@Clanker Set frontmatter state to completed and update info about model and token usage.