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

add describe command to hub #4329

Open
sehz opened this issue Jan 15, 2025 · 1 comment
Open

add describe command to hub #4329

sehz opened this issue Jan 15, 2025 · 1 comment
Assignees

Comments

@sehz
Copy link
Contributor

sehz commented Jan 15, 2025

List smartmodule first

$ fluvio hub sm list

  SMARTMODULE                              Visibility  Released      
  infinyon/[email protected]                       public      2 days ago    

Show metadata

$ fluvio hub sm info  infinyon/[email protected] 

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/[email protected] 

# 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/[email protected]
```

## Example of usage in Connector
....
@digikata
Copy link
Contributor

@fraidev I can talk you through the start of this - it should be pretty simple

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

No branches or pull requests

3 participants