class Functio::FunctioCLI
Functio
command-line interface.
Private Instance Methods
function_to_str(function)
click to toggle source
# File lib/functio/functio_cli.rb, line 103 def function_to_str(function) "#{function.name} <#{function.params.join('> <')}>" end
map_function_args(params, args)
click to toggle source
# File lib/functio/functio_cli.rb, line 107 def map_function_args(params, args) args.map.with_index { |arg, i| [params[i], arg] }.to_h end
repository()
click to toggle source
# File lib/functio/functio_cli.rb, line 99 def repository @repository ||= FunctionRepository.new end