Skip to main content

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.

Metadata

Release files for mfn-cli 0.8.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mfn-cli 0.8.9
File Size Uploaded Provenance
mfn_cli-0.8.9.tar.gz 9.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mfn-cli 0.8.9
File Interpreter ABI Platform
mfn_cli-0.8.9-py3-none-any.whl Python 3 none any Details

Total release size: 23.6 kB

Release files / mfn_cli-0.8.9.tar.gz

Download URL mfn_cli-0.8.9.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1a0470f31efea555368d51fa6db3ee1e6c53a341f72038a8d95d8b96d2034e74
BLAKE2b-256 checksum
How to use checksums
be3653a097be9e4da8479e4cf49b1e3c731d49779516eeebfd2443fdc02999bd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / mfn_cli-0.8.9-py3-none-any.whl

Download URL mfn_cli-0.8.9-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1758fbdd1dafa17e7086d12a202431951fc03040e3f8ed23b346d64563ca5688
BLAKE2b-256 checksum
How to use checksums
223273acdc254530cf45b9d29cae63bd10f26f3769aafbdab7911a24abb62eb5
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for mfn-cli 0.8.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page