Option definitions should allow named arguments for easier access and more descriptive help screens.
Example:
option :user, [:name]
That way the argument could be accessed via args[:user][:name] instead of the more cryptic args[:user][0]. Additionally a (not yet existing) command help screen could be more verbose:
Option definitions should allow named arguments for easier access and more descriptive help screens.
Example:
That way the argument could be accessed via
args[:user][:name]
instead of the more crypticargs[:user][0]
. Additionally a (not yet existing) command help screen could be more verbose: