Skip to content

Repository files navigation

devgo

a command-line launcher

devgo

Install

latest version

curl -o- https://raw.githubusercontent.com/TheWinds/devgo/main/install.sh | bash

special version

curl -o- https://raw.githubusercontent.com/TheWinds/devgo/main/install.sh | bash -s 1.0.0

QuickStart

dg

Hotkeys

  • select group
  • select item
  • search item type keywords
  • exit ctrl+cctrl+desc

Config

If you don't have any configuration, the toml configuration file will be created automatically. You can also create your own yaml configuration file, which can be read better. You can only choose one of them.

file path: ~/.devgo.toml

# random group tab name preifx emojitab_emojis="🐶🐱🐭🦊🐻🐼🐮🐷🐸🐵🦉🦄🐟🐳🐖🐂💥🌈🌞"mode="easy"
[[group]]
# group namename="tools"
[[group.item]]
# group item titletitle="hello"# group item command to execexec="echo hello devgo"
[[group.item]]
title="date now"exec="date"
[[group]]
name="website"
[[group.item]]
title="github"exec="open https://github.com"
[[group]]
name="devgo"
[[group.item]]
title="edit config"exec="vim $HOME/.devgo"

file Path: ~/.devgo.yaml

tab_emojis: "🐶🐱🐭🦊🐻🐼🐮🐷🐸🐵🦉🦄🐟🐳🐖🐂💥🌈🌞"mode: "vim"#`vim` or `easy`group:
-
name: "tools"item:
- { title: "hello", exec: "echo hello devgo" }
- { title: "date now", exec: "date" }
-
name: "website"item:
- { title: "github", exec: "open https://github.com" }
-
name: "devgo"item:
- { title: "edit config", exec: "vim $HOME/.devgo.yaml" }

Uninstall

rm $(which dg)

Vim Mode

Not mature enough at present, not recommended.

Inspiration from vimium

  • hjkl: Equivalent to
  • i: Edit ~/.devgo.yaml
  • /: Enter search mode
  • nN: Cycle forward to the next find match
  • ggG: Back to top and bottom
  • ud: Up or down 5 positions
  • x: Exit
  • f: Show all command shortcut key
  • ?: Show help
  • HL: Go to the first or last group
  • r: Try the last command again

About

🧭 TUI for command navigation

Resources

Stars

13 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages