Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): add sub command kamel kamelet for get and delete #2312 #2351

Merged
merged 1 commit into from
Jun 3, 2021

Conversation

tadayosi
Copy link
Member

@tadayosi tadayosi commented Jun 3, 2021

This adds a feature-rich kamel kamelet sub command with get and delete supports.

$ ./kamel kamelet get -h
Get defined Kamelet.

Usage:
  kamel kamelet get [flags]

Flags:
      --action         Show only action Kamelets
      --bundled        Includes bundled Kamelets (default true)
      --group string   Filters Kamelets by group
  -h, --help           help for get
      --read-only      Includes read-only Kamelets (default true)
      --sink           Show only sink Kamelets
      --source         Show only source Kamelets
...
$ ./kamel kamelet delete -h
Delete a Kamelet.

Usage:
  kamel kamelet delete <name> [flags]

Flags:
      --all    Delete all Kamelets
  -h, --help   help for delete
...

kamel kamelet get output would look like this:

$ ./kamel kamelet get
NAME				PHASE	TYPE	GROUP			BUNDLED	READ ONLY	TITLE
aws-ddb-streams-source		Ready	source	AWS DynamoDB Streams	true	true		AWS DynamoDB Streams Source
aws-kinesis-firehose-sink	Ready	sink	AWS Kinesis Firehose	true	true		AWS Kinesis Firehose Sink
aws-kinesis-sink		Ready	sink	AWS Kinesis		true	true		AWS Kinesis Sink
aws-kinesis-source		Ready	source	AWS Kinesis		true	true		AWS Kinesis Source
aws-lambda-sink			Ready	sink	AWS Lambda		true	true		AWS Lambda Sink
aws-s3-sink			Ready	sink	AWS S3			true	true		AWS S3 Sink
aws-s3-source			Ready	source	AWS S3			true	true		AWS S3 Source
aws-sns-fifo-sink		Ready	sink	AWS SNS			true	true		AWS SNS FIFO Sink
aws-sns-sink			Ready	sink	AWS SNS			true	true		AWS SNS Sink
aws-sqs-batch-sink		Ready	sink	AWS SQS			true	true		AWS SQS Batch Sink
aws-sqs-fifo-sink		Ready	sink	AWS SQS			true	true		AWS SQS FIFO Sink
aws-sqs-sink			Ready	sink	AWS SQS			true	true		AWS SQS Sink
aws-sqs-source			Ready	source	AWS SQS			true	true		AWS SQS Source
...

@tadayosi tadayosi merged commit 7e8ff53 into apache:main Jun 3, 2021
@nicolaferraro nicolaferraro mentioned this pull request Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants