Skip to content

Commit e82bd6b

Browse files
committed
Merge branch 'main' of https://github.com/Slug-Boi/cocommit
2 parents 4e029fd + 1bdb345 commit e82bd6b

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,34 @@ Currently built in:
55
- [ ] Python
66

77
Currently tested in:
8-
- [ ] Go
8+
- [x] Go
99
- [ ] C++
1010
- [ ] Python
1111

1212
# How to run
13-
*Coming soon*
13+
Download the binary for your OS on the [release page](https://github.com/Slug-Boi/cocommit/releases)
14+
Once downloaded you need to create an alias for your shell guides found below:
15+
[Bash Guide](https://linuxize.com/post/how-to-create-bash-aliases/)
16+
*^please note if you use another shell than bash you will need to look up how to do it in that shell^*
17+
[Powershell Guide](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/set-alias?view=powershell-7.4)
18+
19+
Once you've created an alias for the program you need to set an env variable (authors_file) in your shell. This should be the path pointing to your authors.txt file
20+
21+
you can now run it using the alias shorthand you assigned it to
22+
## Usage:
23+
```zsh
24+
$ cocommit "message" <name1> [name2] [name3]...
25+
26+
$ cocommit "message" <name:email1> [name:email2] [name:email3]...
27+
28+
$ cocommit "message" <name:email1> <name1> [name:email2]
29+
30+
$ cocommit
31+
*prints usage*
32+
33+
$ cocommit users
34+
*prints list of users*
35+
```
1436

1537
# Syntax for the author file
1638
The syntax for the author file can be found at the top of the template file included in the repo. It should look like this:

0 commit comments

Comments
 (0)