{"modulePath":"github.com/lichdotdev/lich","version":"v0.95.0-rc.3","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package commitmsg\n\nPackage commitmsg has an agent write a commit message for what a checkout's index holds, by running a provider's CLI once outside any session.\n\n## Types\n\n```go\ntype Service struct {\n\t// contains filtered or unexported fields\n}\n```\nService writes commit messages.\n\n```go\nfunc New(run printer, store settings, lang func() prompt.Lang) *Service\n```\n\n```go\nfunc (s *Service) GitWriteMessage(ctx context.Context, opts api.GitWriteMessageOptions) (api.GitWrittenMessage, error)\n```\nGitWriteMessage asks the provider of session opts.SessionID, or the default one with none, for a message for what the index holds.\n\n","path":"github.com/lichdotdev/lich/internal/commitmsg","name":"commitmsg","synopsis":"Package commitmsg has an agent write a commit message for what a checkout's index holds, by running a provider's CLI once outside any session.","isRedistributable":true}
