hail icon indicating copy to clipboard operation
hail copied to clipboard

[hailctl] fs subcommand and utilities

Open chrisvittal opened this issue 6 months ago • 0 comments

Add hailctl fs as a cloud agnostic filesystem utility, along with two commands ls and du. Output is rudimentary at this point and is subject to change.

du:

 Usage: hailctl fs du [OPTIONS] [PATHS]...

 Display storage resourse usage

╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│   paths      [PATHS]...  [default: None]                                     │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --human-readable  -h        print sizes in human readable format (base 10)   │
│ --summarize       -s        display only a total for each argument           │
│ --help                      Show this message and exit.                      │
╰──────────────────────────────────────────────────────────────────────────────╯

ls:

 Usage: hailctl fs ls [OPTIONS] [PATHS]...

 List objects

╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│   paths      [PATHS]...  [default: None]                                     │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --long            -l        use long listing format                          │
│ --human-readable  -h        print human readable file sizes (base 10)        │
│ --help                      Show this message and exit.                      │
╰──────────────────────────────────────────────────────────────────────────────╯

chrisvittal avatar Jan 03 '24 17:01 chrisvittal