npm package: @makeropsinc/cli
Description: MakerOps CLI
Author: @makeropsinc
Latest version: 2.2.2

# @makeropsinc/cli
================

MakerOps CLI

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@makeropsinc/cli.svg)](https://npmjs.org/package/@makeropsinc/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@makeropsinc/cli.svg)](https://npmjs.org/package/@makeropsinc/cli)
[![License](https://img.shields.io/npm/l/@makeropsinc/cli.svg)](https://github.com/@makeropsinc/cli/blob/master/package.json)

<!-- toc -->
* [@makeropsinc/cli](#makeropsinccli)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @makeropsinc/cli
$ makerops COMMAND
running command...
$ makerops (-v|--version|version)
@makeropsinc/cli/2.2.2 darwin-arm64 node-v18.15.0
$ makerops --help [COMMAND]
USAGE
  $ makerops COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`makerops add OBJECT`](#makerops-add-object)
* [`makerops add-function`](#makerops-add-function)
* [`makerops add-webhook`](#makerops-add-webhook)
* [`makerops add-workflow`](#makerops-add-workflow)
* [`makerops build [OBJECT] [ID]`](#makerops-build-object-id)
* [`makerops build-functions [FUNCTION]`](#makerops-build-functions-function)
* [`makerops build-workflows [WORKFLOW]`](#makerops-build-workflows-workflow)
* [`makerops check [ORG]`](#makerops-check-org)
* [`makerops clean`](#makerops-clean)
* [`makerops config [ORG]`](#makerops-config-org)
* [`makerops delete OBJECT ID`](#makerops-delete-object-id)
* [`makerops delete-function [FUNCTION]`](#makerops-delete-function-function)
* [`makerops delete-webhook [WEBHOOK]`](#makerops-delete-webhook-webhook)
* [`makerops delete-workflow [WORKFLOW]`](#makerops-delete-workflow-workflow)
* [`makerops deploy [OBJECT] [ID]`](#makerops-deploy-object-id)
* [`makerops deploy-functions [FUNCTION]`](#makerops-deploy-functions-function)
* [`makerops deploy-webhooks [WEBHOOKID]`](#makerops-deploy-webhooks-webhookid)
* [`makerops deploy-workflows [WORKFLOWID]`](#makerops-deploy-workflows-workflowid)
* [`makerops get [FUNCTION]`](#makerops-get-function)
* [`makerops help [COMMAND]`](#makerops-help-command)
* [`makerops init [FOLDER]`](#makerops-init-folder)
* [`makerops list [OBJECTS]`](#makerops-list-objects)
* [`makerops list-functions`](#makerops-list-functions)
* [`makerops list-webhooks`](#makerops-list-webhooks)
* [`makerops list-workflows`](#makerops-list-workflows)
* [`makerops login ORGID`](#makerops-login-orgid)
* [`makerops publish [FUNCTION] [VERSION]`](#makerops-publish-function-version)
* [`makerops run OBJECT ID`](#makerops-run-object-id)
* [`makerops run-function [FUNCTION]`](#makerops-run-function-function)
* [`makerops run-workflow [WORKFLOWID]`](#makerops-run-workflow-workflowid)
* [`makerops track OBJECT ID`](#makerops-track-object-id)
* [`makerops track-function [FUNCTION]`](#makerops-track-function-function)
* [`makerops track-webhook [WEBHOOK]`](#makerops-track-webhook-webhook)
* [`makerops track-workflow [WORKFLOW]`](#makerops-track-workflow-workflow)
* [`makerops versions [FUNCTION]`](#makerops-versions-function)

## `makerops add OBJECT`

Add a new object (function/workflow/webhook)

```
USAGE
  $ makerops add OBJECT

OPTIONS
  -c, --config=config            Config file
  -d, --description=description  Description
  -i, --id=id                    Object ID
  -n, --name=name                Display name
  -o, --org=org                  Org ID
  -p, --auto_publish             Auto publish
  -t, --tags=tags                Tags (comma separated)
  --dir=dir                      Directory under base path in which to save the file

EXAMPLES
  $ makerops add function
  add new function
    
  $ makerops add workflow
  add new workflow
    
  $ makerops add webhook
  add new webhook
```

_See code: [lib/commands/add.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/add.js)_

## `makerops add-function`

Add new function

```
USAGE
  $ makerops add-function

OPTIONS
  -c, --config=config            Config file
  -d, --description=description  Description
  -i, --id=id                    Object ID
  -n, --name=name                Display name
  -o, --org=org                  Org ID
  -p, --auto_publish             Auto publish
  -t, --tags=tags                Tags (comma separated)
  --dir=dir                      Directory under base path in which to save the file

EXAMPLES
  $ makerops add-function
  Add new function to this project
    
  $ makerops add-function --name helloWorld --description="Hello World" --tags="comma,separated,tags"
  Add new function to this project with name helloWorld, description "Hello World" and tags "comma", "separated" and 
  "tags"
```

_See code: [lib/commands/add-function.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/add-function.js)_

## `makerops add-webhook`

Add new webhook

```
USAGE
  $ makerops add-webhook

OPTIONS
  -c, --config=config            Config file
  -d, --description=description  Description
  -i, --id=id                    Object ID
  -n, --name=name                Display name
  -o, --org=org                  Org ID
  --dir=dir                      Directory under base path in which to save the file

EXAMPLES
  $ makerops add-webhook
  Add new webhook to this project
    
  $ makerops add-webhook --id user-signed-up --name="User Signed Up"
  Add new webhook to this project with ID user-signed-up, name "User Signed Up"
```

_See code: [lib/commands/add-webhook.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/add-webhook.js)_

## `makerops add-workflow`

Add new workflow

```
USAGE
  $ makerops add-workflow

OPTIONS
  -c, --config=config  Config file
  -i, --id=id          Object ID
  -n, --name=name      Display name
  -o, --org=org        Org ID
  --dir=dir            Directory under base path in which to save the file

EXAMPLES
  $ makerops add-workflow
  Add new workflow to this project
    
  $ makerops add-workflow --id helloWorld --name="Hello World"
  Add new workflow to this project with ID helloWorld, name "Hello World"
```

_See code: [lib/commands/add-workflow.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/add-workflow.js)_

## `makerops build [OBJECT] [ID]`

Build everything

```
USAGE
  $ makerops build [OBJECT] [ID]

OPTIONS
  -c, --config=config  Config file
  -n, --noClean        Do not clean up build folder

EXAMPLE
  $ makerops build
  build all functions/workflows/webhooks/etc
```

_See code: [lib/commands/build.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/build.js)_

## `makerops build-functions [FUNCTION]`

Build function/s

```
USAGE
  $ makerops build-functions [FUNCTION]

OPTIONS
  -c, --config=config  Config file
  -n, --noClean        Do not clean up build folder

EXAMPLES
  $ makerops build
  build all functions
    
  $ makerops build helloWorld
  build the 'helloWorld' function
```

_See code: [lib/commands/build-functions.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/build-functions.js)_

## `makerops build-workflows [WORKFLOW]`

Build workflow/s

```
USAGE
  $ makerops build-workflows [WORKFLOW]

OPTIONS
  -c, --config=config  Config file
  -n, --noClean        Do not clean up build folder

EXAMPLES
  $ makerops build-workflows
  build all workflows
    
  $ makerops build-workflows helloWorld
  build the 'helloWorld' workflow
```

_See code: [lib/commands/build-workflows.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/build-workflows.js)_

## `makerops check [ORG]`

Check configuration

```
USAGE
  $ makerops check [ORG]

EXAMPLE
  $ makerops check [org]
  check cli config (environment variables)
```

_See code: [lib/commands/check.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/check.js)_

## `makerops clean`

Clean build cache

```
USAGE
  $ makerops clean

EXAMPLE
  $ makerops clean
  cleanup build cache
```

_See code: [lib/commands/clean.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/clean.js)_

## `makerops config [ORG]`

Update authentication config

```
USAGE
  $ makerops config [ORG]

OPTIONS
  -a, --api_url=api_url            API URL
  -c, --config=config              Config file
  -e, --userEmail=userEmail        User email
  -i, --clientId=clientId          Client ID
  -n, --userName=userName          User name
  -s, --clientSecret=clientSecret  Client secret
  -u, --userId=userId              User ID
  -v, --environment=(dev|prod)     Environment (dev/prod)

EXAMPLE
  $ makerops config myorg --userEmail development@makerops.com
  Set user's email for org myorg
```

_See code: [lib/commands/config.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/config.js)_

## `makerops delete OBJECT ID`

Delete an object (function/workflow/webhook)

```
USAGE
  $ makerops delete OBJECT ID

OPTIONS
  -c, --config=config  Config file
  -k, --keep           Keep local file
  -o, --org=org        Org ID

EXAMPLES
  $ makerops delete function fn001
  delete function 'fn001'
    
  $ makerops delete workflow wf001
  delete workflow 'wf001'
    
  $ makerops delete webhook wh001
  delete webhook 'wh001'
```

_See code: [lib/commands/delete.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/delete.js)_

## `makerops delete-function [FUNCTION]`

Delete function

```
USAGE
  $ makerops delete-function [FUNCTION]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  -p, --keep           Auto publish

EXAMPLES
  $ makerops delete-function fn39
  Delete function 'fn39'
    
  $ makerops delete-function fn39 --keep
  Delete function 'fn39' keeping the local file.
```

_See code: [lib/commands/delete-function.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/delete-function.js)_

## `makerops delete-webhook [WEBHOOK]`

Delete webhook

```
USAGE
  $ makerops delete-webhook [WEBHOOK]

OPTIONS
  -c, --config=config  Config file
  -k, --keep           Keep local file
  -o, --org=org        Org ID

EXAMPLES
  $ makerops delete-webhook wh001
  Delete webhook 'wh001'
    
  $ makerops delete-webhook wh001 --keep
  Delete webhook 'wh001' keeping the local file.
```

_See code: [lib/commands/delete-webhook.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/delete-webhook.js)_

## `makerops delete-workflow [WORKFLOW]`

Delete workflow

```
USAGE
  $ makerops delete-workflow [WORKFLOW]

OPTIONS
  -c, --config=config  Config file
  -k, --keep           Keep local file
  -o, --org=org        Org ID

EXAMPLES
  $ makerops delete-workflow wf001
  Delete workflow 'wf001'
    
  $ makerops delete-workflow wf001 --keep
  Delete workflow 'wf001' keeping the local file.
```

_See code: [lib/commands/delete-workflow.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/delete-workflow.js)_

## `makerops deploy [OBJECT] [ID]`

Deploy functions/workflows/etc

```
USAGE
  $ makerops deploy [OBJECT] [ID]

OPTIONS
  -c, --config=config  Config file
  -f, --force          Force deployment (do not check if source code modified)
  -i, --ignore_npm     Ignore NPM files (package.json, package-lock.json)
  -n, --no_tag         Do not tag the head commit
  -o, --org=org        Org ID
  -p, --publish        Publish the new version
  -y, --yes            Assume yes for any questions (do not prompt)

EXAMPLES
  $ makerops deploy
  deploy all objects modified since last successful deployment (tag)
    
  $ makerops deploy workflow wf001 --no_tag
  deploy workflow '001' if modified since last successful deployment, not tagging the repo
```

_See code: [lib/commands/deploy.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/deploy.js)_

## `makerops deploy-functions [FUNCTION]`

Deploy function/s

```
USAGE
  $ makerops deploy-functions [FUNCTION]

OPTIONS
  -c, --config=config  Config file
  -f, --force          Force deployment (do not check if source code modified)
  -i, --ignore_npm     Ignore NPM files (package.json, package-lock.json)
  -n, --no_tag         Do not tag the head commit
  -o, --org=org        Org ID
  -p, --publish        Publish the new version
  -y, --yes            Assume yes for any questions (do not prompt)

EXAMPLES
  $ makerops deploy-functions
  deploy all functions modified since last successful deployment (tag)
    
  $ makerops deploy-functions helloWorld
  deploy the 'helloWorld' function if modified since last successful deployment (tag)
```

_See code: [lib/commands/deploy-functions.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/deploy-functions.js)_

## `makerops deploy-webhooks [WEBHOOKID]`

Deploy Webhook/s

```
USAGE
  $ makerops deploy-webhooks [WEBHOOKID]

OPTIONS
  -c, --config=config  Config file
  -f, --force          Force deployment (do not check if source code modified)
  -i, --ignore_npm     Ignore NPM files (package.json, package-lock.json)
  -n, --no_tag         Do not tag the last deployment
  -o, --org=org        Org ID
  -p, --publish        Publish version
  -y, --yes            Assume yes for any questions (do not prompt)

EXAMPLES
  $ makerops deploy-webhook
  deploy all webhooks
    
  $ makerops deploy-webhooks helloWorld
  deploy the 'helloWorld' webhook
```

_See code: [lib/commands/deploy-webhooks.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/deploy-webhooks.js)_

## `makerops deploy-workflows [WORKFLOWID]`

Deploy Workflow/s

```
USAGE
  $ makerops deploy-workflows [WORKFLOWID]

OPTIONS
  -c, --config=config  Config file
  -f, --force          Force deployment (do not check if source code modified)
  -i, --ignore_npm     Ignore NPM files (package.json, package-lock.json)
  -n, --no_tag         Do not tag the last deployment
  -o, --org=org        Org ID
  -p, --publish        Publish version
  -y, --yes            Assume yes for any questions (do not prompt)

EXAMPLES
  $ makerops deploy-workflow
  deploy all workflows
    
  $ makerops deploy-workflow helloWorld
  deploy the 'helloWorld' workflow
```

_See code: [lib/commands/deploy-workflows.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/deploy-workflows.js)_

## `makerops get [FUNCTION]`

Get function details

```
USAGE
  $ makerops get [FUNCTION]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  -r, --results        Results only

EXAMPLE
  $ makerops get helloWorld
  return details about the 'helloWorld' function
```

_See code: [lib/commands/get.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/get.js)_

## `makerops help [COMMAND]`

display help for makerops

```
USAGE
  $ makerops help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_

## `makerops init [FOLDER]`

Initialize a new project

```
USAGE
  $ makerops init [FOLDER]

OPTIONS
  -o, --org=org          Organization ID
  -p, --path=path        Path to function entry folder
  -v, --version=version  Config version

EXAMPLE
  $ makerops init
```

_See code: [lib/commands/init.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/init.js)_

## `makerops list [OBJECTS]`

List tracked objects (functions/workflows/webhooks)

```
USAGE
  $ makerops list [OBJECTS]

OPTIONS
  -c, --config=config  Config file

EXAMPLES
  $ makerops list
  List all functions/workflows/webhooks tracked in this project
    
  $ makerops list functions
  List all functions tracked in this project
```

_See code: [lib/commands/list.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/list.js)_

## `makerops list-functions`

List functions tracked in this project

```
USAGE
  $ makerops list-functions

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID

EXAMPLE
  $ makerops list-functions
  List all functions in this project
```

_See code: [lib/commands/list-functions.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/list-functions.js)_

## `makerops list-webhooks`

List webhooks tracked in this project

```
USAGE
  $ makerops list-webhooks

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID

EXAMPLE
  $ makerops list-webhooks
  List all webhooks in this project
```

_See code: [lib/commands/list-webhooks.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/list-webhooks.js)_

## `makerops list-workflows`

List workflows tracked in this project

```
USAGE
  $ makerops list-workflows

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID

EXAMPLE
  $ makerops list-workflows
  List all workflows in this project
```

_See code: [lib/commands/list-workflows.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/list-workflows.js)_

## `makerops login ORGID`

Login to MakerOps

```
USAGE
  $ makerops login ORGID

OPTIONS
  -a, --app_url=app_url  MakerOps Application URL
  -c, --config=config    Config file
  -u, --api_url=api_url  MakerOps API URL

EXAMPLE
  $ makerops login org-name
  Login to MakerOps using org <org-name>
```

_See code: [lib/commands/login.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/login.js)_

## `makerops publish [FUNCTION] [VERSION]`

Publish a function version (make it available in Workflows)

```
USAGE
  $ makerops publish [FUNCTION] [VERSION]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  -r, --results        Results only

EXAMPLES
  $ makerops publish helloWorld
  Publish the latest version of the 'helloWorld' function

  $ makerops publish helloWorld 3
  Publish version 3 of the 'helloWorld' function
```

_See code: [lib/commands/publish.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/publish.js)_

## `makerops run OBJECT ID`

Run/invoke an object (function/workflow)

```
USAGE
  $ makerops run OBJECT ID

OPTIONS
  -c, --config=config    Config file
  -l, --local            Run locally
  -o, --org=org          Org ID
  -p, --payload=payload  [default: {}] JSON payload
  -r, --results          Results only
  -v, --version=version  Version to execute

EXAMPLES
  $ makerops run workflow wf001
  Execute workflow 'wf001'
    
  $ makerops run function fn001
  Execute function 'fn001'
```

_See code: [lib/commands/run.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/run.js)_

## `makerops run-function [FUNCTION]`

Invoke a function

```
USAGE
  $ makerops run-function [FUNCTION]

OPTIONS
  -c, --config=config    Config file
  -l, --local            Run locally
  -o, --org=org          Org ID
  -p, --payload=payload  [default: {}] JSON payload
  -r, --results          Results only
  -v, --version=version  Version to execute

EXAMPLE
  $ makerops run-function helloWorld
  run the 'helloWorld' function
```

_See code: [lib/commands/run-function.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/run-function.js)_

## `makerops run-workflow [WORKFLOWID]`

Run a workflow

```
USAGE
  $ makerops run-workflow [WORKFLOWID]

OPTIONS
  -c, --config=config    Config file
  -l, --local            Run locally
  -o, --org=org          Org ID
  -p, --payload=payload  [default: {}] JSON payload
  -r, --results          Results only
  -v, --version=version  Version to execute

EXAMPLE
  $ makerops run-workflow wf01
  run the 'wf01' workflow
```

_See code: [lib/commands/run-workflow.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/run-workflow.js)_

## `makerops track OBJECT ID`

Start tracking object (function/workflow/webhook)

```
USAGE
  $ makerops track OBJECT ID

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  --dir=dir            Directory under base path in which to save the file

EXAMPLES
  $ makerops track workflow wf001
  Start tracking workflow 'wf001'
    
  $ makerops track function fn001
  Start tracking function 'fn001'
```

_See code: [lib/commands/track.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/track.js)_

## `makerops track-function [FUNCTION]`

Start tracking an existing function

```
USAGE
  $ makerops track-function [FUNCTION]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  --dir=dir            Directory under base path in which to save the file

EXAMPLE
  $ makerops track-function fn1023
  Start tracking the 'fn1023' function
```

_See code: [lib/commands/track-function.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/track-function.js)_

## `makerops track-webhook [WEBHOOK]`

Start tracking an existing webhook

```
USAGE
  $ makerops track-webhook [WEBHOOK]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  --dir=dir            Directory under base path in which to save the file

EXAMPLE
  $ makerops track-webhook wh001
  Start tracking the webhook 'wh001'
```

_See code: [lib/commands/track-webhook.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/track-webhook.js)_

## `makerops track-workflow [WORKFLOW]`

Start tracking an existing workflow

```
USAGE
  $ makerops track-workflow [WORKFLOW]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID
  --dir=dir            Directory under base path in which to save the file

EXAMPLE
  $ makerops track-workflow wf1023
  Start tracking the 'wf1023' workflow
```

_See code: [lib/commands/track-workflow.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/track-workflow.js)_

## `makerops versions [FUNCTION]`

List function versions

```
USAGE
  $ makerops versions [FUNCTION]

OPTIONS
  -c, --config=config  Config file
  -o, --org=org        Org ID

EXAMPLE
  $ makerops get helloWorld
  return details about the 'helloWorld' function
```

_See code: [lib/commands/versions.js](https://github.com/makeropsinc/cli/blob/v2.2.2/lib/commands/versions.js)_
<!-- commandsstop -->