stowe 0.4.2

where git chokes, stowe stows - versioned, deduped big and binary files, pushed to backups you can still play (mirror) or compact blob stores (S3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! `stowe init`: create the `.stowe/` that makes a folder a repo.

use anyhow::Result;

use crate::repo::Repo;

pub fn run() -> Result<()> {
    let cwd = std::env::current_dir()?;
    Repo::init(&cwd)?;
    println!(
        "initialized empty stowe repo in {}/.stowe",
        crate::paths::short(&cwd)
    );
    Ok(())
}