Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gers2017/umbra
Cli powered by zenode to send p2panda operations to a node
https://github.com/gers2017/umbra
cli command-line-tool graphql p2p p2panda rust utlity zenode
Last synced: about 5 hours ago
JSON representation
Cli powered by zenode to send p2panda operations to a node
- Host: GitHub
- URL: https://github.com/gers2017/umbra
- Owner: Gers2017
- Created: 2022-09-23T18:10:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-04T16:41:44.000Z (about 2 years ago)
- Last Synced: 2023-03-05T17:50:42.603Z (over 1 year ago)
- Topics: cli, command-line-tool, graphql, p2p, p2panda, rust, utlity, zenode
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Umbra
Cli powered by [zenode](https://github.com/Gers2017/zenode) to send operations to a p2panda node
## Quick start
```
Usage: umbra [COMMAND]Commands:
cs Create schema, requires name, description and fields
ci Create instance, requires schema_id and fields
ui Update instance, requires schema_id, view_id, and fields to update
di Delete instance, requires schema_id, last view_id
help Print this message or the help of the given subcommand(s)Options:
-h, --help Print help information
-V, --version Print version information
```## Clone and run [aquadoggo](https://github.com/p2panda/aquadoggo)
```sh
git clone https://github.com/p2panda/aquadoggo.git
```and run aquadoggo
```sh
RUST_LOG=aquadoggo=info cargo run
```## Examples
### Create a schema
```sh
umbra cs -n -d -f :```
For example:
```sh
umbra cs -n bears -d 'cute bears' -f id:int -f name:str -f hidden:bool --log
```> Pro tip: Use the --log or -l flag to print your operation with shiny colors 🤫
### Create an instance
```sh
umbra ci -s -f id:1 -f name:Bob -f hidden:false
```### Update an instance
```sh
umbra ui -s -v -f id:2 -f name:Yogi
```### Delete an instance
```sh
umbra di -s -v
```