1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use clap_derive::Parser;
mod install;
mod open_jupyter;
mod start;
mod uninstall;
pub use self::{
    install::InstallAction,
    open_jupyter::OpenAction,
    start::{KernelControl, StartAction},
    uninstall::UninstallAction,
};
use crate::{
    commands::uninstall::get_kernel_dir,
    connection::{KERNEL_JS, LINT_CSS, LINT_JS, LINT_LICENSE},
    JupyterKernelProtocol, JupyterResult,
};
use serde::Serialize;
use serde_json::to_string_pretty;
use std::{io::Write, path::Path};