emotes 0.2.0

Upload files to your emotes server of choice with this CLI tool.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::config::Config;
use read_input::prelude::*;

pub fn configure() {
    create();
}

pub fn create() -> Option<Config> {
    let domain: String = input().msg("Emotes domain: ").get();
    let api_key: String = input().msg(format!("API key for domain {}: ", domain)).get();

    Config::new(domain, api_key)
}