envoy-cli 0.1.3-release

A Git-like CLI for managing encrypted environment files
1
2
3
4
5
6
7
use std::path::Path;
pub fn check_initialized() -> anyhow::Result<()> {
    if !Path::new(".envoy").exists() {
        anyhow::bail!("Not an Envoy project. Run `envy init` first.");
    }
    Ok(())
}