A simple CLI written in go to help with my day to day activity tracking at work.
Disclaimer: The goals of this tool are aligned to my workflow and processes
- Simple command structure
- Plain text storage (a simple JSON)
- Fully CLI Based
- Very small footprint (In memory, CPU and codebase)
- Cross platform
- Configurable using config files
Install workday with go
go install github.com/deadpyxel/workday@latest
And the you can just start to use it:
workday
Workday allows you to configure some options using a YAML configuration file. By default, it will search for the file under your $HOME/.config/workday/config.yaml
, but you can pass the configuration file path with the --config
flag. An example of a valid config file can be seen below.
journalPath: "/path/to/your/journal.json"
To run tests, run the following command
go test -cover -v ./...
If you want to run the benchmarks:
go test -bench=. -v ./...
Clone the project
git clone https://github.com/deadpyxel/workday.git
Go to the project directory
cd workday
Build the project locally
go build -o bin/
Run the app
./bin/workday
- Gopher's Public Discord
- cobra-cli
- Cobra Docs
- Viper