From 3ae3df30080eea0006a8de69678da8c252ff3322 Mon Sep 17 00:00:00 2001 From: mbsmith <1298062+mbsmith@users.noreply.github.com> Date: Tue, 21 Nov 2023 02:58:11 -0600 Subject: [PATCH] hut: add page (#11535) * hut: add page --------- Co-authored-by: Juri Dispan Co-authored-by: K.B.Dharun Krishna Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/hut.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/hut.md diff --git a/pages/common/hut.md b/pages/common/hut.md new file mode 100644 index 000000000..db99614fc --- /dev/null +++ b/pages/common/hut.md @@ -0,0 +1,28 @@ +# hut + +> A CLI tool for sourcehut. +> More information: . + +- 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 : + +`hut builds list` + +- Show the status of a job: + +`hut builds show {{job_id}}` + +- SSH into a job container: + +`hut ssh {{job_id}}`