FTI67CGF4MMPDFA6YJN6UKOADQLFAECKGYPTWSPSALVQK76BJMJAC
/// Path to folder in which to store the history files.
#[structopt(
short,
long,
default_value = into_str!(default_data_dir())
)]
data_dir: PathBuf,
/// Path to the socket for communication with the server
#[structopt(short, long, default_value = into_str!(default_socket_path()))]
socket_path: PathBuf,
/// Path to folder in which to store the history files.
#[structopt(
short,
long,
default_value = into_str!(default_data_dir())
)]
data_dir: PathBuf,
/// Path to the socket for communication with the server
#[structopt(short, long, default_value = into_str!(default_socket_path()))]
socket_path: PathBuf,
SubCommand::ZSHAddHistory(o) => {
Self::run_zsh_add_history(o.command, self.socket_path)
}
SubCommand::Server(o) => {
Self::run_server(o.cache_path, self.socket_path, self.data_dir)
}
SubCommand::Stop => Self::run_stop(self.socket_path),
SubCommand::PreCmd => Self::run_precmd(self.socket_path),
SubCommand::ZSHAddHistory(o) => Self::run_zsh_add_history(o.command, o.socket_path),
SubCommand::Server(o) => Self::run_server(o.cache_path, o.socket_path, o.data_dir),
SubCommand::Stop(o) => Self::run_stop(o.socket_path),
SubCommand::PreCmd(o) => Self::run_precmd(o.socket_path),
SubCommand::Running => Self::run_running(self.socket_path),
SubCommand::Import(o) => Self::run_import(o.import_file, self.data_dir),
SubCommand::Running(o) => Self::run_running(o.socket_path),
SubCommand::Import(o) => Self::run_import(o.import_file, o.data_dir),