doctl serverless functions list

Go to Navigation

Usage

doctl serverless functions list [<packageName>] [flags]

Aliases

ls

Description

Lists the functions in your functions namespace.

Example

The following example lists the three most recently updated functions in the example package:

doctl serverless functions list example --limit 3

Flags

Option Description
--count Returns only the total number of functions in the namespace
Default: false
--format Columns for output in a comma-separated list. Possible values: Update, Version, Runtime, Function.
--help , -h Help for this command
--limit , -l Returns the specified number of functions in the result, starting with the most recently updated function.
--name , -n Sorts results by name in alphabetical order
Default: false
--name-sort Sorts results by name in alphabetical order
Default: false
--no-header Return raw data with no headers
Default: false
--skip , -s Excludes the specified number of functions from the result, starting with the most recently updated function. For example, if you specify 2, the most recently updated function and the function updated before that are excluded from the result.
Command Description
doctl serverless functions Work with the functions in your namespace

Global Flags

Option Description
--access-token, -t API V2 access token
--api-url, -u Override default API endpoint
--config, -c Specify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--context Specify a custom authentication context name
--http-retry-max Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5
--http-retry-wait-max Set the minimum number of seconds to wait before retrying a failed request
Default: 30
--http-retry-wait-min Set the maximum number of seconds to wait before retrying a failed request
Default: 1
--interactive Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false
--output, -o Desired output format [text|json]
Default: text
--trace Show a log of network activity while performing a command
Default: false
--verbose, -v Enable verbose output
Default: false