task-keeper icon indicating copy to clipboard operation
task-keeper copied to clipboard

Feature: support Taskfile aliases

Open tennox opened this issue 1 year ago • 1 comments

Taskfile Docs

Example Taskfile.yml:

version: '3'
tasks:
  generate:
    aliases: [gen]
    cmds:
      - task: gen-mocks

Current behaviour

  • alias is not found
  • list shows cut-off description
❯ task --list-all
task: Available tasks for this project:
* generate:             (aliases: gen)
❯ tk gen
[tk] no tasks found
❯ tk -l
Available task runners:
  task: Taskfile.yml - https://taskfile.dev
    -- default
    -- generate : (aliases

tennox avatar Jun 21 '24 08:06 tennox

Task names with colons in them are also broken:

❯ task --list-all
task: Available tasks for this project:
* db:live-dump:
* db:pull:

❯ tk -l
Available task runners:
  task: Taskfile.yml - https://taskfile.dev
    -- db : live-dump
    -- db : pull
❯ tk db:pull
[tk] no tasks found

Seems to parse the part after the colon as description

tennox avatar Jun 21 '24 13:06 tennox

Fixed, please try version 0.24.0

linux-china avatar Sep 01 '24 05:09 linux-china