ocs 0.1.5

A session picker for OpenCode
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use {super::*, init::Init};

mod init;

#[derive(clap::Subcommand)]
pub(crate) enum Subcommand {
  #[command(about = "Generate shell integration")]
  Init(Init),
}

impl Subcommand {
  pub(crate) fn run(self) {
    match self {
      Self::Init(init) => init.run(),
    }
  }
}