Skip to main content
===========
Mist CLI
===========
.. image:: https://codecov.io/gh/Hydrospheredata/mist-cli/branch/master/graph/badge.svg
:target: https://codecov.io/github/Hydrospheredata/mist-cli
:alt: codecov.io
.. image:: https://travis-ci.org/Hydrospheredata/mist-cli.svg?branch=master
:target: https://travis-ci.org/Hydrospheredata/mist-cli
:alt: travis-ci.org

CLI interface for mist server for creating and updating mist function and context configuration.

Installation
--------------
.. code-block:: bash

pip install mist-cli

Autocompletion
---------------
Instantly run the script every time when bash starts that generates content of **mist-cli-complete.sh**.

.. code-block:: bash

echo 'eval "$(_MIST_CLI_COMPLETE=source mist-cli)"' >> ~/.bash_profile


Or you can just add **mist-cli-complete.sh** somewhere in the system and execute it when it needed.

Also, you can generate that script by yourself:

.. code-block:: bash

_MIST_CLI_COMPLETE=source mist-cli > mist-cli-complete.sh


Usage mist-cli apply
---------------
Apply method accepts **-f** or **--file** parameter that should contain file or folder with ***.conf** files that represent your mist configuration (Artifact, Function or Context).

The content of the file is a simple model that describes deployment of a particular entry of your config.

All conf files should follow some format (e.g `00artifact.conf <example/my-awesome-job/00artifact.conf>`_)
where field **version** is only supported in Artifact model type.
By default, you can name your config files as you want and all configs will be processed without any order.
So you can define this order with 2 numbers followed by a name.
So, for example, you name your stage **test-stage** and want it run with priority **10**
you should name the file like **10test-stage.conf**.

For easy development process, you can skip validation of your configuration, for example,
by default, *Function* models will be validated against context and artifact existence.
So if you want to update *Function* with *context = foo* and *path = test-job_0_0_1.py*
make sure that artifact with that key and context with that name exists in *Mist*.
You can easily skip this kind of validation with **--validate** flag.

Metadata

Release files for mist-cli 1.0.6

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

Source distribution (sdist)

Source distribution for mist-cli 1.0.6
File Size Uploaded Provenance Actions
mist-cli-1.0.6.tar.gz 10.8 kB Without provenance Details for mist-cli-1.0.6.tar.gz

Release files / mist-cli-1.0.6.tar.gz

Download URL mist-cli-1.0.6.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e7284506442bebffdb2cd455134da2b50f29a2cae1227a9a0b95b84f6f3c632e
BLAKE2b-256 checksum
How to use checksums
6982f70074fcbbc5f8b84bee7d89066b3df01a6f772f64a16b6bde0f4580ee2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

Security for mist-cli 1.0.6

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