Documentation
¶
Overview ¶
cmd/craft/prdescription/prdescription.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PRDescriptionCmd = &cobra.Command{ Use: "pr-description", Aliases: []string{"pr"}, Short: "Generates a suggested pull request description.", RunE: func(cmd *cobra.Command, args []string) error { presenter := ui.NewPresenter(cmd.OutOrStdout(), cmd.ErrOrStderr()) presenter.Summary("Crafting a pull request description...") presenter.Info("AI analysis complete. Suggested description:") presenter.Newline() simulatedPRBody := `### Summary This change introduces the new 'craft' pillar to the CLI, providing a dedicated space for AI-assisted creative tasks. ### Changes - Added 'craft message' to generate commit messages. - Added 'craft pr-description' as a placeholder for generating PR bodies. - Refactored the strategic kickoff into 'craft kickoff'.` fmt.Fprintln(presenter.Out(), simulatedPRBody) return nil }, }
PRDescriptionCmd represents the craft pr-description command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.