Skip to content

Commit

Permalink
release v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rachpt committed Jun 4, 2020
1 parent ee6a53e commit fa3f279
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# \______/ |__/ \______/ \______/ \_______/|______/ \______/ \______/
#
--------------------------------------------------------------------------
<img src="https://img.shields.io/github/v/release/Aruelius/cloud189.svg?logo=iCloud"> <img src="https://img.shields.io/github/last-commit/Aruelius/cloud189.svg">
</pre>

# 准备
Expand All @@ -32,21 +33,23 @@
|命令 |描述 |
|-------------------------------------|-----------------------|
|help |查看帮助文档 |
|login |用户名+密码 登录 |
|clogin |cookie 登录 |
|login |用户名+密码 登录/添加用户 |
|clogin |cookie 登录/添加用户 |
|refresh |刷新当前目录 |
|setpath |修改下载路径(默认 ./downloads) |
|update |检测软件更新 |
|who/quota |查看账户信息、空间大小 |
|clear |清屏 |
|cdrec |进入回收站 |
|[cdrec] ls |显示回收站目录 |
|[cdrec] rec + `文件名` |恢复文件 |
|[cdrec] clean |清空回收站 |
|[cdrec] cd .. |退出回收站 |
|su + `[-l/用户名]` |列出用户/切换用户 |
|ls + `[-l] [文件夹]` |列出文件与目录 |
|cd + `文件夹名` |切换工作目录 |
|upload + `文件(夹)路径` |上传文件(夹) |
|down + `文件名/分享链接*` |下载文件 |
|down + `文件名/分享链接` |下载文件/提取分享链接下载直链 |
|mkdir + `文件夹名` |创建文件夹 |
|rm + `文件/文件夹` |删除文件(夹) |
|share + `文件/文件夹` |分享文件(夹) |
Expand All @@ -62,7 +65,8 @@
`down``upload``rm` 支持多个多个操作文件作为参数,如果文件名中有空格引号,使用 `''``""` 包裹文件名,或则在空格引号前使用转义符 `\`
`jobs -f``upload -f``down -f`表示实时查看任务状态,类似于 `Linux` 中的 `tail -f`,按任意键 + 回车 退出。
使用账号密码登录时,上传文件时会****进行文件秒传检测,目前使用 cookie 登录无法秒传。
下载支持断点续传。
下载支持断点续传。
注意:从 **v0.0.4** 起,`.config` 文件与以前版本不兼容!
# 使用
1. 不加参数则进入交互模式
Expand Down
2 changes: 1 addition & 1 deletion cloud189/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from cloud189.api.core import Cloud189

version = '0.0.3'
version = '0.0.4'

__all__ = ['utils', 'Cloud189', 'models', 'token', 'version']
2 changes: 1 addition & 1 deletion cloud189/cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from cloud189.cli.config import config

version = '0.0.3'
version = '0.0.4'

__all__ = ['cli', 'utils', 'version', 'config']
8 changes: 5 additions & 3 deletions cloud189/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ def print_help():
update 检查更新
*rmode 屏幕阅读器模式
refresh 强制刷新文件列表
login 使用账号密码登录网盘
clogin 使用 Cookie 登录网盘
login 使用账号密码登录网盘/添加用户
clogin 使用 Cookie 登录网盘/添加用户
su 列出、切换账户
*logout 注销当前账号
jobs 查看后台任务列表
ls 列出文件(夹),仅文件名
Expand All @@ -221,8 +222,9 @@ def print_help():
shared 显示已经分享的文件(夹)信息
clear 清空屏幕
upload 上传文件(夹)
down 下载文件 # TODO: 下载文件夹、url
down 下载文件、提取分享链接直链 # TODO: 下载文件夹
setpath 设置文件下载路径
who/quota 查看当前账户信息
bye/exit 退出本程序
* 表示目前版本无法使用。
Expand Down

0 comments on commit fa3f279

Please sign in to comment.