feat(cdk): add plugin (#13831)

Co-authored-by: Marc Cornellà <marc@mcornella.com>
This commit is contained in:
Akshat1927
2026-08-03 10:16:50 +02:00
committed by GitHub
co-authored by Marc Cornellà
parent 6adfef3a8b
commit da368d6468
3 changed files with 57 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#compdef cdk
# Originally found and adapted from: https://github.com/aws/aws-cdk/discussions/24380#discussioncomment-5158176
local -a reply
local IFS
IFS=$'\n' reply=($(COMP_CWORD="$((CURRENT-1))" \
COMP_LINE="$BUFFER" \
COMP_POINT="$CURSOR" \
cdk --get-yargs-completions "${words[@]}"))
_describe 'values' reply