runtime-cli 0.1.0

Command-line client for managing git projects on Runtime
Documentation
use std::fs;

#[test]
fn crate_metadata_is_ready_for_public_cli_distribution() {
    let manifest = fs::read_to_string(concat!(env!("CARGO_MANIFEST_DIR"), "/Cargo.toml")).unwrap();

    assert!(manifest.contains("description = "));
    assert!(manifest.contains("repository = "));
    assert!(manifest.contains("homepage = \"https://gitruntime.com\""));
    assert!(manifest.contains("readme = \"README.md\""));
    assert!(manifest.contains("keywords = ["));
    assert!(manifest.contains("categories = ["));
    assert!(manifest.contains("[[bin]]\nname = \"runtime\""));
}

#[test]
fn crate_readme_documents_install_and_default_remote() {
    let readme = fs::read_to_string(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md")).unwrap();

    assert!(readme.contains("cargo install runtime-cli"));
    assert!(readme.contains("runtime auth login"));
    assert!(readme.contains("https://gitruntime.com"));
}