rclone/fs/config
Kevin Verstaen c2dfc3e5b3
fs: Add global flag '--color' to control terminal colors
* fs: add TerminalColorMode type
* fs: add new config(flags) for TerminalColorMode
* lib/terminal: use TerminalColorMode to determine how to handle colors
* Add documentation for '--terminal-color-mode'
* tree: remove obsolete --color replaced by global --color

This changes the default behaviour of tree. It now displays colors by
default instead of only displaying them when the flag -C/--color was
active. Old behaviour (no color) can be achieved by setting --color to
'never'.

Fixes: #6604
2022-12-06 12:07:06 +00:00
..
configfile Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
configflags fs: Add global flag '--color' to control terminal colors 2022-12-06 12:07:06 +00:00
configmap all: fix spelling across the project 2022-08-30 11:16:26 +02:00
configstruct Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
flags fs: make all duration flags take y, M, w, d etc suffixes 2022-11-14 15:13:49 +00:00
obscure Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
config_read_password_unsupported.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_read_password.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
config.go fs: warn the user when using a remote name without a colon 2022-09-13 18:06:19 +01:00
crypt_internal_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
crypt_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
crypt.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
default_storage_test.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
default_storage.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
rc_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
rc.go docs: cross link doc pages for related commands 2022-06-21 23:43:00 +02:00
ui_test.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
ui.go config: ajust section headers to improve readability 2022-06-08 19:24:38 +02:00