Crates.io | mega-cli |
lib.rs | mega-cli |
version | 0.1.3 |
source | src |
created_at | 2023-06-17 17:34:27.833863 |
updated_at | 2024-10-09 02:05:47.159602 |
description | A command-line tool for interacting with MEGA |
homepage | |
repository | https://github.com/Hirevo/mega-cli-rs |
max_upload_size | |
id | 893040 |
size | 179,113 |
mega-cli-rs
(mega-cli
on crates.io and once installed) is an (unofficial) command-line tool for interacting with MEGA.
It aims to implement a lot (if not all) of the features offered by MEGAcmd or megatools.
It is written in Rust and uses the mega crate for its MEGA interactions.
It serves as a real-life test for the mega crate, to assess metrics like performance, API ergonomics and feature-completeness.
It can also serve as a large-scale example of how to use and get the most out of the library.
You can use Cargo to install mega-cli
by running the following command:
cargo install mega-cli
auth
: Manage authentication with MEGA
login
: Create a new persisted session with MEGAlogout
: Log out of the current session with MEGAme
: Display information about the current sessionconfig
: Interact with the mega-cli
configuration
path
: Display the path to the configuration fileedit
: Edit the configuration file with a text editorget
: Download owned files from MEGA
-l|--link
and -p|--password
)put
: Upload files to MEGA
list
: List remote MEGA nodes
-l|--link
and -p|--password
)tree
: Display remote MEGA nodes recursively as a tree
-l|--link
and -p|--password
)mkdir
: Create folders within MEGArename
: Rename nodes within MEGAdelete
: Delete remote MEGA nodesfollow
: Display MEGA storage events as they happenLicensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.