Anis Elleuch
b7b75c5f46
cli: Load global flags in initBeforeRunningCmd ( #3283 )
...
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.
2020-07-10 22:17:54 -07:00
..
2020-06-08 05:55:10 -07:00
2019-04-16 22:31:54 -07:00
2019-12-13 10:20:56 -08:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-04-01 01:35:46 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-04-16 22:31:54 -07:00
2020-03-21 13:42:41 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00
2019-04-16 22:31:54 -07:00
2019-04-16 22:31:54 -07:00
2020-07-10 22:17:54 -07:00
2019-04-16 22:31:54 -07:00
2020-06-19 14:31:24 -07:00
2020-03-22 20:59:49 -07:00
2019-04-16 22:31:54 -07:00
2019-04-16 22:31:54 -07:00
2019-04-16 22:31:54 -07:00
2019-04-16 22:31:54 -07:00
2020-06-19 14:31:19 -07:00
2020-03-31 09:50:29 -07:00
2020-06-19 14:31:19 -07:00
2020-06-19 14:31:19 -07:00
2019-12-31 11:27:59 -08:00
2019-12-31 11:27:59 -08:00
2020-06-24 06:31:59 -07:00
2019-04-16 22:31:54 -07:00
2020-06-19 14:31:19 -07:00
2020-06-19 14:31:19 -07:00
2019-08-29 16:57:04 -07:00
2020-06-23 16:57:00 -07:00
2020-05-07 15:21:12 -07:00
2020-04-03 22:22:20 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-12-31 11:27:59 -08:00
2019-07-10 21:16:45 +01:00
2019-04-16 22:31:54 -07:00
2019-06-03 11:22:31 -07:00
2020-05-07 15:21:12 -07:00
2019-04-16 22:31:54 -07:00
2020-05-27 14:23:31 -07:00
2020-01-10 19:18:42 +05:30
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-04-16 22:31:54 -07:00
2020-06-23 16:57:00 -07:00
2020-07-10 22:17:54 -07:00
2019-12-31 11:27:59 -08:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00
2019-07-13 09:07:34 +05:30
2019-04-16 22:31:54 -07:00
2019-04-16 22:31:54 -07:00
2020-03-21 13:42:41 -07:00
2020-07-10 22:17:54 -07:00
2020-03-14 22:30:27 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-04-16 22:31:54 -07:00
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-08-06 15:41:04 -07:00
2020-07-10 22:17:54 -07:00
2020-06-23 16:57:00 -07:00
2020-07-10 22:17:54 -07:00
2020-02-04 13:17:27 -08:00
2020-07-10 22:17:54 -07:00
2019-06-03 11:22:31 -07:00
2019-04-16 22:31:54 -07:00
2020-07-10 22:17:54 -07:00
2019-12-31 11:27:59 -08:00
2019-04-16 22:31:54 -07:00
2019-12-31 11:27:59 -08:00
2019-12-31 11:27:59 -08:00
2019-12-31 11:27:59 -08:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-06-23 16:57:00 -07:00
2020-07-10 22:17:54 -07:00
2019-12-31 11:27:59 -08:00
2019-10-18 22:52:20 +05:30
2019-12-31 11:27:59 -08:00
2019-06-03 11:22:31 -07:00
2019-12-31 11:27:59 -08:00
2019-12-13 10:20:56 -08:00
2019-04-16 22:31:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-12-31 11:27:59 -08:00
2020-06-19 14:31:19 -07:00
2019-07-10 21:16:45 +01:00
2020-07-10 22:17:54 -07:00
2020-04-03 22:22:20 -07:00
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00
2020-02-04 13:17:27 -08:00
2019-06-03 11:22:31 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2020-07-10 22:17:54 -07:00
2019-04-16 22:31:54 -07:00
2020-07-10 22:17:54 -07:00
2019-04-16 22:31:54 -07:00
2020-04-21 13:05:01 +05:30
2020-05-07 15:21:12 -07:00
2020-06-23 09:31:19 -07:00
2020-07-10 22:17:54 -07:00
2020-06-19 14:31:19 -07:00