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

Enable spellcheck for executable name #3069

Closed
1 task done
edbighead opened this issue Jan 30, 2023 · 1 comment · Fixed by #3059
Closed
1 task done

Enable spellcheck for executable name #3069

edbighead opened this issue Jan 30, 2023 · 1 comment · Fixed by #3059
Labels
feature New functionality/enhancement

Comments

@edbighead
Copy link
Contributor

edbighead commented Jan 30, 2023

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the user story
Sometimes users misspell atlantis word and are waiting for their PR to be planned or applied

Describe the solution you'd like
Add spellcheck using https://github.com/agext/levenshtein library (similar to terraform)

Describe the drawbacks of your solution
Might not play nice when there are different matching executable names, so perhaps hide it under a configuration flag.

Describe alternatives you've considered

  • Use multiple executable names ATLANTIS_EXECUTABLE_NAME="atlantis,altantis,atantis". It's not supported though.
  • Use run plan instead of the atlantis executable name
  • Use @ and the bot user so it auto completes
@edbighead edbighead added the feature New functionality/enhancement label Jan 30, 2023
@edbighead edbighead changed the title Enable spellcheck forexecutable name Enable spellcheck for executable name Jan 30, 2023
@nitrocode
Copy link
Member

nitrocode commented Jan 31, 2023

Another workaround @edbighead , for now, is that instead of running atlantis plan and atlantis apply, you can use run plan and run apply which may reduce the chances of a typo.

@marcusramberg also mentioned in slack to use the @ and then the Atlantis bot user auto completes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants