2019-04-02 05:23:03 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate clap;
|
|
|
|
use clap::App;
|
2019-04-02 06:45:49 +02:00
|
|
|
use std::io;
|
|
|
|
|
|
|
|
mod char;
|
2019-04-02 05:23:03 +02:00
|
|
|
|
|
|
|
fn main() {
|
2019-04-02 06:45:49 +02:00
|
|
|
App::new("Starship")
|
2019-04-02 05:30:53 +02:00
|
|
|
.about("The cross-platform prompt for astronauts. ✨🚀")
|
|
|
|
// pull the version number from Cargo.toml
|
|
|
|
.version(crate_version!())
|
|
|
|
// pull the authors from Cargo.toml
|
|
|
|
.author(crate_authors!())
|
|
|
|
.get_matches();
|
2019-04-02 06:45:49 +02:00
|
|
|
|
|
|
|
prompt::char();
|
|
|
|
// let stdout = io::stdout();
|
|
|
|
// let mut handle = io::BufWriter::new(stdout);
|
2019-04-02 05:23:03 +02:00
|
|
|
}
|