dtolabs/rerun — Issue #8: rerun needs to enforce usage of required option
Author: connaryscott
Created: 2012-01-06 19:07:37+00:00
State: open

Executing the following where we add a required option:

rerun stubbs:add-option --name version --description "version of myproduct to install" --module my-rundeck --command install --required true

Leads to no failure when the option is not specified

[chuck@centos-56-64-vm8 rerun]$ ./rerun my-rundeck
[commands]
install: "install rundeck standalone"
[options]
-v|--version: "version of rundeck to install"

Digging further:

[chuck@centos-56-64-vm8 rerun]$ ./rerun wsgc-rundeck: install

I notice that it did not complain that such version param is not provided