Rename app to viu

This commit is contained in:
Atanas Yankov 2019-04-12 17:58:46 +03:00
parent 1225245e88
commit f17482ce95
4 changed files with 25 additions and 15 deletions

10
.gitignore vendored
View file

@ -1,2 +1,10 @@
/target # Generated by Cargo
# will have compiled files and executables
/target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
#Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk **/*.rs.bk

22
Cargo.lock generated
View file

@ -1,3 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]] [[package]]
name = "adler32" name = "adler32"
version = "1.0.3" version = "1.0.3"
@ -354,16 +356,6 @@ dependencies = [
"num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]]
name = "ttv"
version = "0.1.0"
dependencies = [
"clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
"image 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
"termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]] [[package]]
name = "unicode-width" name = "unicode-width"
version = "0.1.5" version = "0.1.5"
@ -379,6 +371,16 @@ name = "vec_map"
version = "0.8.1" version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "viu"
version = "0.1.0"
dependencies = [
"clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
"image 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
"termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]] [[package]]
name = "winapi" name = "winapi"
version = "0.3.6" version = "0.3.6"

View file

@ -1,5 +1,5 @@
[package] [package]
name = "ttv" name = "viu"
version = "0.1.0" version = "0.1.0"
authors = ["Atanas Yankov <atanas.yankov98@gmail.com>"] authors = ["Atanas Yankov <atanas.yankov98@gmail.com>"]
edition = "2018" edition = "2018"

View file

@ -8,10 +8,10 @@ mod printer;
mod size; mod size;
fn main() { fn main() {
let matches = App::new("Experiment") let matches = App::new("viu")
.version("1.0") .version("1.0")
.author("Atanas Yankov") .author("Atanas Yankov")
.about("We will see what it does later on...") .about("View images directly from the terminal.")
.arg( .arg(
Arg::with_name("mirror") Arg::with_name("mirror")
.short("m") .short("m")