LinuxCommandLibrary

hut

A CLI tool for sourcehut.

TLDR

Initialize hut's configuration file (this will prompt for an OAuth2 access token, which is required to use hut)

$ hut init
copy


List Git/Mercurial repositories
$ hut [git|hg] list
copy


Create a public Git/Mercurial repository
$ hut [git|hg] create [name]
copy


List jobs on
$ hut builds list
copy


Show the status of a job
$ hut builds show [job_id]
copy


SSH into a job container
$ hut ssh [job_id]
copy

Copied to clipboard