3 个版本 (稳定版)
新 1.1.0 | 2024年8月11日 |
---|---|
1.0.0 | 2022年7月3日 |
0.2.1 | 2021年11月11日 |
176 在 身份验证
每月 115 次下载
150KB
3.5K SLoC
pCloud 命令行工具
⚠️ 这不是一个官方客户端 ⚠️
安装
# From crates.io
cargo install pcloud-cli
使用 pcloud-cli
为了能够连接到 pcloud 服务器,您需要创建以下配置文件。
$ cat ~/.config/pcloud.json
{
"credentials": {
"username": "your-email-address",
"password": "your-password"
},
"region": {
"name": "eu|us"
}
}
然后您可以使用 pcloud-cli
$ pcloud-cli --help
pcloud-cli 0.2.1
Jeremie Drouet <[email protected]>
CLI for pcloud
USAGE:
pcloud-cli [OPTIONS] <SUBCOMMAND>
OPTIONS:
-c, --config <CONFIG> Path to load the configuration file. Default to ~/.config/pcloud.json.
If not found, loading from environment.
-h, --help Print help information
-v, --verbose
-V, --version Print version information
SUBCOMMANDS:
file File related sub command
folder Folder related sub command
help Print this message or the help of the given subcommand(s)
依赖项
~14–26MB
~393K SLoC