dotenvx 0.2.2

A secure environment variable management tool with built-in encryption
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::crypto::Keypair;
use crate::utils::Result;

pub fn keypair_command(_format: &str) -> Result<()> {
    let keypair = Keypair::generate();

    println!("DOTENV_PUBLIC_KEY=\"{}\"", keypair.public_key());
    println!("DOTENV_PRIVATE_KEY=\"{}\"", keypair.private_key());

    Ok(())
}