Crates.io | khalzam-cli |
lib.rs | khalzam-cli |
version | 0.1.5 |
source | src |
created_at | 2019-03-25 21:54:28.033988 |
updated_at | 2019-08-18 12:32:04.736211 |
description | cli wrapper for khalzam library |
homepage | |
repository | https://github.com/kisasexypantera94/khalzam-cli |
max_upload_size | |
id | 123820 |
size | 12,835 |
CLI interface for khalzam library
Using crates.io:
$ cargo install khalzam-cli
$ git clone https://github.com/kisasexypantera94/khalzam-cli
$ cd khalzam-cli
$ cargo build --release
$ ./target/release/khalzam-cli -h
khalzam-cli 0.1.0
kisasexypantera94 <green.grinya@gmail.com>
USAGE:
khalzam-cli [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
add Add song
add_dir Add songs inside directory
delete Delete song
help Prints this message or the help of the given subcommand(s)
recognize Recognize audiofile
recognize_dir Recognize songs inside directory
You need to create and initialize database:
$ sh ./setup.sh
$ user=kisasexypantera94 dbname=khalzam \ # dbname default value is `khalzam`
khalzam-cli recognize -i samples/disorderlive.mp3
Recognizing `disorderlive.mp3` ...
Best match: joydivisiondisorder
Done in 90.201716ms