|
@@ -11,22 +11,22 @@ alias cdkw='cdk watch'
|
|
|
function ch(){
|
|
function ch(){
|
|
|
local opts=$(cat << EOF
|
|
local opts=$(cat << EOF
|
|
|
cdk :: . ______________
|
|
cdk :: . ______________
|
|
|
-cdk_init :: cdk init app --language typescript
|
|
|
|
|
cdk_boot_def :: cdk bootstrap
|
|
cdk_boot_def :: cdk bootstrap
|
|
|
-cdk_boot_nodef :x: $(printf "cdk bootstrap --qualifier '%s'" "${1}" )
|
|
|
|
|
cdk_boot_imprt :: cdk bootstrap aws://%s/%s
|
|
cdk_boot_imprt :: cdk bootstrap aws://%s/%s
|
|
|
-cdk_synth :: NO_COLOR=1 cdk synth 2>&1 | tee cdk_synth.txt
|
|
|
|
|
-cdk_synth_sgl :: NO_COLOR=1 cdk synth '%s' 2>&1 | tee cdk_synth.txt
|
|
|
|
|
|
|
+cdk_boot_nodef :x: $(printf "cdk bootstrap --qualifier '%s'" "${1}" )
|
|
|
cdk_diff :: NO_COLOR=1 cdk diff 2>&1 | tee cdk_diff.txt
|
|
cdk_diff :: NO_COLOR=1 cdk diff 2>&1 | tee cdk_diff.txt
|
|
|
cdk_diff_sglstg :: NO_COLOR=1 cdk diff '%s' 2>&1 | tee cdk_diff.txt
|
|
cdk_diff_sglstg :: NO_COLOR=1 cdk diff '%s' 2>&1 | tee cdk_diff.txt
|
|
|
cdk_diff_sglstk :: NO_COLOR=1 cdk diff '%s' 2>&1 | tee cdk_diff.txt
|
|
cdk_diff_sglstk :: NO_COLOR=1 cdk diff '%s' 2>&1 | tee cdk_diff.txt
|
|
|
|
|
+cdk_init :: cdk init app --language typescript
|
|
|
|
|
+cdk_synth :: NO_COLOR=1 cdk synth 2>&1 | tee cdk_synth.txt
|
|
|
|
|
+cdk_synth_sgl :: NO_COLOR=1 cdk synth '%s' 2>&1 | tee cdk_synth.txt
|
|
|
|
|
+code :: . ______________
|
|
|
|
|
+code_cdktxt :: code '%s'
|
|
|
|
|
+crs :: . ______________
|
|
|
|
|
+crs_link :: $(printf "rm -f ~/dev/cursor/* ; ln -s '%s' '%s/dev/cursor/cdk_stuff_%s'" "${PWD}" "${HOME}" "$(pwd | sed -E 's|(.*)/head/(.*)|\1|g' | rev | cut -d '/' -f 1 | rev)")
|
|
|
npm :: . ______________
|
|
npm :: . ______________
|
|
|
npm_inst :: npm install
|
|
npm_inst :: npm install
|
|
|
npm_inst :: npx tsc
|
|
npm_inst :: npx tsc
|
|
|
-crs :: . ______________
|
|
|
|
|
-crs_link :: $(printf "rm -f ~/dev/cursor/* ; ln -s '%s' '%s/dev/cursor/cdk_stuff_%s'" "${PWD}" "${HOME}" "$(pwd | sed -E 's|(.*)/head/(.*)|\1|g' | rev | cut -d '/' -f 1 | rev)")
|
|
|
|
|
-code :: . ______________
|
|
|
|
|
-code_cdktxt :: code '%s'
|
|
|
|
|
EOF
|
|
EOF
|
|
|
)
|
|
)
|
|
|
|
|
|