fn invoke
April 3, 2019 ยท View on GitHub
$ fn invoke
DEVELOPMENT COMMANDS
fn invoke - Invoke a remote function
USAGE
fn [global options] invoke [command options] [app-name] [function-name]
DESCRIPTION
This command invokes a function. Users may send input to their function by passing input to this command via STDIN.
COMMAND OPTIONS
--endpoint value Specify the function invoke endpoint for this function, the app-name and func-name parameters will be ignored
--content-type value The payload Content-Type for the function invocation.
--display-call-id whether display call ID or not
--output value Output format (json)