Add completions for deno task subcommand (#9618)

[ci skip]
This commit is contained in:
sigmaSd 2023-03-05 20:43:38 +01:00 committed by GitHub
parent dd7b177d72
commit 307c58dd07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,2 @@
deno completions fish | source
complete -f -c deno -n "__fish_seen_subcommand_from task" -a "(deno eval \"try {console.log(Object.keys(JSON.parse(Deno.readTextFileSync('deno.json')).tasks).join('\n'))} catch {} \")"