Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jgantunes/ipfs-testbed-cli

IPFS testbed CLI
https://github.com/jgantunes/ipfs-testbed-cli

cli ipfs js kubectl kubernetes node testbed toxiproxy

Last synced: 5 days ago
JSON representation

IPFS testbed CLI

Awesome Lists containing this project

README

        

# JS IPFS Testbed CLI

A CLI tool to interact with the [JS-IPFS test bed](https://github.com/jgantunes/ipfs-testbed) built usind NodeJS.

## Requirements

- `nodejs` `>=8` in order to use the cli

**IMPORTANT**: the CLI will use your current kube context, so make sure to have the right cluster selected before jumping on this.

## Install

```
npm install
```

Or skip the install step entirely and just use npx

```
npx -p ipfs-testbed ipt
```

## Cli Usage

```
$ ipt --help
ipt

Commands:
bin.js create creates the given resources
bin.js delete delete the given resources
bin.js exec exec in a IPFS Node
bin.js get get the given resources
bin.js completion generate bash completion script

Options:
--version Show version number [boolean]
-h, --help Show help [boolean]

```

You can run `ipt --help` to get further details about a specific command:
```
$ ipt exec pulsarcast --help
ipt exec pulsarcast

exec pulsarcast in this IPFS Node

Commands:
bin.js exec pulsarcast create create a topic with name
[node-id] from [from-node-id] or
a random node
bin.js exec pulsarcast publish publish at
[node-id] from [node-id] or a random node
bin.js exec pulsarcast subscribe subscribe to from
[node-id] [node-id] or a random node

Options:
--version Show version number [boolean]
-h, --help Show help [boolean]

```

## License
MIT