mk icon indicating copy to clipboard operation
mk copied to clipboard

2.5.0 doesn't seem to see Taskfile anymore.

Open bdmorin opened this issue 7 months ago • 0 comments

I'm still troubleshooting, but mk 2.5.0 isn't parsing or picking up taskfile.yml (or it's various filenames) anymore.

I have a Taskfile in my home directory, which I guess can't be picked up by mk anymore

❯ mk detect
CRITICAL Current version of mk works only within git repos.
mk detect...

which is fine, but it's not picking up taskfiles in my repo either.

❯ ls ./*askfile* ls ~/*askfile*
./taskfile.yml  /Users/bdmorin/Taskfile.yml

❯ task --list-all
task: Available tasks for this project:
* check-gum:
* default:
* kustomize-*:
* quick-commit:
* trigger-build-branch:

❯ task -t ~/Taskfile.yml
task: Available tasks for this project:
* authorize-kubectl:          Authorize kubectl to access GKE cluster
* default:                    blargh
* verify-gcloud-config:       Verify current gcloud configuration
* whoami:                     Display your current gcloud information.

❯ mk detect
mk detect...

 mk --help

 Usage: mk [OPTIONS] COMMAND [ARGS]...

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version                                                                                                                                                                                                       │
│ --verbose             -v      INTEGER  Increase verbosity. [default: 0]                                                                                                                                         │
│ --install-completion                   Install completion for the current shell.                                                                                                                                │
│ --show-completion                      Show completion for the current shell, to copy it or customize the installation.                                                                                         │
│ --help                -h               Show this message and exit.                                                                                                                                              │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ commands   List all commands available.                                                                                                                                                                         │
│ detect     Display detected information about current project.                                                                                                                                                  │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ git ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ up         Upload current change by creating or updating a CR/PR. git                                                                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────

Hopefully I'll figure out what's going on and post my findings.

bdmorin avatar Jul 09 '24 13:07 bdmorin