Skip to content

Gerard097/Multidao-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multidao

CLI Tool used to interact with the Multi tenant DHO Software

oclif Version Downloads/week License

Usage

$ npm install -g multidao
$ multidao COMMAND
running command...
$ multidao (-v|--version|version)
multidao/0.0.0 linux-x64 node-v16.13.0
$ multidao --help [COMMAND]
USAGE
  $ multidao COMMAND
...

Commands

multidao assignment [FILE]

describe the command here

USAGE
  $ multidao assignment [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src/commands/assignment.ts

multidao close PROPOSAL

Closes a proposal

USAGE
  $ multidao close PROPOSAL

ARGUMENTS
  PROPOSAL  Hash of the proposal to close

OPTIONS
  -a, --auth=auth  (required) File containing account and private-key used to sign the transactions
  -h, --help       show CLI help

See code: src/commands/close.ts

multidao create FILE

Creates a dao

USAGE
  $ multidao create FILE

ARGUMENTS
  FILE  File containing the DAO configuration variables or where the template will be generated if -g is specified
        (YAML)

OPTIONS
  -a, --auth=auth  File containing account and private-key used to sign the transactions

  -g, --generate   If specified, creates a template with the required configuration variables for the dao in the
                   specified file

  -h, --help       show CLI help

EXAMPLE
  $ multidao create -f config.yaml

See code: src/commands/create.ts

multidao get TYPE

Retreives a list of document types

USAGE
  $ multidao get TYPE

ARGUMENTS
  TYPE  (assignment|role|dao|period) Type of the documents to list

OPTIONS
  -h, --help  show CLI help

See code: src/commands/get.ts

multidao help [COMMAND]

display help for multidao

USAGE
  $ multidao help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

multidao period DAO [ACTION]

Utility actions related to periods

USAGE
  $ multidao period DAO [ACTION]

ARGUMENTS
  DAO     Specify the DAO to which the actions will be applied

  ACTION  (generate) Action to perform.
          - generate: Generates the specified number of periods

OPTIONS
  -a, --auth=auth                  File containing account and private-key used to sign the transactions
  -c, --period_count=period_count  Used along "generate", number of periods to generate
  -h, --help                       show CLI help

See code: src/commands/period.ts

multidao propose TYPE FILE [DAO]

Creates a proposal document for an specific dao

USAGE
  $ multidao propose TYPE FILE [DAO]

ARGUMENTS
  TYPE  (assignment|role|contribution) Proposal type
  FILE  File containing the proposal information or where the template will be generated if -g is specified
  DAO   DAO where the proposal will be created

OPTIONS
  -a, --auth=auth  File containing account and private-key used to sign the transactions

  -g, --generate   If specified, creates a template with the required parameters for the proposal type in the specified
                   file

  -h, --help       show CLI help

EXAMPLES
  $ multidao propose -f assignment.yaml -a generate
  $ multidao propose hypha -f assignment.yaml -a

See code: src/commands/propose.ts

multidao vote OPTION PROPOSAL

Casts a vote to the specified proposal

USAGE
  $ multidao vote OPTION PROPOSAL

ARGUMENTS
  OPTION    (pass|abstain|fail) Vote option
  PROPOSAL  Hash of the proposal being voted on

OPTIONS
  -a, --auth=auth    (required) File containing account and private-key used to sign the transactions
  -h, --help         show CLI help
  -n, --notes=notes  Notes added to the vote

See code: src/commands/vote.ts

About

CLI Tool used to interact with Hypha's Multi tenant DHO Software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages