Skip to content

ironflow function

List and inspect registered functions.

Terminal window
ironflow function <subcommand> [flags]

List all registered functions with their triggers and execution mode.

Terminal window
ironflow function list [flags]

Flags:

FlagShortTypeDefaultDescription
--server-sstringServer URL override
--jsonboolfalseOutput as JSON
--limitint100Maximum number of functions to return

Output:

ID TRIGGERS MODE
stripe-handler stripe.payment.* push
order-process order.created pull

Get detailed information about a registered function.

Terminal window
ironflow function get <function-id> [flags]

Arguments:

ArgumentRequiredDescription
function-idYesThe function ID to look up

Flags:

FlagShortTypeDefaultDescription
--server-sstringServer URL override
--jsonboolfalseOutput as JSON

Output:

ID: stripe-handler
Name: Stripe Handler
Description: Handles Stripe webhook events
Mode: push
Endpoint: http://localhost:3000/api/ironflow
Triggers: stripe.payment.*

Examples:

Terminal window
ironflow function list
ironflow function list --json
ironflow function get stripe-handler
ironflow function get stripe-handler --json