Skip to content

Open source CLI tool to help you develop and manage serverless applications.

License

Notifications You must be signed in to change notification settings

lumigo-io/lumigo-CLI

Repository files navigation

lumigo-cli

A collection of helpful commands for working with AWS Lambda.

oclif Version Downloads/week License

Usage

$ npm install -g lumigo-cli
$ lumigo-cli COMMAND
running command...
$ lumigo-cli (-v|--version|version)
lumigo-cli/0.0.0 darwin-x64 node-v10.16.0
$ lumigo-cli --help [COMMAND]
USAGE
  $ lumigo-cli COMMAND
...

Commands

lumigo-cli help [COMMAND]

display help for lumigo-cli

USAGE
  $ lumigo-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

lumigo-cli list-lambda

List Lambda functions in ALL regions

USAGE
  $ lumigo-cli list-lambda

OPTIONS
  -i, --inactive       only include functions that are inactive for 30 days
  -r, --region=region  only include functions in an AWS region, e.g. us-east-1

See code: src/commands/list-lambda.js

lumigo-cli replay-sqs-dlq

Replays the messages in a SQS DLQ back to the main queue

USAGE
  $ lumigo-cli replay-sqs-dlq

OPTIONS
  -c, --concurrency=concurrency    [default: 10] how many concurrent pollers to run
  -d, --dlqQueueName=dlqQueueName  (required) name of the SQS DLQ queue, e.g. task-queue-dlq-dev
  -n, --queueName=queueName        (required) name of the SQS queue, e.g. task-queue-dev
  -r, --region=region              (required) AWS region, e.g. us-east-1

See code: src/commands/replay-sqs-dlq.js

lumigo-cli sls-remove

Deletes a CloudFormation stack that was generated by the Serverless framework

USAGE
  $ lumigo-cli sls-remove

OPTIONS
  -n, --stackName=stackName  (required) name of the CloudFormation stack, e.g. hello-world-dev
  -r, --region=region        (required) AWS region, e.g. us-east-1

See code: src/commands/sls-remove.js

lumigo-cli tail-kinesis

Tails the records going into a Kinesis stream

USAGE
  $ lumigo-cli tail-kinesis

OPTIONS
  -n, --streamName=streamName  (required) name of the Kinesis stream, e.g. event-stream-dev
  -r, --region=region          (required) AWS region, e.g. us-east-1

See code: src/commands/tail-kinesis.js

lumigo-cli tail-sns

Describe the command here

USAGE
  $ lumigo-cli tail-sns

OPTIONS
  -n, --name=name  name to print

DESCRIPTION
  ...
  Extra documentation goes here

See code: src/commands/tail-sns.js

lumigo-cli tail-sqs

Tails the messages going into a SQS queue

USAGE
  $ lumigo-cli tail-sqs

OPTIONS
  -n, --queueName=queueName  (required) name of the SQS queue, e.g. task-queue-dev
  -r, --region=region        (required) AWS region, e.g. us-east-1

See code: src/commands/tail-sqs.js