albertony
bcdfad3c83
build: update logging statements to make json log work - fixes #6038
...
This changes log statements from log to fs package, which is required for --use-json-log
to properly make log output in JSON format. The recently added custom linting rule,
handled by ruleguard via gocritic via golangci-lint, warns about these and suggests
the alternative. Fixing was therefore basically running "golangci-lint run --fix",
although some manual fixup of mainly imports are necessary following that.
2024-09-06 17:04:18 +01:00
albertony
482bfae8fa
docs: consistent newline of first line in command output
2024-08-15 18:26:34 +02:00
albertony
50aebcf403
docs: replace references to genautocomplete with the new name completion
2024-08-08 13:34:10 +01:00
pawsey-kbuckley
d459fb0cb8
genautocomplete: remove Ubuntu-ism from docs and clarify non-root use
2024-04-15 17:00:43 +01:00
Nick Craig-Wood
15890b7ce7
cmd: make auto completion work for all shells and reduce the size
...
This updates the bash completion to work with GenBashCompletionV2
which cuts down the size of the completion file dramatically.
See: https://forum.rclone.org/t/request-make-remote-path-completion-work-for-fish-and-zsh/42982/
See: #7000
2024-02-29 14:46:50 +00:00
Nick Craig-Wood
a1d6bbd31f
Add rclone completion powershell - basic implementation only
2023-08-02 12:53:09 +01:00
Nick Craig-Wood
51a468b2ba
genautocomplete: rename to completion with alias to old name
...
This brings it into line with cobra's naming scheme and stops cobra
writing another "completion" command which doesn't work as well which
confuses users.
See: https://forum.rclone.org/t/rclone-genautocomplete-bash-vs-rclone-completion-bash-neither-works-fully/38431
2023-05-25 14:32:40 +01:00
albertony
6d18f60725
docs: add minimum versions to the command pages
2022-12-03 18:58:55 +01:00
albertony
5d6b8141ec
Replace deprecated ioutil
...
As of Go 1.16, the same functionality is now provided by package io or
package os, and those implementations should be preferred in new code.
2022-11-07 11:41:47 +00:00
albertony
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
albertony
53f831f40a
docs: add missing code section formatting to commands and flags
2022-06-21 23:43:00 +02:00
Josh Soref
e4a87f772f
docs: spelling: e.g.
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-28 18:16:23 +00:00
Ingo
5164c3d2d0
genautocomplete: add support to output to stdout
2020-10-22 17:28:33 +01:00
Matan Rosenberg
22f06590f7
genautocomplete: add support for fish shell
2020-04-29 16:19:35 +01:00
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
bpicode
f1f7e0e6f9
support for zsh auto-completion - #983
2017-08-31 16:21:28 +01:00
Nick Craig-Wood
5e35aeca9e
Regularize the command definition names
2016-12-03 09:08:40 +00:00
Nick Craig-Wood
e27b91ffb8
Factor each commmand into its own package
2016-08-05 17:13:54 +01:00