Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Placeholders = []string{
"group/:namespace/:repo",
"namespace/:repo",
"fullpath",
"id",
"user",
"username",
"group",
"namespace",
"repo",
"branch",
}
Placeholders are the tokens `glab api` expands in a request path or field value, without their leading colon. Exported so documentation and the bundled skills can be checked against the real set rather than a copy of it: a token that is not here is not a placeholder, and is sent to the API verbatim.
Order matters. The regexp alternation below tries these in sequence, so a longer token must precede any token that prefixes it.
Functions ¶
func EffectiveMethod ¶ added in v1.117.0
EffectiveMethod reports the HTTP method an invocation of this command uses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.