Method: Jets::CLI::Call#run
- Defined in:
- lib/jets/cli/call.rb
#run ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/jets/cli/call.rb', line 16 def run warn "Calling Lambda function #{function_name}" result = invoke warn "Response:".color(:green) # only thing that goes to stdout. so can pipe to commands like jq puts JSON.pretty_generate(result) end |