<commit_before>extern crate clap;
extern crate keyring;
extern crate rpassword;

use clap::{Arg, App, SubCommand};
use keyring::Keyring;
use rpassword::read_password;

fn main() {
    let matches = App::new("keyring")
        .version("0.1")
        .author("<NAME> <<EMAIL>>")
        .about("Cross-platform utility to get and set passwords from system vault")
        .subcommand(SubCommand::with_name("set")
            .about("For username, set password")
            .arg(Arg::with_name("username")
                 .help("Username")
                 .required(true)
                 .index(1)))
        .subcommand(SubCommand::with_name("get")
            .about("For username, get password")
            .arg(Arg::with_name("username")
                 .help("Username")
                 .required(true)
                 .index(1)))<commit_msg>Use macro to set version number in bin<commit_after>extern crate clap;
extern crate keyring;
extern crate rpassword;

use clap::{Arg, App, SubCommand};
use keyring::Keyring;
use rpassword::read_password;

fn main() {
    let matches = App::new("keyring")
        .version(env!("CARGO_PKG_VERSION"))
        .author("<NAME> <<EMAIL>>")
        .about("Cross-platform utility to get and set passwords from system vault")
        .subcommand(SubCommand::with_name("set")
            .about("For username, set password")
            .arg(Arg::with_name("username")
                 .help("Username")
                 .required(true)
                 .index(1)))
        .subcommand(SubCommand::with_name("get")
            .about("For username, get password")
            .arg(Arg::with_name("username")
                 .help("Username")
                 .required(true)
                 .index(1)))
{'fraction_non_alphanumeric': 0.14081282198053807, 'fraction_numerical': 0.0034344590726960505, 'mean_word_length': 2.2310536044362292, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3555619', 'n_tokens_mistral': 487, 'n_tokens_neox': 480, 'n_words': 112}