magi-linear-axi 0.2.3

Agent-native Linear GraphQL CLI with TOON output
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{
    cli::{Cli, LabelCommand},
    commands::resource::{self, Kind},
};
pub fn execute(c: &Cli, x: LabelCommand) -> Result<(), crate::error::AppError> {
    let (o, a) = match x {
        LabelCommand::List(a) => ("list", a),
        LabelCommand::Create(a) => ("create", a),
        LabelCommand::Delete(a) => ("delete", a),
    };
    resource::run(c, Kind::Label, o, a)
}