You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal is to add a find option in aah's single binary.
What it means?
Once the single binary is build, there would be no easy way to know which files have got embedded into the binary. In real world scenario, it is important to have some mechanism to find out the contents. It could also be helpful for developers, devops, etc.
To achieve this, add a new flag -list in aah application binary
# For regex syntax refer to https://golang.org/pkg/regexp or run 'go doc regexp/syntax'
$ aahwebsite -list "regex"# This would print the file path that matches the given regex pattern
Implementation
Documentation
The text was updated successfully, but these errors were encountered:
I did test drive of this implementation, it seems better to use Package rexexp instead of filepath.Match. Basically entire path match instead of only filepath base.
The goal is to add a find option in aah's single binary.
What it means?
Once the single binary is build, there would be no easy way to know which files have got embedded into the binary. In real world scenario, it is important to have some mechanism to find out the contents. It could also be helpful for developers, devops, etc.
To achieve this, add a new flag
-list
in aah application binaryThe text was updated successfully, but these errors were encountered: