@optique/git 0.9.0 → 0.10.0-dev.289
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 +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,6 +91,7 @@ const result = await parseAsync(parser, ["main"]);
|
|
|
91
91
|
~~~~
|
|
92
92
|
|
|
93
93
|
Options:
|
|
94
|
+
|
|
94
95
|
- `dir`: Git repository directory (defaults to current working directory)
|
|
95
96
|
- `metavar`: Metavar name for help text (default: `"BRANCH"`)
|
|
96
97
|
|
|
@@ -211,6 +212,7 @@ const parser = object({
|
|
|
211
212
|
~~~~
|
|
212
213
|
|
|
213
214
|
The factory returns a `GitParsers` object with the following methods:
|
|
215
|
+
|
|
214
216
|
- `branch(options?)` - Same as `gitBranch()`
|
|
215
217
|
- `remoteBranch(remote, options?)` - Same as `gitRemoteBranch()`
|
|
216
218
|
- `tag(options?)` - Same as `gitTag()`
|