fishi0x01 / vsh

vsh - HashiCorp Vault interactive shell and cli tool
MIT License
284 stars 12 forks source link

add shallow flag to grep/replace commands #97

Closed mattlqx closed 3 years ago

mattlqx commented 3 years ago

Hey, it's been a while since I was able to work on vsh! But we're doing a migration today and adding this flag drastically cut the amount of time we needed to do some search and replaces.

this flag limits searches to only the immediate leaf nodes of a path rather than deeply recursing through every path below the specified path. we found this to be very useful when we have a large path structure below a parent path and want to exclude it during these operations.