Code Monkey home page Code Monkey logo

mist-cli's Introduction

Mist CLI

codecov.io

travis-ci.org

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

Installation

pip install mist-cli

Autocompletion

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

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:

_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) 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.

mist-cli's People

Contributors

blvp avatar mkf-simpson avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.