docs: drop planning IDs from code comments

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 20:33:45 +02:00
1 parent 2c17f374cb
commit 1fa954b74b
5 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -203,14 +203,14 @@ func NewRoot(deps Dependencies) *cobra.Command {
return root
}
// rootGroups places the core and Actions commands in their root help groups (D26); every other
// rootGroups places the core and Actions commands in their root help groups; every other
// command is additional.
var rootGroups = map[string]string{
"auth": "core", "issue": "core", "org": "core", "pr": "core", "release": "core", "repo": "core",
"run": "actions", "secret": "actions", "variable": "actions", "workflow": "actions",
}
// verbAliases are the gh-style short names that every command with a common verb accepts (D6).
// verbAliases are the gh-style short names that every command with a common verb accepts.
// Commands add other gh verbs, such as new, co, add and get, to their own Aliases.
var verbAliases = map[string]string{"list": "ls", "delete": "rm"}
@@ -227,7 +227,7 @@ func addVerbAliases(cmd *cobra.Command) {
}
// acceptPlurals lets the flags of cmd be named in the plural, such as --add-labels for the gh name
// --add-label (D8), without showing the plural in help.
// --add-label, without showing the plural in help.
func acceptPlurals(cmd *cobra.Command) {
names := map[string]bool{}
cmd.Flags().VisitAll(func(flag *pflag.Flag) { names[flag.Name] = true })
+1 -1
View File
@@ -161,7 +161,7 @@ $ tea pr checkout 13 --update`
return cmd
}
// checkoutBranchName names the local branch for a pull request (D13): its head branch name when
// checkoutBranchName names the local branch for a pull request: its head branch name when
// that is free or already at the head, else OWNER/BRANCH for a fork, else pr/NUMBER. A branch that
// an earlier checkout of the same pull request created is reused, so that --update can advance it.
func (a *application) checkoutBranchName(ctx context.Context, t target, pull services.Pull) string {
+1 -1
View File
@@ -528,7 +528,7 @@ type metadataFlags struct {
}
// register adds the flags under their gh names, --add-label and so on, and keeps the plural
// names working (D8).
// names working.
func (f *metadataFlags) register(cmd *cobra.Command) {
flags := cmd.Flags()
flags.StringSliceVar(&f.addLabels, "add-label", nil, "Add labels by `name`; prefix repo: or org: to disambiguate")