ターミナルユーザー向けのTUIコマンドランチャー。
nvim、lazygit、lazydocker などのコマンドを視覚的に管理・起動できます。
go install github.com/yamato3010/cmd-launch-pad@latestgit clone https://github.com/yamato3010/cmd-launch-pad.git
cd cmd-launch-pad
go build -o clp .
sudo mv clp /usr/local/bin/clpclp add --name "Neovim" --command "nvim" --category "editor" --desc "テキストエディタ"
clp add --name "lazygit" --command "lazygit" --category "git" --icon "🌿"# Gitリポジトリ初期化
clp sync init
# リモートURL設定 (TUI上でも設定可能)
# ~/.config/cmd-launch-pad/config.yaml の git.remote を設定
# プッシュ
clp sync push
# プル
clp sync pull
# ステータス確認
clp sync status登録済みコマンドが一覧表示され、選択するとターミナルに書き込まれます。
Enter を押すだけで実行できます。
シェル統合のセットアップ(初回のみ)
# zsh
clp list --shell-init >> ~/.zshrc && source ~/.zshrc
# bash
clp list --shell-init-bash >> ~/.bashrc && source ~/.bashrcセットアップ後は _clp_pick でセレクターを呼び出せます。
キーバインドを設定するとより便利です(~/.zshrc に追記):
bindkey -s '^[p' '_clp_pick\n' # Alt+P でコマンド選択clp export > my-commands.yaml
clp export --output my-commands.yaml| キー | アクション |
|---|---|
↑↓←→ / hjkl |
カーソル移動 |
Enter |
コマンド実行 |
n |
新規コマンド登録 |
e |
選択中のコマンド編集 |
d |
選択中のコマンド削除 |
Tab |
カテゴリタブ切り替え |
/ |
検索モード |
g |
Git操作画面 |
? |
ヘルプ表示 |
q / Ctrl+C |
アプリ終了 |
~/.config/cmd-launch-pad/
├── config.yaml # アプリ設定
├── commands.yaml # 登録コマンド一覧
└── .git/ # Git管理 (sync init後)
- 言語: Go 1.21+
- TUIフレームワーク: Bubble Tea
- UIコンポーネント: Bubbles
- スタイリング: Lip Gloss
- Git操作: go-git
- 設定ファイル: YAML
- CLIフレームワーク: Cobra
This project is licensed under the MIT License - see the LICENSE file for details.




