Method: #expand_config_args

Defined in:
lib/pluto/cli/main.rb

#expand_config_args(args) ⇒ Object



37
38
39
40
41
42
43
44
45
46
# File 'lib/pluto/cli/main.rb', line 37

def expand_config_args( 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