Nick Craig-Wood
2bd786a452
docs: fix rc docs and update anchors for new Hugo version
2020-05-27 17:31:08 +01:00
Nick Craig-Wood
1f61027f51
rc: add -o/--opt and -a/--arg for more structured input
2020-04-29 09:42:31 +01:00
Nick Craig-Wood
1b2ffbeca0
cmd: fix environment variables not setting command line flags
...
Before this fix quite a lot of the commands were ignoring environment
variables intended to set flags.
2019-10-14 17:02:09 +01:00
Nick Craig-Wood
19429083ad
cmd: fix spelling of Definition
2019-10-14 17:02:09 +01:00
Nick Craig-Wood
66c23723e3
Add context to all http.NewRequest #3257
...
When we drop support for go1.12 we can use http.NewRequestWithContext
2019-09-09 23:27:07 +01:00
Nick Craig-Wood
ffa1dac10b
build: apply gofmt from go1.13 to change case of number literals
2019-09-05 13:59:06 +01:00
Nick Craig-Wood
8247c8a6af
rc: add anchor tags to the docs so links are consistent
2019-08-13 11:57:01 +01:00
Nick Craig-Wood
535f5f3c99
rc: fix --loopback with rc/list and others
...
Before this change `rclone rc --loopback` would give the error "bad
JSON".
This was because the output of the `rc/list` command was not serialzed
through JSON.
This serializes it through JSON and fixes that (and probably other)
command.
2019-08-13 11:51:16 +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
Aleksandar Jankovic
f78cd1e043
Add context propagation to rclone
...
- Change rclone/fs interfaces to accept context.Context
- Update interface implementations to use context.Context
- Change top level usage to propagate context to lover level functions
Context propagation is needed for stopping transfers and passing other
request-scoped values.
2019-06-19 11:59:46 +01:00
Nick Craig-Wood
bd10344d65
rc: add --loopback flag to run commands directly without a server
2019-06-08 08:45:55 +01:00
Nick Craig-Wood
181267e20e
cmd/rc: add --user and --pass flags and interpret --rc-user, --rc-pass, --rc-addr
2018-11-04 20:42:57 +00:00
Nick Craig-Wood
45d5339fcb
cmd/rc: add --json flag for structured JSON input
2018-11-02 17:32:20 +00:00
Nick Craig-Wood
3d8e529441
rc: return error from remote on failure
2018-05-29 10:48:01 +01:00
Nick Craig-Wood
d8e88f10cd
rc: take note of the --rc-addr flag too as per the docs - fixes #2184
2018-04-26 17:00:44 +01:00
remusb
97b48cf988
rc: add support for Go 1.6
2018-03-14 22:58:20 +02:00
Nick Craig-Wood
86e5a35491
Implement Remote Control for rclone #2111
...
This implements a remote control protocol activated with the --rc flag
and a new command `rclone rc` to use that interface.
Still to do
* docs - need finishing
* tests
2018-03-14 22:58:20 +02:00