Skip to content

Instantly share code, notes, and snippets.

View gilbertw1's full-sized avatar

Bryan Gilbert gilbertw1

View GitHub Profile
use crate::cli;
#[derive(Debug)]
pub struct WordleConfig {
pub dictionary: Option<String>,
pub emoji: bool,
pub guess: Option<String>,
pub hard_mode: bool,
pub operation: WordleOp,
pub solution: Option<String>,
use clap::{Arg, App};
pub fn create_drop_cli_app() -> App<'static,'static> {
App::new("drop")
.version("0.3.3")
.author("Bryan G. <[email protected]>")
.about("Screenshot & file upload tool with S3 support - http://github.com/gilbertw1/drop")
.arg(Arg::with_name("audio")
.short("-a")
.long("audio")
use util;
use std;
use config;
use config::Config;
use std::io::Write;
use std::fs::File;
use std::path::PathBuf;
use std::collections::HashSet;
use clap::ArgMatches;
use std::time::{SystemTime, UNIX_EPOCH};
mod cli;
mod conf;
mod sync;
extern crate clap;
extern crate eventual;
fn main() {