UNPKG

606 BMarkdownView Raw
1# cody
2Code repository management
3
4### installation
5
6```
7yarn global add cody
8```
9
10You will need to add some git repo urls to the `~/.code.d` directory.
11
12```
13mkdir -o ~/.code.d/
14echo "git@github.com:alexjpaz/cody.git" >> ~/.code.d/github.com
15```
16
17#### Usage
18
19Pull all repositories
20
21```
22cody pull
23```
24
25Search for a repository and print the directory
26
27```
28cody cody
29```
30
31### Shell Integration
32
33In order to get the benefit of some features in cody you will need to copy the following into your shell configuration
34
35
36#### Bash
37
38```
39function cody_cd() {
40 $(npm bin cody)
41 cd $(cat /tmp/cody_result)
42}
43```