Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dasmeta/event-manager-cli

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dasmeta/event-manager-cli

CLI for event manager components.

  • 1.3.26
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

event-manager-cli

CLI to deal with resources under event-manager namespace.

oclif Version CircleCI Downloads/week License

Usage

$ 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
...

Commands

emc autocomplete [SHELL]

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

emc config init

Initializes configurations.

USAGE
  $ emc config init [-f]

FLAGS
  -f, --force  restore all default configs

DESCRIPTION
  Initializes configurations.

EXAMPLES
  $ emc config init

emc dev run function

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

emc dev run topic

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

emc dev start

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

emc dev trigger-event

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

emc function create

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

emc function list-topics

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

emc function package generate NAME

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

emc function sync-dependencies

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

emc function sync-version

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

emc function validate

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

emc help [COMMAND]

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

emc platform generate-deploy

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

emc platform update-stats

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

emc plugins

List installed plugins.

USAGE
  $ emc plugins [--core]

FLAGS
  --core  Show core plugins.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ emc plugins

See code: @oclif/plugin-plugins

emc plugins:install PLUGIN...

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

emc plugins:inspect PLUGIN...

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

emc plugins:install PLUGIN...

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

emc plugins:uninstall PLUGIN...

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

emc plugins:uninstall PLUGIN...

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

emc plugins:uninstall PLUGIN...

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

emc plugins update

Update installed plugins.

USAGE
  $ emc plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

Keywords

FAQs

Package last updated on 31 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc