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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user