Skip to content

draft of the marketplace CLI #386

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions docs/marketplace/cli.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
sidebar_position: 40
title: "CLI"
description: "CLI for Marketplace"
---


# Prerequisites

Please make sure you have the following installed:
- Fluvio Cloud CLI
- FVM (Fluvio Version Manager)


# Installation

To install Marketplace CLI, run the following command:

```bash
fvm install mkp-beta1-dev
```

Once installed, you can run the following command to verify the installation:

```bash
mkp help
```

# Provider commands

## Pre-requisite for listing provider

To managing the marketplace listing, you must have provisioned fluvio cluster and created at least one topic to list your datastream.

## Creating Marketplace listing

Listing creation command requires that you already have a selected cluster as source of the data source.


```bash
mkp listing create <listing-name> --topic <topic>
```

The topic must exist in the current fluvio cluster.

## Getting list of your market place listing

```bash
mkp listing list

```

# Subscriber commands

## Pre-requisite for subscribing

To subscribe to a listing, you don't need to have a fluvio cluster. You can subscribe to any listing that is available in the marketplace.

## Subscribing to a listing

```bash
mkp subscription subscribe <listing-name>
```

## Unsubscribe from a listing

```bash
mkp subscription unsubscribe <listing-name>
```

## List of your subscriptions

```bash
mkp subscription list
```

# Public market place listing

To see all the public listing, you don't need to be authenticated. You can run the following command to see all the public listing.

```bash
mkp marketplace list
```


10 changes: 10 additions & 0 deletions docs/marketplace/overview.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar_position: 1
title: "Overview"
description: "Marketplace is where you find data streams"

# Marketplace Overview

TBD


Loading