summaryrefslogtreecommitdiff
path: root/lua/rclone.lua
blob: fb444d4a93c13e62435b3c0966f38991a21ca609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local function find_config_file()
    -- TODO: find config file
end

local function get_config()
    -- TODO: rclone config dump --config=find_config_file()
end

local function get_remote_config()
    -- TODO: read json from get_config() and get default remote
end

local function copy()
    -- TODO: rclone copy $LOCAL_PATH $REMOTE:$REMOTE_PATH --config=find_config_file()
end

return {
    copy = copy,
}