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
jeevatkm opened this issue May 15, 2018 · 2 comments
Assignees
Labels
Projects

Comments

@jeevatkm
Copy link
Member

@jeevatkm 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 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 added a commit to go-aah/tools that referenced this issue May 17, 2018
@jeevatkm

This comment has been minimized.

Copy link
Member Author

@jeevatkm jeevatkm commented May 18, 2018

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 added a commit to go-aah/docs that referenced this issue May 20, 2018
@jeevatkm

This comment has been minimized.

Copy link
Member Author

@jeevatkm jeevatkm commented May 20, 2018

Documentation done 😄

@jeevatkm jeevatkm closed this May 20, 2018
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
Projects
aah Roadmap
  
Released to Audience
1 participant
You can’t perform that action at this time.