git-workty 0.3.3

Git worktrees as daily-driver workspaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::shell::generate_init;

pub struct InitOptions {
    pub shell: String,
    pub wrap_git: bool,
    pub no_cd: bool,
}

pub fn execute(opts: InitOptions) {
    let output = generate_init(&opts.shell, opts.wrap_git, opts.no_cd);
    print!("{}", output);
}