Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a find option in aah single binary #179

Closed
2 tasks done
jeevatkm opened this issue May 15, 2018 · 2 comments
Closed
2 tasks done

Add a find option in aah single binary #179

jeevatkm opened this issue May 15, 2018 · 2 comments
Assignees
Labels
Projects

Comments

@jeevatkm
Copy link
Member

jeevatkm commented May 15, 2018

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
@jeevatkm jeevatkm added feature cli-tool aah CLI tool labels May 15, 2018
@jeevatkm jeevatkm added this to the v0.11.0 Milestone milestone May 15, 2018
@jeevatkm jeevatkm self-assigned this May 15, 2018
@jeevatkm jeevatkm added this to v0.11.0 - Iteration in aah Roadmap via automation May 15, 2018
@jeevatkm
Copy link
Member Author

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.

Update the above spec and implement it.

jeevatkm added a commit to go-aah/tools that referenced this issue May 18, 2018
@jeevatkm
Copy link
Member Author

Documentation done 😄

aah Roadmap automation moved this from v0.11.0 - Iteration to v0.11.0 - Completed May 20, 2018
@jeevatkm jeevatkm moved this from v0.11.0 - Completed to Released to Audience in aah Roadmap Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
aah Roadmap
  
Released to Audience
Development

No branches or pull requests

1 participant