Prompt the user to enter the application name.
Sanitize the user input.
If the user does not provide any input, uses the current directory name as the default.
Sanitize the directory name and ensure it meets the K8s label standards.
If neither the user input nor the directory name meets the standards, default to "my-app".
If the user input is empty it defaults to the directory name
validator for app name
Fixes # (issue)
Feature # (details)
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s).
[ ] Test A
[ ] Test B
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
Prompt the user to enter the application name. Sanitize the user input. If the user does not provide any input, uses the current directory name as the default. Sanitize the directory name and ensure it meets the K8s label standards. If neither the user input nor the directory name meets the standards, default to "my-app".
If the user input is empty it defaults to the directory name
validator for app name
Fixes # (issue) Feature # (details)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Is it a breaking change which will impact consuming tool(s).
Checklist: