tadayosi opened a new pull request #2351:
URL: https://github.com/apache/camel-k/pull/2351


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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to