akamai / cli-netstorage

Apache License 2.0
15 stars 14 forks source link

Documentation differs (README vs. actual help in the tool) #18

Closed v0d closed 3 years ago

v0d commented 5 years ago

README.md mentions these commands to be available:

Commands:
  setup                     Setup authentication for Netstorage
  du                        disk usage stats
  mdkir <directory>         create a new directory
  rmdir <directory>         delete a directory
  dir <directory>           view a directory structure
  quick-delete <directory>  recursively delete a directory
  rmdir <directory>         delete a directory
  ls <directory>            view a directory listing
  rmdir <directory>         delete a directory
  put <file>                upload a file
  get <file>                download a file
  rm <file>                 remove a file
  mv <file>                 move a file
  link <file>               create a symlink
  touch <file>              update modification time for a file
  stat <file>               see file information

but when executing the cli, only these seem to be available:

System commands:
  setup  Setup authentication for Netstorage
  du     disk usage stats

Directory commands:
  mkdir <directory>         create a new directory
  rmdir <directory>         delete an empty directory
  dir [directory]           view a directory structure
  quick-delete <directory>  recursively delete a directory             Disabled by default
  list <directory>          view a directory listing

File commands:
  upload <file>             upload a file
  download <file>           download a file
  delete <file>             remove a file
  rename <file> <location>  rename/move a file
  symlink <file> <target>   create a symlink
  mtime <file>              update modification time for a file
  stat <file>               see file information

note some differences, symlink vs link (and it is not even implemented) or mtime vs touch

javiergarza commented 3 years ago

Closing this since I just got a GitHub notification indicating the README has been updated (see https://github.com/akamai/cli-netstorage/commit/836e7d2bcb0c29f08f0990aa44fd4c06aa438f58#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5)