seaplane-cli 0.4.1

The Seaplane Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::{ArgMatches, Command};

use crate::{cli::CliCommand, context::Ctx, error::Result};

#[derive(Copy, Clone, Debug)]
pub struct SeaplaneConfig;

impl SeaplaneConfig {
    pub fn command() -> Command { Command::new("config").visible_alias("cfg") }
}

impl CliCommand for SeaplaneConfig {
    fn run(&self, _ctx: &mut Ctx) -> Result<()> { todo!("SeaplaneConfig::run") }
    fn update_ctx(&self, _matches: &ArgMatches, _ctx: &mut Ctx) -> Result<()> {
        todo!("SeaplaneConfig::update_ctx")
    }
}