8000 [FEATURE] improve CLI command name and parameters with consistent naming · Issue #113 · 0chain/zboxcli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[FEATURE] improve CLI command name and parameters with consistent naming  #113
Open
@cnlangzi

Description

@cnlangzi

for now, there are some naming rules on cli command name

  • lower-case: list-all, add-collab
  • lowercase: listallocations, addcurator,encryptionpublickey
  • prefix: alloc-cancel,alloc-fini
  • without prefix: get
  • fullname: list-all
  • shortname: ls-blobbers

And there are some naming rules on cli command parameters

  • lower-case : rx_pay,free_storage,read_price, write_price
  • lowercase: remotepath
  • fullname: allocation
  • shorname: collabid,mcct

It is better to rename all of them with consistent naming rule.

eg lower-case with prefix and short name, only root file system commands should be named without prefix.

for examples:

  • mkdir, copy, upload, download,delete...etc
  • alloc-new, alloc-get, alloc-update

see detail on https://0chain.slack.com/archives/C01U94VF56Y/p1632609085125300

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0