ockam_command 0.104.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;

use crate::util::local_cmd;
use crate::CommandGlobalOpts;

#[derive(Clone, Debug, Args)]
pub struct GetDefaultNodeCommand {}

impl GetDefaultNodeCommand {
    pub fn run(self, options: CommandGlobalOpts) {
        local_cmd(run_impl(options));
    }
}

fn run_impl(_opts: CommandGlobalOpts) -> miette::Result<()> {
    // TODO: get from opts.state.nodes().default()
    todo!()
}