Crates.io | nxcloud |
lib.rs | nxcloud |
version | 0.2.1 |
source | src |
created_at | 2020-09-01 03:24:10.295318 |
updated_at | 2021-02-01 17:14:57.637398 |
description | A client for interacting with your NextCloud server |
homepage | https://github.com/budde25/nextcloud-client-cli |
repository | https://github.com/budde25/nextcloud-client-cli |
max_upload_size | |
id | 283284 |
size | 109,768 |
NextCloud Client Command Line Interface
A CLI client to interact with a NextCloud server.
Features:
This application makes it possible to exchange a client and a NextCloud server without the need of a GUI. This CLI is compatible with Linux. It has also been built with Windows and MacOs in mind, they are untested at the moment and mileage may vary.
For a general cross platform linux a Snap package is available.
snap install nxcloud
If you have rust installed you can use cargo.
requires a the following packages to be install:
libdbus-1-dev, build-essential, libssl-dev (Debian names ,probably installed by default)
cargo install nxcloud
Other packaged binary's are available in Releases
The binary name is nxcloud
To display application use nxcloud help
Use nxcloud <subcommand> help
for help with that subcommand.
To start using the interacting with you're NextCloud you need to login.
Use an app password as opposed your account password.
nxcloud login <server> <username> <password>
Listing files in a directory, support -l and -a.
nxcloud ls -la
Pushing and pulling is very simple.
nxcloud pull <source file path (remote)> <destination file path (local)>
nxcloud pull <source file path (local)> <destination file path (remote)>
Entering a shell to remember current (remote) directory (Experimental).
Allows usage of the cd subcommand.
nxcloud shell
This repository is a standard rust project bin structure.
apt install libdbus-1-dev build-essential libssl-dev
(Debian based)Rust support building or running with the following commands:
cargo build
Will build an executable in /target/debug/
.
cargo run -- <args>
Will build and run an executable.
Testing all standard test can be done with rust built in test framework.
cargo test
Some tests cannot be completed with 100% reliability (for example they might fail without network access), this will run all ignored tests.
cargo test -- --ignored
Rust built in documentation tools can be generated.
cargo doc
To open with your default browser.
cargo doc --open
Contributions are completely welcome and encouraged!
Examples of contributing could include:
Refer to Contributing
Development is still in progress with new features being planned.
Feel free to Contribute.
Created by Ethan Budd
Email: budde25@protonmail.com
Dual-licensed under either either of the following: