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

Validate path input in add-token/remove-token commands and prompt user for correction if unrecognized #859

Open
alimand opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alimand
Copy link
Collaborator

alimand commented Jan 30, 2025

Currently, when running the add-token or remove-token command, if an incorrect "path" is entered (e.g., collection/stations instead of the correct collections/stations), the command still executes without returning an error. This lack of validation can lead to unintended behavior or misconfigurations.

Should enhance the command by implementing path validation to check if the provided path is recognized. If the path is invalid, prompt the user to re-enter it instead of proceeding with execution.

@alimand alimand added the enhancement New feature or request label Jan 30, 2025
@alimand alimand self-assigned this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant