Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingPushKeyID = fmt.Errorf("push key ID is required")
View Source
var SignCmd = &cobra.Command{ Use: "sign [command]", Short: "Sign a commit, tag or note", Long: `Sign a commit, tag or note. Run 'kit sign' to sign the current commit.`, Run: func(cmd *cobra.Command, args []string) { signCommitCmd.Run(cmd, args) }, }
SignCmd represents the commit command
Functions ¶
func SignCommitCmd ¶
SignCommitCmd creates and signs a push token for a commit.
- cfg: App config object
- repo: The target repository at the working directory
- args: Arguments
func SignNoteCmd ¶
SignNoteCmd create and signs a push token for a given note
func SignTagCmd ¶
func SignTagCmd(cfg *config.AppConfig, cmdArg []string, repo types.LocalRepo, args *types3.SignTagArgs) error
SignTagCmd create and sign a push token for a given tag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.