Harshavardhana
cf7e0ae050
generalize input for ctx.Command.Name ( #4338 )
2022-11-01 08:04:26 -07:00
Anis Elleuch
f85086b153
Use a pager for help output ( #4245 )
2022-09-28 11:28:02 -07:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
91efd0c066
migrate mc to minio/pkg ( #3731 )
...
remove all dependency for minio/minio
2021-05-29 09:30:33 -07:00
Harshavardhana
ac08bf41a7
fix: gofmt on some files
2021-05-11 17:46:41 -07:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Harshavardhana
6c3ac00e18
update madmin to github.com/minio/madmin-go ( #3710 )
2021-05-06 13:33:17 -07:00
Harshavardhana
ade302d969
fix: suggestion format with 'mc admin config set'
2021-01-27 18:27:58 -08:00
Harshavardhana
24101f18aa
update minio/minio deps to honor dynamic config settings ( #3526 )
2020-12-07 16:02:56 -08:00
Anis Elleuch
d4fbfb5975
Show better looking help when a wrong flag is passed ( #3461 )
2020-12-02 22:19:26 -08:00
Harshavardhana
b7e4a633d8
rename all 'cannot' messages to 'unable to' ( #3388 )
2020-09-01 15:40:31 -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
Anis Elleuch
64a78e7811
Add global context and adapt context change in admin API ( #3125 )
...
This commit adds a new global context, monitors os signals
and cancels the global context in such cases to exit
on going process gracefully.
It will also update minio-go and adapts the code with
the new context changes in the admin API.
2020-03-21 13:42:41 -07:00
Harshavardhana
9663319e9e
Update mc dependencies to recent dep change on MinIO ( #3026 )
2019-12-31 11:27:59 -08:00
Harshavardhana
f3b2d5471f
Add finalized command line options ( #2979 )
2019-12-04 21:03:34 -08:00
Harshavardhana
3dc37f1ecd
Add default values in 'get' ( #2962 )
2019-11-21 14:35:40 +05:30
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
a9c606f119
Customize service help for Windows/Linux users ( #2908 )
2019-09-28 08:33:28 +05:30
poornas
1dd2b4494d
Fix error message wording in mc admin commands ( #2887 )
2019-09-06 17:09:44 -07:00
Krishnan Parthasarathi
8b33b2809c
Improve next action suggestion in mc admin config set ( #2810 )
2019-06-27 12:15:21 -07:00
Harshavardhana
d97cfaa55d
Fix trace formatting ( #2805 )
2019-06-19 15:11:03 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
Sidhartha Mani
c75abbb3f9
use colorjson for all other mc outputs ( #2683 )
...
- Update to MarshalIndent instead of Marshal
- Allow unmarshalling
2019-02-28 14:33:13 -08:00
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
9226796558
Fix a typo in config set success message ( #2588 )
2018-11-01 16:46:44 +05:30
Harshavardhana
7b69f0064d
Add 'mc admin restart' message ( #2574 )
2018-10-18 17:46:20 -07:00
Harshavardhana
073ed250fe
Update madmin API with latest server changes ( #2516 )
2018-08-17 18:55:05 -07:00
Aditya Manthramurthy
793cda2ca0
New Admin API client-side implementation ( #2350 )
2018-01-23 12:32:58 -08:00
Aditya Manthramurthy
ca96cfc6e6
Move pkg/probe from vendor dir to package dir ( #2236 )
...
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.
2017-08-14 11:13:38 -07:00
Harshavardhana
018bcbf629
cli/docs: Fix all cli docs to be consistent in terms of usage. ( #2119 )
...
ALIAS should be called as TARGET for all cli commands.
2017-04-11 12:06:02 +01: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