Compare commits

...

1 Commits

  1. 8
      .install/bin/pdm-launch

8
.install/bin/pdm-launch

@ -18,22 +18,22 @@ as the image.
Options:
-f Force overwrite if a container with the given name already exists
-c Configure the container with deploy options stored in the image
metadata. By default, uses the metadata tag labeled 'config_default'
-l [label] Label from which to get the deploy options. Automatically sets -c
metadata tag labeled 'runopts'
-e [options] Extra deploy options to assign to the container. If -e and -c are
both used, options from image metadata and command line are combined
-h Display this help and exit"
# -l [label] Label from which to get the deploy options. Automatically sets -c
# Handle options
opt_force=0
opt_config=0
opt_label='config_default'
opt_label='runopts'
opt_extras=''
while getopts ':fcl:e:h' arg; do
case $arg in
f) opt_force=1;;
c) opt_config=1;;
l) opt_config=1; opt_label="${OPTARG}";;
# l) opt_config=1; opt_label="${OPTARG}";;
e) opt_extras="${OPTARG}";;
h) echo "$help"; exit 0;;
:) badarg "Argument missing for option '-$OPTARG'";;

Loading…
Cancel
Save