No project description provided
Project description
functions-cli
Run script to executing, testing and deploying included functions.
Usage:
$ functions-cli [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
build
gcp
: Deploy functions in GCPlist
: List existing functionsnew
: Factory method for creating new functionsremove
run
: Start a container for a given functionstop
functions-cli build
Usage:
$ functions-cli build [OPTIONS] FUNCTION_PATH
Arguments:
FUNCTION_PATH
: Path to the functions you want to build [required]
Options:
--force
: [default: False]--help
: Show this message and exit.
functions-cli gcp
Deploy functions in GCP
Usage:
$ functions-cli gcp [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
delete
: Deletes a functions deployed to GCPdeploy
: Deploy a functions to GCPdescribe
: Returns information about a deployed functioninstall
: Install required librarieslogs
: Reads log from a deployed functionupdate
: Update required libraries
functions-cli gcp delete
Deletes a functions deployed to GCP
Usage:
$ functions-cli gcp delete [OPTIONS] FUNCTION_NAME
Arguments:
FUNCTION_NAME
: Name of the function you want to remove [required]
Options:
--help
: Show this message and exit.
functions-cli gcp deploy
Deploy a functions to GCP
Usage:
$ functions-cli gcp deploy [OPTIONS] FUNCTION_DIR
Arguments:
FUNCTION_DIR
: Path to the functions you want to deploy [required]
Options:
--service [cloud_function]
: Type of service you want this resource to be deploy to--help
: Show this message and exit.
functions-cli gcp describe
Returns information about a deployed function
Usage:
$ functions-cli gcp describe [OPTIONS]
Options:
--help
: Show this message and exit.
functions-cli gcp install
Install required libraries
Usage:
$ functions-cli gcp install [OPTIONS]
Options:
--help
: Show this message and exit.
functions-cli gcp logs
Reads log from a deployed function
Usage:
$ functions-cli gcp logs [OPTIONS]
Options:
--help
: Show this message and exit.
functions-cli gcp update
Update required libraries
Usage:
$ functions-cli gcp update [OPTIONS]
Options:
--help
: Show this message and exit.
functions-cli list
List existing functions
Usage:
$ functions-cli list [OPTIONS]
Options:
--help
: Show this message and exit.
functions-cli new
Factory method for creating new functions
Usage:
$ functions-cli new [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
http
: Creates a new http directorypubsub
: Creates a new pubsub directory
functions-cli new http
Creates a new http directory
Usage:
$ functions-cli new http [OPTIONS] FUNCTION_NAME
Arguments:
FUNCTION_NAME
: Name of a function in alphabetic constrain [i.e new-function] [required]
Options:
--dir PATH
: Directory that will be used as a root of the new function--help
: Show this message and exit.
functions-cli new pubsub
Creates a new pubsub directory
Usage:
$ functions-cli new pubsub [OPTIONS] FUNCTION_NAME
Arguments:
FUNCTION_NAME
: Name of a function in alphabetic constrain [i.e new-function] [required]
Options:
--dir TEXT
: Directory that will be used as a root of the new function--help
: Show this message and exit.
functions-cli remove
Usage:
$ functions-cli remove [OPTIONS] FUNCTION_NAME
Arguments:
FUNCTION_NAME
: Name of the function you want to remove [required]
Options:
--help
: Show this message and exit.
functions-cli run
Start a container for a given function
Usage:
$ functions-cli run [OPTIONS] FUNCTION_NAME
Arguments:
FUNCTION_NAME
: Name of the function you want to run [required]
Options:
--help
: Show this message and exit.
functions-cli stop
Usage:
$ functions-cli stop [OPTIONS] FUNCTION_NAME
Arguments:
FUNCTION_NAME
: Name of the function you want to stop [required]
Options:
--help
: Show this message and exit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for functions_cli-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a15b796d754fa9feef1ffeeb1bc18b4b3323794e2c71790bceecff0cb38c5fb7 |
|
MD5 | 98a8c3e2d29b5158b9a21bd43e4e3959 |
|
BLAKE2b-256 | 6e68600cc0766e5e7ca4b7ee57d9ee37aefec17ce229d5b3ebcad6cd5deac0c2 |