{
  "id": "gotop",
  "name": "gotop",
  "homepage": "https://github.com/xxxserxxx/gotop",
  "description": "Another terminal based graphical activity monitor, inspired by gtop and vtop, this time written in Go!",
  "executables": [
    "gotop"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/gotop/",
      "[configHome]/gotop/",
      "%APPDATA%/gotop/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Run gotop",
    "description": "Start the gotop system monitor with a chosen layout, colour scheme and refresh rate. Remote monitoring, device filters, extensions and config-file options are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": false,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "help",
        "kind": "help",
        "url": "https://github.com/xxxserxxx/gotop/blob/master/cmd/gotop/main.go",
        "revision": "master 2026-10-27",
        "evidence": "color := goopt.String([]string{\"--color\", \"-c\"}, conf.Colorscheme.Name, tr.Value(\"args.color\"))\ngraphhorizontalscale := goopt.Int([]string{\"--graphscale\", \"-S\"}, conf.GraphHorizontalScale, tr.Value(\"args.scale\"))\npercpuload := goopt.Flag([]string{\"--percpu\", \"-p\"}, []string{\"--no-percpu\"}, tr.Value(\"args.percpu\"), tr.Value(\"args.no-percpu\"))\naverageload := goopt.Flag([]string{\"--averagecpu\", \"-a\"}, []string{\"--no-averagecpu\"}, tr.Value(\"args.cpuavg\"), tr.Value(\"args.no-cpuavg\"))\ntempScale := goopt.Flag([]string{\"--fahrenheit\"}, []string{\"--celsius\"}, tr.Value(\"args.temp\"), tr.Value(\"args.tempc\"))\nstatusbar := goopt.Flag([]string{\"--statusbar\", \"-s\"}, []string{\"--no-statusbar\"}, tr.Value(\"args.statusbar\"), tr.Value(\"args.no-statusbar\"))\nupdateinterval := goopt.String([]string{\"--rate\", \"-r\"}, conf.UpdateInterval.String(), tr.Value(\"args.rate\"))\nlayout := goopt.String([]string{\"--layout\", \"-l\"}, conf.Layout, tr.Value(\"args.layout\"))\nnetinterface := goopt.String([]string{\"--interface\", \"-i\"}, \"all\", tr.Value(\"args.net\"))\nmbps := goopt.Flag([]string{\"--mbps\"}, []string{\"--bytes\"}, tr.Value(\"args.mbps\"), tr.Value(\"args.no-mbps\"))\nnvidia := goopt.Flag([]string{\"--nvidia\"}, []string{\"--no-nvidia\"}, tr.Value(\"args.nvidia\"), tr.Value(\"args.no-nvidia\"))\n"
      }
    ],
    "field": [
      {
        "id": "layout",
        "label": "Layout",
        "description": "Name of a layout (for example kitchensink or battery), or a layout file.",
        "type": "string",
        "option": [
          "--layout",
          "-l"
        ],
        "suggestions": [
          {
            "value": "kitchensink",
            "label": "Kitchen sink"
          },
          {
            "value": "battery",
            "label": "Battery"
          }
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "color",
        "label": "Colour scheme",
        "type": "string",
        "option": [
          "--color",
          "-c"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "rate",
        "label": "Refresh rate",
        "description": "Update interval as a duration, for example 1s or 500ms.",
        "type": "string",
        "option": [
          "--rate",
          "-r"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "interface",
        "label": "Network interface",
        "type": "string",
        "option": [
          "--interface",
          "-i"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "graphscale",
        "label": "Graph horizontal scale",
        "type": "integer",
        "option": [
          "--graphscale",
          "-S"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "percpu",
        "label": "Show each CPU core",
        "type": "boolean",
        "option": [
          "--percpu",
          "-p"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "averagecpu",
        "label": "Show average CPU load",
        "type": "boolean",
        "option": [
          "--averagecpu",
          "-a"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "statusbar",
        "label": "Show status bar",
        "type": "boolean",
        "option": [
          "--statusbar",
          "-s"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "fahrenheit",
        "label": "Fahrenheit temperatures",
        "type": "boolean",
        "option": [
          "--fahrenheit"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "mbps",
        "label": "Network in megabits per second",
        "type": "boolean",
        "option": [
          "--mbps"
        ],
        "sources": [
          "help"
        ]
      },
      {
        "id": "nvidia",
        "label": "Enable NVidia GPU monitoring",
        "type": "boolean",
        "option": [
          "--nvidia"
        ],
        "sources": [
          "help"
        ]
      }
    ],
    "task": [
      {
        "id": "kitchensink",
        "label": "Everything on screen",
        "set": {
          "layout": [
            "kitchensink"
          ],
          "percpu": [
            true
          ]
        },
        "fields": [
          "layout",
          "percpu",
          "rate",
          "color"
        ],
        "required": []
      },
      {
        "id": "network",
        "label": "Watch one network interface",
        "fields": [
          "interface",
          "mbps",
          "rate"
        ],
        "required": [
          "interface"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "layout",
          "color",
          "rate",
          "interface",
          "percpu",
          "averagecpu"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "graphscale",
          "statusbar",
          "fahrenheit",
          "mbps",
          "nvidia"
        ]
      }
    ]
  }
}
