KNIX MicroFunctions Command Line Interface
Project description
KNIX MicroFunctions Command Line Interface (CLI)
The package provides the mfn command based on the KNIX MicroFunctions SDK.
The latest version of the CLI can be obtained from KNIX releases. It's also hosted at PyPI and can be installed with the PyPA recommended tool for installing Python packages:
pip3 install mfn_cli
Using the cli
mfn login
The login action is used to obtain a valid user token for all subsequent operations. The token will be updated/stored in ~/.mfn/config.yaml
mfn login [--url <url>] [--user <username>] [--password <password>]
$ mfn login --url https://knix.io --user test@example.com
Logging into https://knix.io as user test@example.com
Please enter the password: ************
$
Commands
$ mfn -h
Usage: mfn [OPTIONS] COMMAND [ARGS]...
Options:
-q Quiet, (Log level -q: ERROR, -qq: no output).
-v Verbose, reduces log levels (-v: INFO, -vv: DEBUG).
--version Show the version and exit.
-h, --help Show this message and exit.
Commands:
version Show software versions used
login Log in to your MicroFunctions platform
invoke Invoke a workflow.
deploy Deploy a workflow
undeploy Undeploy a workflow.
logs Fetch logs of a workflow.
create Create a resource [workflow|function].
get Get a resource [workflow|function].
edit Edit a resource [workflow|function].
delete Delete a resource [workflow|function].
workflow Show workflow specification.
workflows List workflows.
function Show code of a function.
functions List functions.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mfn_cli-0.8.9.tar.gz.
File metadata
- Download URL: mfn_cli-0.8.9.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a0470f31efea555368d51fa6db3ee1e6c53a341f72038a8d95d8b96d2034e74
|
|
| MD5 |
c859d421921743246acf1ac6488d87a3
|
|
| BLAKE2b-256 |
be3653a097be9e4da8479e4cf49b1e3c731d49779516eeebfd2443fdc02999bd
|
File details
Details for the file mfn_cli-0.8.9-py3-none-any.whl.
File metadata
- Download URL: mfn_cli-0.8.9-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1758fbdd1dafa17e7086d12a202431951fc03040e3f8ed23b346d64563ca5688
|
|
| MD5 |
36a1af3f01335280b6d7e468fe394be8
|
|
| BLAKE2b-256 |
223273acdc254530cf45b9d29cae63bd10f26f3769aafbdab7911a24abb62eb5
|