1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*!
A Neocities API client written in Rust
# Usage:
- Upload files to your website:
```bash
$ neocities_cli upload foo.html bar.js folder/baz.jpg
```
- Delete files from your website:
```bash
$ neocities_cli delete foo.html folder/baz.jpg
```
Get a list of available commands:
```bash
$ neocities_cli
// output ...
//
// usage: neocities_cli <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]
```
*/
/// Defines error variants found within this library
/// Handles user interface, processes input, sends and receives data from the api module
/// Sends requests to the Neocities API, passes response data back to the client module