-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
494c60a
commit c42d787
Showing
5 changed files
with
146 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
Lab CLI | ||
========== | ||
|
||
lab - makes git easier with GitLab | ||
|
||
lab api - Low-level GitLab API request interface. | ||
|
||
<!-- $MDX non-deterministic=command --> | ||
```sh | ||
$ dune install lab | ||
... | ||
[1] | ||
``` | ||
|
||
<!-- $MDX non-deterministic=command --> | ||
```sh | ||
$ lab api "https://gitlab.com/api/v4/users?username=tmcgilchrist" | ||
[ | ||
{ | ||
"id": 490393, | ||
"username": "tmcgilchrist", | ||
"name": "Tim McGilchrist", | ||
"state": "active", | ||
"avatar_url": | ||
"https://secure.gravatar.com/avatar/67afd2b4c98c9befd18c19f0ee9d94dc?s=80&d=identicon", | ||
"web_url": "https://gitlab.com/tmcgilchrist" | ||
} | ||
] | ||
``` | ||
|
||
<!-- $MDX non-deterministic=command --> | ||
```sh | ||
$ lab user-name --owner-name tmcgilchrist | ||
tmcgilchrist:490393 | ||
``` | ||
|
||
List user projects | ||
|
||
<!-- $MDX non-deterministic=command --> | ||
```sh | ||
$ lab user-projects --owner 490393 | ||
tezos | ||
ocaml-changes | ||
ocaml-gitlab | ||
freer | ||
``` | ||
|
||
<!-- $MDX non-deterministic=command --> | ||
```sh | ||
$ lab --help | ||
LAB(1) Lab Manual LAB(1) | ||
|
||
|
||
|
||
NNAAMMEE | ||
lab - make git easier with GitLab | ||
|
||
SSYYNNOOPPSSIISS | ||
llaabb _C_O_M_M_A_N_D ... | ||
|
||
DDEESSCCRRIIPPTTIIOONN | ||
Lab is a tool that wraps git in order to extend it with extra | ||
functionality that makes it better when working with GitLab. | ||
|
||
CCOOMMMMAANNDDSS | ||
aappii -- LLooww--lleevveell GGiittLLaabb AAPPII rreeqquueesstt iinntteerrffaaccee | ||
|
||
|
||
bbrraanncchh -- LLiisstt bbrraanncchheess ffoorr aa pprroojjeecctt | ||
|
||
|
||
ccii--ssttaattuuss -- LLiisstt bbuuiilldd ssttaattuuss ooff aa ccoommmmiitt | ||
|
||
|
||
mmeerrggee--rreeqquueessttss -- LLiisstt uusseerr''ss mmeerrggee rreeqquueessttss | ||
|
||
|
||
pprroojjeecctt--ccrreeaattee -- CCrreeaatteess aa nneeww pprroojjeecctt oowwnneedd bbyy tthhee aauutthheennttiiccaatteedd uusseerr.. | ||
|
||
|
||
sseett--ccii--ssttaattuuss -- SSeett oorr uuppddaattee tthhee bbuuiilldd ssttaattuuss ooff aa ccoommmmiitt | ||
|
||
|
||
ssttaattuuss--cchheecckkss -- LLiisstt eexxtteerrnnaall ssttaattuuss cchheecckkss | ||
|
||
|
||
uusseerr--eevveennttss -- LLiisstt aallll uusseerr eevveennttss | ||
|
||
|
||
uusseerr--lliisstt -- DDiissppllaayy uusseerr nnaammee aanndd iidd | ||
|
||
|
||
uusseerr--nnaammee -- DDiissppllaayy uusseerrss bbyy nnaammee aanndd iidd | ||
|
||
|
||
uusseerr--pprroojjeeccttss -- LLiisstt ppuubblliicc pprroojjeeccttss oowwnneedd bbyy tthhee uusseerr | ||
|
||
|
||
OOPPTTIIOONNSS | ||
----hheellpp[=_F_M_T] (default=auto) | ||
Show this help in format _F_M_T. The value _F_M_T must be one of `auto', | ||
`pager', `groff' or `plain'. With `auto', the format is `pager` or | ||
`plain' whenever the TTEERRMM env var is `dumb' or undefined. | ||
----vveerrssiioonn | ||
Show version information. | ||
BBUUGGSS | ||
<https://github.com/tmcgilchrist/ocaml-gitlab/issues> | ||
AAUUTTHHOORRSS | ||
<https://github.com/tmcgilchrist/ocaml-gitlab> | ||
Lab 0.1 LAB(1) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(env | ||
(non-deterministic (env-vars (MDX_RUN_NON_DETERMINISTIC true)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters