oniontree

command
v0.0.0-...-4686cbe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 7 Imported by: 0

README

OnionTree CLI utility

Manage OnionTree repository.

Installation

$ go get https://github.com/oniontree-org/go-oniontree/cmd/oniontree

Usage

NAME:
   oniontree - Manage OnionTree repository

USAGE:
   oniontree [global options] command [command options] [arguments...]

VERSION:
   0.1

COMMANDS:
   init    Initialize a new repository
   add     Add a new service to the repository
   update  Update a service
   show    Show service's content
   remove  Remove services from the repository
   tag     Tag services
   untag   Untag services
   lint    Lint the repository content

GLOBAL OPTIONS:
   -C value       change directory to (default: ".")
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

Examples

Add a new service
$ git clone https://github.com/onionltd/oniontree
$ cd oniontree/
$ oniontree add --name "Dummy Service" \
                --description "In all people I see *myself*, none more and not one a barleycorn less" \
                --url "http://2efafjga32zajfcny.onion" \
                --public-key /tmp/dummyservice-pgp.asc \
                dummyservice
Tag a service
$ oniontree tag --name dummy --name test dummyservice

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL