Class: Semgrep::Changes::Options
- Inherits:
-
Object
- Object
- Semgrep::Changes::Options
- Defined in:
- lib/semgrep/changes/options.rb
Defined Under Namespace
Classes: Options
Instance Method Summary collapse
-
#initialize ⇒ Options
constructor
A new instance of Options.
- #parse! ⇒ Object
Constructor Details
Instance Method Details
#parse! ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/semgrep/changes/options.rb', line 14 def parse! OptionParser.new do |opts| opts. = 'Usage: semgrep-changes [options]' parse_report!(opts) parse_commit!(opts) parse_quiet!(opts) parse_help!(opts) parse_version!(opts) parse_base_branch!(opts) end.parse! args end |