-
Notifications
You must be signed in to change notification settings - Fork 436
feat(cli): port mapping flags and prompts #715
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
Conversation
dc31158 to
c53a623
Compare
5c6644f to
229d198
Compare
kohidave
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks slick!
One request - could you update the end to end test, as well? To specify the --port field for init and app init. e2e/internal/cli.go i think.
iamhopaul123
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM! Just nits.
kohidave
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks delightful ! @iamhopaul123 has some good comments though!
One final nit on the description of the flag.
Move default port string to const Rephrase app port prompt Rephrase error messages in app init
Refactor error messages, prompts, and consts in app init tests
efekarakus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Sorry for the delay, just a question
| type port interface { | ||
| Set(number int) error | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this interface used anywhere?
Adds a port mapping flag to app init and prompts/validation when flag is not provided.
Addresses #595, #703.
I'm punting until next week on adding automagic dockerfile guesses in favor of getting core flag and prompt functionality merged in as quickly as possible.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
ecs-preview initbehaviorecs-preview app initbehavior