monday-code-cli
monday.com cli tool for <monday-code />
apps management.
Development
Local install
$ cd <monday-code-cli repo>
$ nvm use
$ npm i -g yarn
$ yarn global add ./
$ yarn
$ yarn build
$ mapps YOUR_COMMAND
Add new command
$ cd <monday-code-cli repo>
$ oclif generate command <COMMAND_NAME>
Usage
$ npm install -g @mondaycom/apps-cli
$ mapps COMMAND
running command...
$ mapps (--version)
@mondaycom/apps-cli/0.1.10 linux-x64 node-v18.12.1
$ mapps --help [COMMAND]
USAGE
$ mapps COMMAND
...
Commands
mapps app-version:list
List all versions for a specific app.
USAGE
$ mapps app-version:list [--verbose] [-i <value>]
FLAGS
-i, --appId=<value> Please enter app id:
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
List all versions for a specific app.
EXAMPLES
$ mapps app-version:list
See code: dist/commands/app-version/list.ts
mapps app:list
List all apps for a specific user.
USAGE
$ mapps app:list [--verbose]
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
List all apps for a specific user.
EXAMPLES
$ mapps app:list
See code: dist/commands/app/list.ts
mapps autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ mapps autocomplete [SHELL] [-r]
ARGUMENTS
SHELL (zsh|bash|powershell) Shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ mapps autocomplete
$ mapps autocomplete bash
$ mapps autocomplete zsh
$ mapps autocomplete powershell
$ mapps autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
mapps code:env
Manage environment variables for your app hosted on monday-code.
USAGE
$ mapps code:env [--verbose] [-i <value>] [-m list-keys|set|delete] [-k <value>] [-v <value>]
FLAGS
-i, --appId=<value> The id of the app to manage environment variables for
-k, --key=<value> variable key [required for set and delete]]
-m, --mode=<option> management mode
<options: list-keys|set|delete>
-v, --value=<value> variable value [required for set]
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
Manage environment variables for your app hosted on monday-code.
EXAMPLES
$ mapps code:env
See code: dist/commands/code/env.ts
mapps code:logs
Stream logs
USAGE
$ mapps code:logs [--verbose] [-i <value>] [-t <value>] [-s <value>] [-f <value>] [-e <value>] [-r <value>]
FLAGS
-e, --logsEndDate=<value> End date (MM/DD/YYYY HH:mm) e.g. "03/25/1983 16:45" [supported only if
eventSource=live]
-f, --logsStartDate=<value> Start date (MM/DD/YYYY HH:mm) e.g. "03/24/1983 15:45" [supported only if
eventSource=live]
-i, --appVersionId=<value> Please enter the app version id of your app:
-r, --logSearchFromText=<value> text: a text in regex that will be searched among the logs text [supported only if
eventSource=live]
-s, --eventSource=<value> Source: "live" for live events, "History" for fetching events from the past
-t, --logsType=<value> Logs type: "http" for http events, "console" for stdout
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
Stream logs
EXAMPLES
$ mapps code:logs -i APP_VERSION_ID -t LOGS_TYPE
See code: dist/commands/code/logs.ts
mapps code:push
Push your project to get hosted on monday-code.
USAGE
$ mapps code:push [--verbose] [-d <value>] [-i <value>]
FLAGS
-d, --directoryPath=<value> Directory path of you project in your machine. If not included will use the current
working directory.
-i, --appVersionId=<value> Please enter the app version id of your app:
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
Push your project to get hosted on monday-code.
EXAMPLES
$ mapps code:push -d PROJECT DIRECTORY PATH -i APP_VERSION_ID_TO_PUSH
$ mapps code:push -i APP_VERSION_ID_TO_PUSH
See code: dist/commands/code/push.ts
mapps code:status
Status of a specific project hosted on monday-code.
USAGE
$ mapps code:status [--verbose] [-i <value>]
FLAGS
-i, --appVersionId=<value> Please enter the app version id of your app:
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
Status of a specific project hosted on monday-code.
EXAMPLES
$ mapps code:status -i APP_VERSION_ID
See code: dist/commands/code/status.ts
mapps help [COMMANDS]
Display help for mapps.
USAGE
$ mapps help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for mapps.
See code: @oclif/plugin-help
mapps init
Initialize mapps config file - ".mappsrc".
USAGE
$ mapps init [--verbose] [-t <value>]
FLAGS
-t, --token=<value> monday.com api access token (https://developer.monday.com/api-reference/docs/authentication)
GLOBAL FLAGS
--verbose Print advanced logs (optional).
DESCRIPTION
Initialize mapps config file - ".mappsrc".
EXAMPLES
$ mapps init -t SECRET_TOKEN
See code: dist/commands/init/index.ts