mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
hut: add page (#11535)
* hut: add page --------- Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
89c9e5ecc3
commit
3ae3df3008
1 changed files with 28 additions and 0 deletions
28
pages/common/hut.md
Normal file
28
pages/common/hut.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# hut
|
||||
|
||||
> A CLI tool for sourcehut.
|
||||
> More information: <https://manned.org/hut>.
|
||||
|
||||
- Initialize `hut`'s configuration file (this will prompt for an OAuth2 access token, which is required to use `hut`):
|
||||
|
||||
`hut init`
|
||||
|
||||
- List Git/Mercurial repositories:
|
||||
|
||||
`hut {{git|hg}} list`
|
||||
|
||||
- Create a public Git/Mercurial repository:
|
||||
|
||||
`hut {{git|hg}} create {{name}}`
|
||||
|
||||
- List jobs on <https://builds.sr.ht>:
|
||||
|
||||
`hut builds list`
|
||||
|
||||
- Show the status of a job:
|
||||
|
||||
`hut builds show {{job_id}}`
|
||||
|
||||
- SSH into a job container:
|
||||
|
||||
`hut ssh {{job_id}}`
|
Loading…
Add table
Reference in a new issue