Class: GitAuto::CLI
- Inherits:
-
Thor
- Object
- Thor
- GitAuto::CLI
- Defined in:
- lib/git_auto/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
9 10 11 |
# File 'lib/git_auto/cli.rb', line 9 def self.exit_on_failure? true end |
Instance Method Details
#analyze ⇒ Object
75 76 77 |
# File 'lib/git_auto/cli.rb', line 75 def analyze Commands::HistoryAnalysisCommand.new().execute end |
#commit ⇒ Object
60 61 62 |
# File 'lib/git_auto/cli.rb', line 60 def commit Commands::CommitMessageCommand.new().execute end |
#config(*args) ⇒ Object
44 45 46 |
# File 'lib/git_auto/cli.rb', line 44 def config(*args) Commands::ConfigCommand.new.execute(args) end |
#setup ⇒ Object
30 31 32 |
# File 'lib/git_auto/cli.rb', line 30 def setup Commands::SetupCommand.new.execute end |