Top Level Namespace
- Includes:
- GLI::App
Defined Under Namespace
Instance Method Summary collapse
- #expand_config_args(args) ⇒ Object
-
#FEED ⇒ Object
todo/fix: check multiple will not print typeo???.
-
#FILE ⇒ Object
todo/fix: check multiple will not print typeo???.
-
#load_config(name) ⇒ Object
begin move to pluto for reuse (e.g. in rakefile).
Instance Method Details
#expand_config_args(args) ⇒ Object
37 38 39 40 41 42 43 44 45 46 |
# File 'lib/pluto/cli/main.rb', line 37 def ( args ) ## todo/check: rename method?? e.g. check_config_args ## or auto_complete_config_ars similar? why? why not?? if args.empty? ## no args? args.length == 0 ['planet.ini'] # add default planet.ini for convenience else args # pass through as-is end end |
#FEED ⇒ Object
todo/fix: check multiple will not print typeo???
76 |
# File 'lib/pluto/cli/main.rb', line 76 arg_name 'FEED', multiple: true |
#FILE ⇒ Object
todo/fix: check multiple will not print typeo???
130 |
# File 'lib/pluto/cli/main.rb', line 130 arg_name 'FILE', multiple: true |
#load_config(name) ⇒ Object
begin
move to pluto for reuse (e.g. in rakefile)
27 28 29 30 |
# File 'lib/pluto/cli/main.rb', line 27 def load_config( name ) config = INI.load_file( name ) config end |