Class: Ace::Support::Items::Molecules::GitCommitter
- Inherits:
-
Object
- Object
- Ace::Support::Items::Molecules::GitCommitter
- Defined in:
- lib/ace/support/items/molecules/git_committer.rb
Overview
Shells out to ace-git-commit for auto-committing after mutations. Pure CLI invocation — no gem dependency on ace-git-commit.
Class Method Summary collapse
-
.commit(paths:, intention:) ⇒ Boolean
True if commit succeeded.
Class Method Details
.commit(paths:, intention:) ⇒ Boolean
Returns true if commit succeeded.
13 14 15 16 |
# File 'lib/ace/support/items/molecules/git_committer.rb', line 13 def self.commit(paths:, intention:) cmd = ["ace-git-commit"] + paths + ["-i", intention] system(*cmd) end |