feat: add auto-cli customization options (#11763)

* feat(cli/v2): add command & flag proto options

* WIP

* docs

* update

* change name to use

* update use

* rename to autocli

* updates

* switch to (hopefully) more intuitive design

* docs

* updates

* updates

* add flag_options example
This commit is contained in:
Aaron Craelius
2022-09-12 15:51:08 +00:00
committed by GitHub
parent 97a77a47dc
commit b41fd3fbf5
4 changed files with 5129 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ cd proto
proto_dirs=$(find ./cosmos -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq)
for dir in $proto_dirs; do
for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do
if grep "option go_package" $file &> /dev/null ; then
if grep "option go_package.*(?!cosmos-sdk/api)" $file &> /dev/null ; then
buf generate --template buf.gen.gogo.yaml $file
fi
done