23 lines
696 B
Markdown
23 lines
696 B
Markdown
## commago
|
|
|
|
Personal tools set written in Golang.
|
|
|
|
## How to run
|
|
|
|
1. Clone this repository to somewhere
|
|
1. Add the root directory to *PATH*
|
|
1. Change directory to the root directory
|
|
1. Run `go run .` to generate "," command
|
|
1. Run "," command to see all commands
|
|
|
|
"," command can auto rebuild if you change the code in this repository.
|
|
Actually it always builds each time you type it! Because `go build` is
|
|
very fast and it has cache, it's not a problem in terms of speed.
|
|
|
|
## Q&A
|
|
|
|
Q: Why generating "," shell script instead of putting it in repository?
|
|
|
|
A: I like the repository keeps 100% Go source code. I tried writting ","
|
|
shell script as a Go source code with shebang, but it didn't work.
|