adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Anis Elleuch
b7a3dff287
Fix 'did you mean' message ( #3448 )
2020-10-12 09:53:51 -07:00
Harshavardhana
0b0acc611f
Revert "cli: Load global flags in initBeforeRunningCmd ( #3283 )" ( #3302 )
...
This reverts commit 712ff33319 .
2020-07-16 11:10:35 -07:00
Anis Elleuch
712ff33319
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-01 17:28:43 -07:00
Harshavardhana
f3b2d5471f
Add finalized command line options ( #2979 )
2019-12-04 21:03:34 -08:00
Harshavardhana
21a79b4a44
Add import/export command ( #2974 )
2019-11-26 10:08:41 -08:00
Harshavardhana
c51267871c
help command is now part of mc admin config get/set ( #2961 )
2019-11-19 15:15:10 -08:00
Harshavardhana
9927c0d5c7
mc admin config set/get/del/history/help ( #2835 )
...
Related to https://github.com/minio/minio/pull/8392
2019-10-30 21:36:41 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Krishnan Parthasarathi
05468dfc8d
Improve admin subcommand structure ( #2098 )
...
- Rename password subcommand to credentials
- Make clear-lock require --force flag
- Also, fix lock and heal mc-admin subcommand usage text.
2017-03-31 01:12:00 -07:00
Anis Elleuch
bf657a33e3
admin: Add set config command ( #2051 )
...
Which works this way:
```
cat config.json | mc admin config set myminio/
```
2017-03-03 15:18:23 -08:00
Anis Elleuch
ecee324c00
admin: Add config get command ( #2037 )
2017-02-28 14:33:26 -08:00