阿里云盘命令行客户端

Overview

aliyundrive-cli

阿里云盘命令行客户端

安装

go get github.com/chyroc/aliyundrive-cli

使用

功能 截图
1. 开始使用
2. 列出文件
3. 进入一个目录
4. 创建文件夹
5. 移动文件
6. 删除文件
7. 上传文件
8. 下载文件

其他

Issues
  • go install 在 windows 上失败

    go install 在 windows 上失败

    PS C:\Users\Administrator> go install github.com/chyroc/[email protected]
    go: downloading github.com/chyroc/aliyundrive-cli v0.8.0
    go: downloading github.com/chyroc/go-aliyundrive v0.6.0
    go: downloading github.com/chyroc/gorequests v0.32.0
    # github.com/chyroc/aliyundrive-cli/internal
    go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl_windows.go:6:6: Termios redeclared in this block
            C:\Users\Administrator\go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl.go:10:6: previous declaration
    go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl_windows.go:8:5: term redeclared in this block
            C:\Users\Administrator\go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl.go:14:5: previous declaration
    go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl_windows.go:10:6: GetTermios redeclared in this block
            C:\Users\Administrator\go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl.go:16:20: previous declaration
    go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl_windows.go:14:6: IoctlGetTermios redeclared in this block
            C:\Users\Administrator\go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl.go:20:25: previous declaration
    go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl_windows.go:18:6: IoctlSetTermios redeclared in this block
            C:\Users\Administrator\go\pkg\mod\github.com\chyroc\[email protected]\internal\ioctl.go:24:31: previous declaration
    
    opened by hellojukay 1
  • 允许设置文件存储目录,而不是固定的目录

    允许设置文件存储目录,而不是固定的目录

    允许设置文件存储目录,而不是固定的目录

    [email protected] aliyundrive-cli (homedir) $ ./aliyundrive-cli -h
    Usage of ./aliyundrive-cli:
      -dir string
            Print program version (default "/home/hellojukay/Downloads/aliyundrive-cli")
      -version
            Print program version
    
    
    opened by hellojukay 0
  • 支持展示程序版本信息

    支持展示程序版本信息

    添加命令行参数 --version 展示程序版本信息(备注:必须要 go install 方式安装才能展示正确的 git tag)

    [email protected] aliyundrive-cli (master) $ ./aliyundrive-cli  -h
    Usage of ./aliyundrive-cli:
      -version
            Print program version
    
    opened by hellojukay 0
Owner
chyroc
go/go/go/go/go
chyroc