Skip to content

[FEATURE] improve CLI command name and parameters with consistent naming  #113

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions