Skip to main content

No project description provided

Project description

 ________  __                     
|        \|  \                    
| $$$$$$$$ \$$ ________  ________ 
| $$__    |  \|        \|        \
| $$  \   | $$ \$$$$$$$$ \$$$$$$$$
| $$$$$   | $$  /    $$   /    $$ 
| $$      | $$ /  $$$$_  /  $$$$_ 
| $$      | $$|  $$    \|  $$    \
 \$$       \$$ \$$$$$$$$ \$$$$$$$$
                                  

Expected directory structure

 |-function1
   |-requirements.txt
   |-__init__.py
   |-build.sh
   |-lib
   | |-some-library.tar.gz
   | |-__init__.py
   |-main.py
 |-function2
   |-requirements.txt
   |-__init__.py
   |-build.sh
   |-main.py
 |-specs
   |-fission-deployment-config.yaml
   |-function-function1.yaml
   |-function-function2.yaml
   |-package-function1.yaml
   |-package-function2.yaml
   |-README
   |-route-function1.yaml
   |-route-function2.yaml
   |-env-somenv.yaml
 |-win-package.bat
 |-lin-package.sh
 |-function1.zip
 |-function2.zip
 
 

Fission CLI wrapper for easy project management.

Usage

$ [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:

  • delete: Deletes the code folder and the function,...
  • fn: Manage functions.
  • i: Interactive Mode
  • init: Initialise fission in the current...
  • new: Creates a new function with the given name.
  • rename: Renames an existing function to a new name.
  • route: Manage routes for functions.

delete

Deletes the code folder and the function, route and package specs.

Usage:

$ delete [OPTIONS] FUNCTION_NAME

Arguments:

  • FUNCTION_NAME: [required]

Options:

  • --help: Show this message and exit.

fn

Manage functions. fn is not mandatory, all commands pertaining to functions also work without fn keyword .

Usage:

$ fn [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • delete: Deletes the code folder and the function,...
  • new: Creates a new function with the given name.
  • rename: Renames an existing function to a new name.

fn delete

Deletes the code folder and the function, route and package specs.

Usage:

$ fn delete [OPTIONS] FUNCTION_NAME

Arguments:

  • FUNCTION_NAME: [required]

Options:

  • --help: Show this message and exit.

fn new

Creates a new function with the given name.

Usage:

$ fn new [OPTIONS] FUNCTION_NAME

Arguments:

  • FUNCTION_NAME: [required]

Options:

  • --help: Show this message and exit.

fn rename

Renames an existing function to a new name.

Usage:

$ fn rename [OPTIONS] FN_NAME

Arguments:

  • FN_NAME: [required]

Options:

  • --help: Show this message and exit.

i

Interactive Mode

Usage:

$ i [OPTIONS]

Options:

  • --help: Show this message and exit.

init

Initialise fission in the current directory so that fission development can be started

Usage:

$ init [OPTIONS]

Options:

  • --help: Show this message and exit.

new

Creates a new function with the given name.

Usage:

$ new [OPTIONS] FUNCTION_NAME

Arguments:

  • FUNCTION_NAME: [required]

Options:

  • --help: Show this message and exit.

rename

Renames an existing function to a new name.

Usage:

$ rename [OPTIONS] FN_NAME

Arguments:

  • FN_NAME: [required]

Options:

  • --help: Show this message and exit.

route

Manage routes for functions.

Usage:

$ route [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • delete: Deletes the route of the function.
  • rename: Renames a route associated with a function...

route delete

Deletes the route of the function.

Usage:

$ route delete [OPTIONS] FUNCTION_NAME

Arguments:

  • FUNCTION_NAME: [required]

Options:

  • --help: Show this message and exit.

route rename

Renames a route associated with a function to a new route name.

Usage:

$ route rename [OPTIONS] FUNCTION_NAME NEW_ROUTE_NAME

Arguments:

  • FUNCTION_NAME: [required]
  • NEW_ROUTE_NAME: [required]

Options:

  • --help: Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fizz_cli-0.1.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fizz_cli-0.1.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file fizz_cli-0.1.1.tar.gz.

File metadata

  • Download URL: fizz_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Windows/10

File hashes

Hashes for fizz_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b0b2e895b844cbeadfb7d0fdf5c3bf87ac909f146309b26ab2e2e051c3b95291
MD5 d9b55811f0d5d934fd44d5ae69a71c3a
BLAKE2b-256 a45b30d470bbcf63730ed79bf8af0a5cd06c4baa53c4c37f80c3cffeeb0fa686

See more details on using hashes here.

File details

Details for the file fizz_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fizz_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Windows/10

File hashes

Hashes for fizz_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bb3ebe19d739730f4deb61ffb976da2d289b65d5080b966e2ded910bfbcf9bf
MD5 0530c1b5de648e095615f97a6aebcb99
BLAKE2b-256 e5531cd1fb426efda23304752cb60d989bd3d6866e6c51d426bc6a276ad86538

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page