API Reference

myp

myp [OPTIONS] COMMAND [ARGS]...

add

Add new script

myp add [OPTIONS]

Options

-n, --name <name>

Name for new script

-c, --command <command>

Command that script will used for

-d, --description <description>

Description for new script (optional)

build

Special script that will execute “myp run build”

myp build [OPTIONS]

deploy

Special script that will execute “myp run deploy”

myp deploy [OPTIONS]

Options

-b, --build

Build before deploy

freeze

Output dependencies of project to requirements.txt

myp freeze [OPTIONS]

init

Initialize MYP in current folder

myp init [OPTIONS]

Options

-t, --template <template>

Name of template

--disable-oninit

Disable work of oninit event

install

Install dependencies in requirements.txt

myp install [OPTIONS]

list

Generate list of scripts as table

myp list [OPTIONS]

rm

Remove script

myp rm [OPTIONS]

Options

-n, --name <name>

Required Name of script to remove

run

Run MYP script with NAME

myp run [OPTIONS] NAME

Arguments

NAME

Required argument

set

Set value of key in myp.json

myp set [OPTIONS] NAME

Options

-v, --value <value>

Value to assing to key

Arguments

NAME

Required argument

show

Show value of key in myp.json

myp show [OPTIONS] NAME

Arguments

NAME

Required argument

start

Special script that will execute “myp run start”

myp start [OPTIONS]

test

Special script that will execute “myp run test”

myp test [OPTIONS]