Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cedric05/slip
https://github.com/cedric05/slip
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cedric05/slip
- Owner: cedric05
- Created: 2022-01-02T12:20:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T21:35:41.000Z (10 months ago)
- Last Synced: 2024-10-05T23:21:47.232Z (3 months ago)
- Language: Rust
- Size: 90.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple `slip` command (git clone runner to better categorize personal repos and work repos).
example config file
```toml
# ~/.slip.toml
default = "Work"[work]
# root directory to clone for work related projects
root = "/home/cedric05/projects/work"
[work.git]
email = "[email protected]"
name = "name"[personal]
# root directory to clone for personal related projects
root = "/home/cedric05/projects/personal/"
[personal.git]
email = "[email protected]"
name = "name"```
## Install`cargo install slip_git`
## commands
### List
lists all cloned reposexample: `slip list`
### Add
adds repo to slip repolist config fileexample: `slip add /home/user/projects/cloned-git-directory`
### Reconfig
Reconfigures all git repos with correct email and nameexample: `slip reconfig`
### Ui
Creats terminal `UI` (filters, select...) for opening in `vscode`example: `slip ui`
### Clone
`slip clone [email protected]/gitignore/gitgnore`
> with default configuration, it will create a repository in `/home//projects/work//gitignore``slip -p clone [email protected]/microsoft/vscode`
> it will create a repository in `/home//projects/personal//gitignore`create file `~/.slip.toml` to better configure directories.
## CHANGELOG
### 0.1.3
- new command `slip add` adds already git cloned directory to slip
- `slip ui` now default command when no command is sent
- `slip 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