Skip to content

Commit

Permalink
add --dont-respect-gitignore flag
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed Feb 18, 2024
1 parent b854c7d commit 91348e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/synvert/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ def run_option_parser(args)
'loose mode, it ignores ruby version and gem version check, it uses strict mode by default' do |_loose|
Core::Configuration.strict = false
end
opts.on '--dont-respect-gitignore',
'do not respect .gitignore, by default it ignores files and directories in .gitignore' do |_dont_respect_gitignore|
Core::Configuration.respect_gitignore = false
end
opts.on '--test-result TEST_RESULT',
'result format of test, it can be actions or new_source, action is by default' do |test_result|
Core::Configuration.test_result = test_result
Expand Down

0 comments on commit 91348e8

Please sign in to comment.