Crates.io | slip_git |
lib.rs | slip_git |
version | 0.1.3 |
source | src |
created_at | 2022-01-02 15:57:31.482439 |
updated_at | 2023-08-05 08:50:52.357313 |
description | Simple `slip` command (git clone runner to better categorize personal repos and work repos). |
homepage | |
repository | |
max_upload_size | |
id | 506592 |
size | 52,089 |
Simple slip
command (git clone runner to better categorize personal repos and work repos).
example config file
# ~/.slip.toml
default = "Work"
[work]
# root directory to clone for work related projects
root = "/home/cedric05/projects/work"
[work.git]
email = "some_email@company.com"
name = "name"
[personal]
# root directory to clone for personal related projects
root = "/home/cedric05/projects/personal/"
[personal.git]
email = "some_email@hotmail.com"
name = "name"
cargo install slip_git
lists all cloned repos
example: slip list
adds repo to slip repolist config file
example: slip add /home/user/projects/cloned-git-directory
Reconfigures all git repos with correct email and name
example: slip reconfig
Creats terminal UI
(filters, select...) for opening in vscode
example: slip ui
slip clone git@github.com/gitignore/gitgnore
with default configuration, it will create a repository in
/home/<username>/projects/work/<gitignore>/gitignore
slip -p clone git@github.com/microsoft/vscode
it will create a repository in
/home/<username>/projects/personal/<gitignore>/gitignore
create file ~/.slip.toml
to better configure directories.
slip add
adds already git cloned directory to slipslip ui
now default command when no command is sentslip ui
new selected directory via enter
opens shell inplace of previous action `opening vscode``slip ui
new selected directory changed opening vscode
action to insert
keycode