easyp is a cli tool for workflows with proto files.
For now, it's just linter and package manager, but... who knows, who knows...
Just testing
- Clone repository
- Build
go build ./cmd/easypgo install github.com/easyp-tech/easyp/cmd/easyp@latesteasyp support buf's linter rules.
easyp lint -cfg example.easyp.yamlTo usage easpy as a package manager use mod download command:
easyp -cfg example.easyp.yaml mod downloadYour config file has to contains deps section which is list of repositories with proto files and its version (optional).
For example:
deps:
- github.com/googleapis/googleapis@common-protos-1_3_1NOTE: Use only git tag or full hash of commit version.
By default, easyp use $HOME/.easyp dir to storage cache and downloaded modules, you could override it with EASYPPATH env var.
- Add the following line to your ~/.zshrc startup script:
source <(easyp completion zsh)- Re-launch your shell or run:
source ~/.zshrc- Install bash-completion and add the software to your
~/.bashrc. - Add the following line to your ~/.bashrc startup script:
source <(easyp completion bash)- Re-launch your shell or run:
source ~/.bashrc- Implement support for
buf.work.yamlconfig - Calc hash sum, store it and compare (i.e go.sum)
- Code generation