diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/rclone.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lua/rclone.lua b/lua/rclone.lua new file mode 100644 index 0000000..fb444d4 --- /dev/null +++ b/lua/rclone.lua @@ -0,0 +1,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, +} + |