Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cnlangzi opened this issue Oct 4, 2021 · 0 comments · May be fixed by #330
Open

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

cnlangzi opened this issue Oct 4, 2021 · 0 comments · May be fixed by #330
Assignees
Labels
enhancement New feature or request post-mainnet

Comments

@cnlangzi
Copy link
Contributor

cnlangzi commented Oct 4, 2021

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

@moldis moldis changed the title improve CLI command name and parameters with consistent naming [FEATURE] improve CLI command name and parameters with consistent naming Oct 25, 2021
@dabasov dabasov reopened this Nov 20, 2022
@dabasov dabasov added the enhancement New feature or request label Nov 20, 2022
@K-Kumar-01 K-Kumar-01 linked a pull request Nov 23, 2022 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request post-mainnet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants