app.Before receives a cli.Context but without flags parsed. There is no
point calling ctx.Bool() or ctx.IsSet() at that stage.
However, flags are parsed in commands, so minio initialization and
setting global variables (globalJSON, globalQuiet, etc..) can be moved
to the Before function of all commands.
Avoid setting command.Before for non leaf commands, otherwise Before
function will be called multiples times until it reaches the leaf
command.
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.
This is a maintenance fix.
mc share list COMMAND - List previously shared objects and folders.
COMMAND:
upload: list previously shared access to uploads.
download: list previously shared access to downloads.
USAGE:
mc share list COMMAND
EXAMPLES:
1. List previously shared downloads, that haven't expired yet.
$ mc share list download
2. List previously shared uploads, that haven't expired yet.
$ mc share list upload help text misleading...
It is easier to use {{.HelpName}} in help text template to print
the mc binary name plus the whole command hierarchy (binary name +
command + subcommand, etc..)