Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: support Taskfile aliases #12

Closed
tennox opened this issue Jun 21, 2024 · 2 comments
Closed

Feature: support Taskfile aliases #12

tennox opened this issue Jun 21, 2024 · 2 comments
Assignees

Comments

@tennox
Copy link
Contributor

tennox commented Jun 21, 2024

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
Copy link
Contributor Author

tennox commented Jun 21, 2024

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

@linux-china linux-china self-assigned this Aug 21, 2024
linux-china added a commit that referenced this issue Aug 21, 2024
@linux-china
Copy link
Owner

Fixed, please try version 0.24.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants