Workflow and documentation improvements.
This commit is contained in:
parent
ce00a54104
commit
8642e94d90
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
repository: xxxserxxx/homebrew-gotop
|
||||
event-type: my-event
|
||||
event-type: my-release
|
||||
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
||||
|
||||
- name: Update Arch AURs
|
||||
|
@ -27,5 +27,5 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
repository: xxxserxxx/gotop-linux
|
||||
event-type: my-event
|
||||
event-type: my-release
|
||||
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
||||
|
|
|
@ -31,17 +31,18 @@ yay -S gotop-bin
|
|||
|
||||
### OSX
|
||||
|
||||
gotop can be installed with [Homebrew](https://brew.sh/); you'll need to tap the recipe. If you'd previously tapped cjbassi's recipe, you'll want to untap that first.
|
||||
gotop can be installed with [Homebrew](https://brew.sh/); you'll need to tap the recipe. If you'd previously tapped cjbassi's recipe, you'll want to untap that first. The old version of gotop is also included in Homebrew's core library, and that will always be chosen before any taps, so you have to specify the tap specifically.
|
||||
|
||||
```
|
||||
brew uninstall gotop # If previously installed
|
||||
brew untap cjbassi/gotop # If previously tapped
|
||||
brew tap xxxserxxx/gotop
|
||||
brew install gotop
|
||||
brew install xxxserxxx/gotop
|
||||
```
|
||||
|
||||
### Prebuilt binaries
|
||||
|
||||
This doesn't require Go, is easy, and works across distributions. You have to manually upgrade the executable yourself, though.
|
||||
This doesn't require Go, is easy, and works across distributions. You have to manually upgrade the executable yourself, though, so using your distribution's package (if one is available) is a better approach.
|
||||
|
||||
Visit [the releases page](https://github.com/xxxserxxx/gotop/releases) with your web browser and download the appropriate file for your OS. Unzip it (the archive contains a single file) and then move the resulting `gotop` binary into your `$PATH` somewhere. If you're on a Debian or Redhat derivative, you can download an `.rpm` or `.deb` and install that.
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ var (
|
|||
// TODO: state:deferred 157 FreeBSD fixes & Nvidia GPU support (kraust/master). Significant CPU use impact for NVidia changes.
|
||||
// TODO: Virtual devices from Prometeus metrics @feature
|
||||
// TODO: state:merge #167 configuration file (jrswab/configFile111)
|
||||
// TODO: Abstract out the UI toolkit. mum4k/termdash, VladimirMarkelov/clui, gcla/gowid, rivo/tview, marcusolsson/tui-go might work better for some OS/Archs. Performance/memory use comparison would be interesting.
|
||||
func parseArgs(conf *gotop.Config) error {
|
||||
usage := `
|
||||
Usage: gotop [options]
|
||||
|
|
Loading…
Reference in New Issue
Block a user