The FaaSpot command-line interface (CLI) is the default method for interacting with FaaSpot, to manage your functions.
For installation instructions, please refer to the Installation section.
You can access the CLI by running the fas
command in your terminal.
Use cfy -h
to display a list of all the commands and their descriptions.
$ fas -h
usage: fas [-h] [--version] {spots,functions,executions,profiles} ...
positional arguments:
{spots,functions,executions,profiles}
Manages the FaaSpot account
spots Manages spots
functions Manages functions
executions Manages executions
profiles Manages profiles
optional arguments:
-h, --help Shows this help message and exits
--version Show the version number and exits
Any command in the CLI has the option to show you the command logs.
You find this option in the help message for the command, for example: fas spots list -h
The verbosity levels are:
fas
).Note
To directly use HTTP requests, you can run a command using -vvv
. It will show you the HTTP requests that have been used.