CLI to deal with resources under event-manager namespace.
$ npm install -g @dasmeta/event-manager-cli
$ emc COMMAND
running command...
$ emc (--version)
@dasmeta/event-manager-cli/1.3.26 linux-x64 node-v16.20.2
$ emc --help [COMMAND]
USAGE
$ emc COMMAND
...
emc autocomplete [SHELL]
emc config init
emc dev run function
emc dev run topic
emc dev start
emc dev trigger-event
emc function create
emc function list-topics
emc function package generate NAME
emc function sync-dependencies
emc function sync-version
emc function validate
emc help [COMMAND]
emc platform generate-deploy
emc platform update-stats
emc plugins
emc plugins:install PLUGIN...
emc plugins:inspect PLUGIN...
emc plugins:install PLUGIN...
emc plugins:link PLUGIN
emc plugins:uninstall PLUGIN...
emc plugins:uninstall PLUGIN...
emc plugins:uninstall PLUGIN...
emc plugins update
display autocomplete installation instructions
USAGE
$ emc autocomplete [SHELL] [-r]
ARGUMENTS
SHELL shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
display autocomplete installation instructions
EXAMPLES
$ emc autocomplete
$ emc autocomplete bash
$ emc autocomplete zsh
$ emc autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
Initializes configurations.
USAGE
$ emc config init [-f]
FLAGS
-f, --force restore all default configs
DESCRIPTION
Initializes configurations.
EXAMPLES
$ emc config init
Run function in local environment
USAGE
$ emc dev run function --project-dir <value> --function-namespace <value> --function-name <value> --test-data-file
<value> [--project-name <value>] [--env-file <value>]
FLAGS
--env-file=<value> Environment variables file with JSON format
--function-name=<value> (required) Function name
--function-namespace=<value> (required) Function namespace
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
--test-data-file=<value> (required) Test data file
DESCRIPTION
Run function in local environment
EXAMPLES
$ emc dev run function
Run topic in local environment
USAGE
$ emc dev run topic --project-dir <value> --test-data-file <value> -t <value> [--project-name <value>]
[--env-file <value>]
FLAGS
-t, --topic=<value> (required) Topic to run
--env-file=<value> Environment variables file with JSON format
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
--test-data-file=<value> (required) Test data file
DESCRIPTION
Run topic in local environment
EXAMPLES
$ emc dev run topic
Starts consumers in local environment
USAGE
$ emc dev start --project-dir <value> [--project-name <value>] [-t <value>] [-T <value>] [-s <value>] [-S
<value>] [--default-max-attempt <value>] [--env-file <value>] [--force]
FLAGS
-S, --excluded-subscription=<value>... [default: ] Subscription to exclude consuming
-T, --excluded-topic=<value>... [default: ] Topics to exclude consuming
-s, --subscription=<value>... [default: ] Subscription to consume
-t, --topic=<value>... [default: ] Topics to consume
--default-max-attempt=<value> [default: 3] Default function execution attempts count
--env-file=<value> Environment variables file with JSON format
--force Ignore issues and run anyway
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Starts consumers in local environment
EXAMPLES
$ emc dev start
Publishes Event.
USAGE
$ emc dev trigger-event --kafka-bootstrap-server <value> -t <value> -e <value> [--debug]
FLAGS
-e, --event=<value> (required) Topic body
-t, --topic=<value> (required) Topic to run
--debug Activate debug mode.
--kafka-bootstrap-server=<value> (required) Kafka server for Fission MQT
DESCRIPTION
Publishes Event.
EXAMPLES
$ emc dev trigger-event
Create Function blueprint
USAGE
$ emc function create --project-dir <value> --namespace <value> --name <value> [--project-name <value>]
FLAGS
--name=<value> (required) Function name
--namespace=<value> (required) Function namespace
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Create Function blueprint
EXAMPLES
$ emc function create
Lists topics
USAGE
$ emc function list-topics --project-dir <value> [--project-name <value>] [--dump]
FLAGS
--dump Dump as command option
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Lists topics
EXAMPLES
$ emc function list-topics
Create Function project
USAGE
$ emc function package generate [NAME] --project-dir <value> [--functions-dir <value>]
ARGUMENTS
NAME Project name
FLAGS
--functions-dir=<value> [default: functions] Functions root directory
--project-dir=<value> (required) Project root directory
DESCRIPTION
Create Function project
EXAMPLES
$ emc function package generate
Syncs all detected functions dependencies to match to project one.
USAGE
$ emc function sync-dependencies --project-dir <value> [--project-name <value>]
FLAGS
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Syncs all detected functions dependencies to match to project one.
EXAMPLES
$ emc function sync-dependencies
Syncs all detected changed functions versions.
USAGE
$ emc function sync-version --project-dir <value> [--project-name <value>]
FLAGS
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Syncs all detected changed functions versions.
EXAMPLES
$ emc function sync-version
Validates functions in the project
USAGE
$ emc function validate --project-dir <value> [--project-name <value>]
FLAGS
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Validates functions in the project
EXAMPLES
$ emc function validate
Display help for emc.
USAGE
$ emc help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for emc.
See code: @oclif/plugin-help
Generates deployment files.
USAGE
$ emc platform generate-deploy --project-dir <value> --env-file <value> --event-manager-backend-host <value> [--project-name
<value>] [--is-GCF --functions-list-file <value>] [--is-fission --fission-namespace <value>] [--is-serverless-aws
--aws-region <value>] [--kafka-bootstrap-server <value> | --rabbitmq-host <value>] [-t <value>] [-T <value>] [-s
<value>] [-S <value>]
FLAGS
-S, --excluded-subscription=<value>... [default: ] Subscription to exclude
-T, --excluded-topic=<value>... [default: ] Topics to exclude
-s, --subscription=<value>... [default: ] Functions to deploy
-t, --topic=<value>... [default: ] Topics to deploy functions for
--aws-region=<value> AWS region
--env-file=<value> (required) Deployment environment file
--event-manager-backend-host=<value> (required) Event manager backend host
--fission-namespace=<value> Fission deployment namespace
--functions-list-file=<value> GCF deployed functions list
--is-GCF Use GCF instructions
--is-fission Use fission instructions
--is-serverless-aws Use serverless instructions for AWS
--kafka-bootstrap-server=<value> Kafka server for Fission MQT
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
--rabbitmq-host=<value> Rabbit host for Fission MQT
DESCRIPTION
Generates deployment files.
EXAMPLES
$ emc platform generate-deploy
Update events list in backend
USAGE
$ emc platform update-stats --project-dir <value> --event-manager-backend-host <value> [--project-name <value>] [-t
<value>] [-T <value>] [-s <value>] [-S <value>] [--headers <value>]
FLAGS
-S, --excluded-subscription=<value>... [default: ] Subscription to exclude
-T, --excluded-topic=<value>... [default: ] Topics to exclude
-s, --subscription=<value>... [default: ] Functions to deploy
-t, --topic=<value>... [default: ] Topics to deploy functions for
--event-manager-backend-host=<value> (required) Event manager backend host
--headers=<value> [default: {}] Headers to send for update (JSON string)
--project-dir=<value> (required) Project root directory
--project-name=<value> Sub project directory
DESCRIPTION
Update events list in backend
EXAMPLES
$ emc platform update-stats
List installed plugins.
USAGE
$ emc plugins [--core]
FLAGS
--core Show core plugins.
DESCRIPTION
List installed plugins.
EXAMPLES
$ emc plugins
See code: @oclif/plugin-plugins
Installs a plugin into the CLI.
USAGE
$ emc plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ emc plugins add
EXAMPLES
$ emc plugins:install myplugin
$ emc plugins:install https://github.com/someuser/someplugin
$ emc plugins:install someuser/someplugin
Displays installation properties of a plugin.
USAGE
$ emc plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ emc plugins:inspect myplugin
Installs a plugin into the CLI.
USAGE
$ emc plugins:install PLUGIN...
ARGUMENTS
PLUGIN Plugin to install.
FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ emc plugins add
EXAMPLES
$ emc plugins:install myplugin
$ emc plugins:install https://github.com/someuser/someplugin
$ emc plugins:install someuser/someplugin
Links a plugin into the CLI for development.
USAGE
$ emc plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ emc plugins:link myplugin
Removes a plugin from the CLI.
USAGE
$ emc plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ emc plugins unlink
$ emc plugins remove
Removes a plugin from the CLI.
USAGE
$ emc plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ emc plugins unlink
$ emc plugins remove
Removes a plugin from the CLI.
USAGE
$ emc plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ emc plugins unlink
$ emc plugins remove
Update installed plugins.
USAGE
$ emc plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.