spesnova / iruka

A lightweight container platform
MIT License
3 stars 0 forks source link

Exit if Config Vars value is not given #25

Closed dtan4 closed 9 years ago

dtan4 commented 9 years ago

Fix #23

WHAT

If Config Vars value is missing, CLI shows help and exit with failed state.

$ ./iruka set BAR
NAME:
   set - Set config vars to the app

USAGE:
   command set [command options] [arguments...]

DESCRIPTION:

   $ iruka set <KEY1>=<VALUE1>,<KEY2>=<VALUE2>

EXAMPLE:

   $ iruka set HELLO=world,SOME_FLAG=1
   FOO:       bar
   BAZ:       qux
   HELLO:     world
   SOME_FLAG: 1

OPTIONS:
   --app        app name or id
spesnova commented 9 years ago

LGTM :+1:

And this is known bug: #24