Skip to content

Commit a55f3db

Browse files
committed
feat: bump to madwizard 0.13.0 to pick up interactive fixes
1 parent 131d15b commit a55f3db

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

bin/codeflare

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ fi
111111
# indicated by the -u option)
112112
do_cli=1
113113
use_docker=0
114-
while getopts "qadnVus:" opt
114+
while getopts "iqadnVus:" opt
115115
do
116116
case $opt in
117117
d) use_docker=1; continue;;
@@ -123,6 +123,7 @@ done
123123
shift $((OPTIND-1))
124124

125125
if [ $use_docker = 1 ]; then
126+
# launch inside a docker container
126127
exec docker run -it --entrypoint ${ENTRYPOINT-codeflare} --rm -v /tmp:/tmp -v ~/.aws:/home/codeflare/.aws -v ~/.bluemix:/home/codeflare/.bluemix -v ~/.kube:/home/codeflare/.kube -e KUBECONFIG=$(echo $KUBECONFIG | sed "s/$USER/codeflare/g" | sed 's/Users/home/g') ghcr.io/project-codeflare/codeflare-cli -- $*
127128
fi
128129

@@ -175,4 +176,5 @@ fi
175176
trap 'pkill -P $$; exit 1;' TERM INT
176177

177178
# otherwise, we launch the UI version
179+
echo "!!!!!!!!!!!!!!!! $EXTRAPREFIX $*"
178180
"$NODE" "$HEADLESS"/codeflare.min.js -- $EXTRAPREFIX $*

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/plugin-madwizard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"madwizard": "^0.12.1"
26+
"madwizard": "^0.13.0"
2727
}
2828
}

plugins/plugin-madwizard/src/plugin.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ interface Options extends ParsedOptions {
2929
/** Do not tee logs to the console */
3030
q: boolean
3131
quiet: boolean
32+
33+
/** Interactive guide mode? [default: false] */
34+
i: boolean
35+
interactive: boolean
3236
}
3337

3438
// TODO export this from madwizard
@@ -75,8 +79,8 @@ function withFilepath(
7579
/** Register Kui Commands */
7680
export default function registerMadwizardCommands(registrar: Registrar) {
7781
const flags = {
78-
boolean: ["u", "V", "n", "q"],
79-
alias: { quiet: ["q"] },
82+
boolean: ["u", "V", "n", "q", "i"],
83+
alias: { quiet: ["q"], interactive: ["i"] },
8084
}
8185

8286
registrar.listen(

0 commit comments

Comments
 (0)