@optique/git 0.10.0-dev.289 → 0.10.0-dev.290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,7 +95,6 @@ Options:
|
|
|
95
95
|
- `dir`: Git repository directory (defaults to current working directory)
|
|
96
96
|
- `metavar`: Metavar name for help text (default: `"BRANCH"`)
|
|
97
97
|
|
|
98
|
-
|
|
99
98
|
### `gitRemoteBranch(remote, options?)`
|
|
100
99
|
|
|
101
100
|
A value parser for remote branch names. Validates that the input matches an
|
|
@@ -114,7 +113,6 @@ const result = await parseAsync(parser, ["--branch=main"]);
|
|
|
114
113
|
// Valid remote branch on origin
|
|
115
114
|
~~~~
|
|
116
115
|
|
|
117
|
-
|
|
118
116
|
### `gitTag(options?)`
|
|
119
117
|
|
|
120
118
|
A value parser for tag names. Validates that the input matches an existing tag
|
|
@@ -133,7 +131,6 @@ const result = await parseAsync(parser, ["--tag=v1.0.0"]);
|
|
|
133
131
|
// Valid tag
|
|
134
132
|
~~~~
|
|
135
133
|
|
|
136
|
-
|
|
137
134
|
### `gitRemote(options?)`
|
|
138
135
|
|
|
139
136
|
A value parser for remote names. Validates that the input matches an existing
|
|
@@ -152,7 +149,6 @@ const result = await parseAsync(parser, ["--remote=origin"]);
|
|
|
152
149
|
// Valid remote
|
|
153
150
|
~~~~
|
|
154
151
|
|
|
155
|
-
|
|
156
152
|
### `gitCommit(options?)`
|
|
157
153
|
|
|
158
154
|
A value parser for commit SHAs. Validates that the input is a valid commit SHA
|
|
@@ -171,7 +167,6 @@ const result = await parseAsync(parser, ["--commit=abc1234"]);
|
|
|
171
167
|
// Valid commit SHA
|
|
172
168
|
~~~~
|
|
173
169
|
|
|
174
|
-
|
|
175
170
|
### `gitRef(options?)`
|
|
176
171
|
|
|
177
172
|
A value parser for any Git reference (branches, tags, or commits). Validates
|
|
@@ -190,7 +185,6 @@ const result = await parseAsync(parser, ["--ref=v1.0.0"]);
|
|
|
190
185
|
// Valid branch, tag, or commit
|
|
191
186
|
~~~~
|
|
192
187
|
|
|
193
|
-
|
|
194
188
|
### `createGitParsers(options?)`
|
|
195
189
|
|
|
196
190
|
Creates a factory for Git parsers with shared configuration. All parsers
|