Skip to content

add describe command to hub #4329

@sehz

Description

@sehz

List smartmodule first

$ fluvio hub sm list

  SMARTMODULE                              Visibility  Released      
  infinyon/jaq@0.1.0                       public      2 days ago    

Show metadata

$ fluvio hub sm info  infinyon/jaq@0.1.0 

package:
  name: "jaq"
  group: "infinyon"
  version: "0.1.0"
  apiVersion: "0.1.0"
  description: "JSON to JSON transformation using JQ"
  license: "Apache-2.0"
  visibility: "public"
  repository: "https://github.com/infinyon/fluvio-jaq"

params:
  - name: "filter"
    description: "JQ filter to apply"
    optional: false

Show readme

$ fluvio hub sm readme  infinyon/jaq@0.1.0 

# fluvio-jq

SmartModule for processing json record using jq syntax.  We use rust version of [jq](https://github.com/01mf02/jaq/tree/main/) to process JSON data.


## Playground

You can use the [jaq playground](https://gedenkt.at/jaq/) to test Jq expression.


## To Install

```bash
fluvio hub smartmodule download  infinyon/jaq@0.1.0
```

## Example of usage in Connector
....

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions