/**
* pgh commit — `git commit` passthrough.
*
* No remote semantics; just exec git with the user's args. Convenience
* so the same `pgh` tool handles the local commit + remote push pair.
*
* pgh commit -m "msg"
* pgh commit -a -m "msg"
* pgh commit --amend
*/
import { runGit } from './_git-helpers.js'
export const usage = `pgh commit — 'git commit' passthrough
pgh commit -m "msg"
pgh commit -a -m "msg"
pgh commit --amend
All args forward to git. No remote semantics — pair with 'pgh push'.`
export async function run (client, args) {
await runGit(['commit', ...args])
return null
}