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 short versions of several cli options #3732

Merged
merged 1 commit into from
Aug 11, 2022

Conversation

alanmcruickshank
Copy link
Member

This adds short options for many cli commands. I'm having to type too much during testing 😄 .

  • -d for dialect
  • -t for templater
  • -r for rules
  • -e for excluding rules
  • -i for ignoring
  • -x for fixed suffix

I've updated some of the pre existing tests to cover these cases.

@alanmcruickshank alanmcruickshank changed the title Add short options for several cli commands. Add short versions of several cli options Aug 11, 2022
@alanmcruickshank alanmcruickshank marked this pull request as ready for review August 11, 2022 11:16
@codecov
Copy link

codecov bot commented Aug 11, 2022

Codecov Report

Merging #3732 (58c7bb2) into main (ca3f509) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main     #3732   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          176       176           
  Lines        13462     13462           
=========================================
  Hits         13462     13462           
Impacted Files Coverage Δ
src/sqlfluff/cli/commands.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@alanmcruickshank alanmcruickshank merged commit 2a691a7 into main Aug 11, 2022
@alanmcruickshank alanmcruickshank deleted the ac/short_dialect_options branch August 11, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants