pando-project / pando

Ensuring access to notarized metadata
https://pando-web-amber.vercel.app/
23 stars 4 forks source link

feat: tweaks in Pando and dag executables usage information #44

Closed sugarforever closed 2 years ago

sugarforever commented 2 years ago

Pando

wyang14@C02ZL17GLVDV:/Users/wyang14/project.2021/filecoin/pando/ - (main) > ./Pando         
NAME:
   Pando - Sidechain Metadata Service

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

VERSION:
   v0.0.0+unknown

COMMANDS:
   daemon    Start the Pando daemon process
   init      Initialize Pando configuration file and identity
   register  Register a metadata provider to a trusted Pando service
   ingest    Admin commands to manage ingestion config of indexer
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

dag (Mock Provider)

wyang14@C02ZL17GLVDV:/Users/wyang14/project.2021/filecoin/pando/mock_provider/dag/ - (main) > ./dag   
Usage:
    dag [privkey] [countdag] [peerid] [multiaddr] [wait]

Arguments:
    privkey:   provider private key
    countdag:  count of dag to send
    peerid:    pando peer id
    multiaddr: pando multiaddr
    wait:      seconds of waiting time for data transfer (optional)
codecov-commenter commented 2 years ago

Codecov Report

Merging #44 (6f3e989) into main (43ada69) will not change coverage. The diff coverage is 75.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   65.19%   65.19%           
=======================================
  Files          35       35           
  Lines        2158     2158           
=======================================
  Hits         1407     1407           
  Misses        570      570           
  Partials      181      181           
Impacted Files Coverage Δ
command/init.go 58.13% <ø> (ø)
command/register.go 84.00% <ø> (ø)
metadata/backup.go 37.22% <0.00%> (ø)
command/daemon.go 52.09% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 43ada69...6f3e989. Read the comment docs.