2 releases (1 stable)

1.0.0 Jul 3, 2022
0.2.1 Nov 11, 2021

#1990 in #client

36 downloads per month

MIT license

185KB
4.5K SLoC

pCloud cli

⚠️ This is not an official client ⚠️

Installation

# From crates.io
cargo install pcloud-cli

Using pcloud-cli

To be able to connect to the pcloud server, you need to create the following configuration file.

$ cat ~/.config/pcloud.json
{
        "credentials": {
                "username": "your-email-address",
                "password": "your-password"
        },
        "region": {
                "name": "eu|us"
        }
}

You can then use pcloud-cli

$ pcloud-cli --help
pcloud-cli 0.2.1

Jeremie Drouet <jeremie.drouet@gmail.com>

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)

Dependencies

~14–30MB
~436K SLoC