Crate neocities_cli
source ·Expand description
A Neocities API client written in Rust
Usage:
- Upload files to your website:
$ neocities upload foo.html bar.js folder/baz.jpg
- Delete files from your website:
$ neocities delete foo.html folder/baz.jpg
Get a list of available commands:
$ neocities
// output ...
//
// usage: neocities <command> [<args>]
//
// Commands:
// upload Upload files to Neocities
// delete Delete files from Neocities
// info Info about Neocities websites
// key Neocities API key
// list List files on Neocities
// version Show neocities client version
//
// Help for a specific command:
// help [command]
Modules
- Sends requests to the Neocities API, passes response data back to the client module
- Handles user interface, processes input, sends and receives data from the api module
- Defines error variants found within this library