cmd

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GithubClient comments.GithubClient
View Source
var RootCmd = &cobra.Command{
	Use:   "commenter",
	Short: "A CLI to perform operation on GitHub PR issues.",
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		token := os.Getenv("GITHUB_TOKEN")
		err := comments.NewClient(token, &GithubClient)
		if err != nil {
			log.Fatalf("Error initializing GitHub client: %v", err)
		}
	},
}

Functions

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL