ockam_command 0.117.0

End-to-end encryption and mutual authentication for distributed applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Args;

const ENV_INFO: &str = include_str!("./static/env_info.txt");

/// Outputs information about environment variables used by the Ockam CLI
#[derive(Clone, Debug, Args)]
pub struct EnvironmentCommand {}

impl EnvironmentCommand {
    pub fn run(self) -> miette::Result<()> {
        println!("{}", ENV_INFO);
        Ok(())
    }

    pub fn name(&self) -> String {
        "show environment variables".to_string()
    }
}