Harshavardhana
db1b508d8b
update minio to pkg/madmin changes
2020-09-23 13:00:06 -07:00
Anis Elleuch
fede0756d4
Implement undo command ( #3394 )
2020-09-16 18:59:28 -07:00
Anis Elleuch
af6cff00a5
retention: Refactor and add support of versioning ( #3347 )
2020-09-06 10:33:15 -07:00
kannappanr
588a8fcd17
rename versioning to version ( #3345 )
2020-08-07 13:32:11 -07:00
poornas
069968c8aa
Change replicate command cli ( #3335 )
2020-08-07 08:15:27 -07:00
Harshavardhana
6a98216c53
rename all bucket commands ( #3334 )
2020-07-31 15:18:57 -07:00
poornas
7ffa755cd9
Move version commands to top level ( #3329 )
2020-07-30 09:53:15 -07:00
poornas
ceb216f8a3
Add mc encrypt command ( #3312 )
2020-07-29 21:26:42 -07:00
Anis Elleuch
90dc31f6ba
Move from mc config host to alias command ( #3311 )
...
```
mc alias set
alias remove
alias list
```
are new commands that replace mc config host sub-commands.
mc config host will still be available but hidden for backward
compatiblity. The JSON output is also kept if the user is running mc
config host command.
2020-07-28 10:26:41 -07:00
Harshavardhana
90d22b271f
move 'mc ilm' to 'mc bucket ilm' ( #3320 )
...
update relevant docs and use the same
usage message consistently
2020-07-25 11:31:42 -07:00
poornas
c61a26269f
Move mc lock to mc bucket lock ( #3309 )
2020-07-24 01:18:55 -07:00
poornas
023e56e0a1
Add mc bucket version command ( #3308 )
2020-07-21 10:10:57 -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
ebozduman
d5b6931a1e
Apply global context for all apis ( #3240 )
2020-06-16 16:55:31 -07:00
Anis Elleuch
c51e3b3ec9
Return 1 as exit code when the cmd is unknown ( #3249 )
2020-06-09 08:52:04 -07:00
P R
72c8e92459
Add ilm command. ( #3097 )
2020-05-14 08:55:21 -07:00
Harshavardhana
b99c313366
cleanup legal-hold/retention and update docs ( #3197 )
2020-05-04 20:09:36 -07:00
Bala FA
dfa1e42b25
add mc mv command ( #3134 )
...
Fixes #3077
2020-04-14 11:59:16 -07:00
Harshavardhana
8cae137525
fix all the build errors
2020-04-03 22:22:20 -07:00
poornas
25de1da81b
Add legalhold command ( #3095 )
2020-03-31 09:18:26 -07:00
BigUstad
71eb7f6689
Add tag command ( #3117 )
2020-03-22 20:59:49 -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
7c9ea88742
Update to latest minio/minio ( #3020 )
2019-12-24 05:46:13 -08:00
Anis Elleuch
f2f8f858a6
cp: Only use session when -c is passed ( #2989 )
2019-12-13 10:20:56 -08:00
kannappanr
6eaf0dd05e
Retention command to apply retention to objects with a Prefix ( #2963 )
2019-11-22 12:39:46 -08:00
Bala FA
27d1131825
add lock command ( #2880 )
...
`lock` command enables to set, get and clear object lock configuration
of given bucket.
2019-11-11 11:36:04 -08:00
Klaus Post
aa4a4774da
Fix Windows config path ( #2898 )
...
Remove '.exe' (case insensitive) from executable name for consistent config folder.
Potentially breaking: If people (for whatever reason) used 'mc.exe', this will potentially break their setup.
2019-10-12 00:07:10 +05:30
Harshavardhana
37bdbd037e
Colorize du output appropriately ( #2856 )
2019-08-12 18:05:17 -07:00
Bala FA
d399b1e70b
add du command support ( #2802 )
...
This command works like `du` command in unices i.e. summarize disk
usage of given TARGET recursively.
2019-08-07 21:02:09 -07:00
Harshavardhana
0f360131cb
Remove runtime checks use go build tag ( #2848 )
...
Project can be only built with go1.12 or newer
other build related changes to use new go1.12
features.
Fixes #2815
2019-08-06 15:41:04 -07:00
Praveen raj Mani
bdcb9dcb2f
Add tree listing ( #2804 )
2019-07-17 22:23:02 -07:00
Harshavardhana
ab3e70ae9f
Fix escape characters in trace command ( #2822 )
2019-07-13 09:07:34 +05:30
Harshavardhana
31e5ac02bd
Fix auto-completion code ( #2819 )
...
Reverts the code in #2812
Fixes #2816
2019-07-11 10:41:14 -07:00
Anis Elleuch
df9320134b
autocompletion: Add control flag and a prompt ( #2812 )
...
*) Add --no-autocompletion to disable the automatic install of
the auto completion
*) Add a prompt to ask for permission to install automatic
auto completion when not installed yet
2019-07-04 22:40:56 -07:00
Harshavardhana
e978c71b7c
Add staticcheck based builds ( #2788 )
...
Additionally this PR also supports
multi-platform builds to avoid cross
platform build issues.
2019-06-03 11:22:31 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
poornas
e538599e2f
Add mc rb command to remove empty bucket ( #2662 )
...
Change mc rm --recursive behavior to
delete objects in bucket but not the
bucket itself.
Fixes #2635
2019-02-16 20:12:38 -08:00
Anis Elleuch
4b62f520e8
Add support of bash completion ( #2592 )
...
Users of bash/zsh will have completion config enabled in the next
shell session start. This commit provides completion for commands
and all subcommands, their flags and completion of filesystems paths,
mc aliases, buckets and prefixes.
2019-02-14 22:17:43 +05:30
Harshavardhana
45578f0ed2
Implement head command ( #2630 )
2018-12-27 13:17:44 -08:00
Harshavardhana
f3eaa54a32
Breaking change --config-folder is now --config-dir ( #2620 )
2018-12-05 14:10:36 -08:00
Harshavardhana
57414cbb6e
Add in-place update feature ( #2605 )
2018-11-26 20:04:55 +05:30
Harshavardhana
cb4f46854b
Fix command line names and documentation ( #2602 )
2018-11-19 17:19:53 -08:00
Harshavardhana
a83ffe321c
Implement select command ( #2538 )
2018-09-30 23:18:33 -07:00
poornas
ab6b2a83ac
Add new stat sub command ( #2275 )
2017-10-31 13:56:40 -07:00
Harshavardhana
785e14a725
Add find command in docs, remove deprecated files and entries. ( #2286 )
2017-10-13 17:28:29 -07:00
Carter McClellan
49ef42d36a
Implement mc find ( #2201 )
2017-09-05 15:44:10 -07: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
60681d7fb6
config: Provide meaningful errors for invalid URL and Alias. ( #2233 )
...
Fixes #2232
2017-08-06 11:35:01 -07:00