Cmdclick
Shellscript plarform (your shellscript turn to gui application, very easily and fastly )
Install / Use
/learn @puutaro/CmdclickREADME
Command Click
Shellscript gui platform made with 100% shell script (fzf, yad, etc)

It's a shellscript manager app from gui that have execution, edit, delete, and create as feature.
Pros
- Easily turn shellscript into a GUI application.
- Versatile usage for Terminal, Crome, OS setting, etc.
- Ritch key bind.
- List shellscript.
Table of Contents
<!-- vim-markdown-toc GFM -->Installation
For windows 10
-
Downlaod installer.bat from google drive
-
Double click installer.bat
- Support Ubuntu20.04+
- for windows 11, disable wayland, but it's unconfirmed operation
For Ubuntu or Debian
- Only X11 support (wayland not support)
- Support Ubuntu20.04+
git clone https://github.com/kitamura-take/cmdclick.git ~/.cmdclick
cd ~/.cmdclick/linux/install
bash installer.sh
For other Linux
- Only X11 support (wayland not support)
- It's unconfirmed operation
git clone https://github.com/kitamura-take/cmdclick.git ~/.cmdclick
cd ~/.cmdclick/linux/install
vi installer.sh
# please replace apt with your package system cmd, which is yum
bash installer.sh
Upgrading.
Upgrading for windows10
- delete $HOME/cmdclick directory
- same as installation.
Upgrading for Ubuntu or Debian
- delete $HOME/.cmdclick directory
- same as installation.
Demo

demo flow
- add -> run -> edit by gui -> run -> edit by editor -> run
- edit by gui -> set
editExecute(ONCE) -> run ->setVariableType(CB) -> run - edit by gui -> set
editExecute(ALWAYS) -> run ->setVariableType(NUM) -> run - Install shellscript -> run -> add -> run
- edit by gui -> set
editExecute(ALWAYS) -> run - edit by gui -> set
TerminalDo(OFF) -> run
Usage
CommandClick will launch shellscript platform, read shellscript from $HOME/cmdclick/default or etc.
Launch
for windows
First, type windows key and "cmdclick", then click cmdclick icon
Or key down ctrl+alt+c as shrotcut key. (if your shortcut key is this, change by right click at cmdclick_shortcut.link in desktop)
for Linux
Type cmdclick for search in menu.
(It's easier to make a keybind)
Add
Add file to command click
-
Type alt+a, that way, open source file.
-
Write the file name you want to set at shellFileName between
SETTING_SECTION_STARTand `SETTING_SECTION_END.- Set the various settingVriables below as necessary
| settingVariable| set value | description | | --------- | --------- | ------------ | |
terminalDo|ON/OFF| whether to run in terminal | |openWhere|CW/NT| when runing in terminal, whether to run current tab or new tab | |terminalFocus|ON/OFF| whether to forcus to terminal | |editExecute|N/C/E| before running shellscript, you can edit settingVriable(NO: no, ONCE: one time edit ALWAYS:always edit) | |setVariableType| string | when edit, whether to set variable type to commandVariable. You also have multiple specifing this. In detail, follow bellow. | |afterCommand| command | before run shellscript, run command | |afterCommand| command | before run shellscript, run command | |ExecBeforeCtrlCmd| command | before run shellscript, run cmdclik crtl command (prefix NO: only apply when editExecute is NO, prefixONCE: only apply when editExecute isONCE, prefixALWAYS: only apply when editExecute is ALWAYS. no prefix is apply to all editExecute value), prefix#: escape ctrl cmd execute| |execAfterCtrlCmd| command | after run shellscript, run command, detail above same | |shellFileName| string | shellscript file name | |appIconPath| string | icon file path forShell2Gui| -
Insert the variables you want to set in the gui between.
CMD_VARIABLE_SECTION_STARTand `CMD_VARIABLE_SECTION_END.- Set the various commandriables below as optional
| settingVariable| set value | description |
| --------- | --------- | ------------ |
|
shellArgs| string | shellscript args. You also have multiple specifing this. |
- Set the various commandriables below as optional
| settingVariable| set value | description |
| --------- | --------- | ------------ |
|
-
after
Please write bellow with shell script, write shellscript. -
come back Command Click screen, and if it correct, type ctrl+enter if not, esc.
- setVariableType option
| option| description | example |
| --------- | --------- | ------------ |
|
CB| checkbox | {variablebName}:CB=value1!value2!|.. | |CB| editable checkbox | {variablebName}:CBE=value1!value2!|.. | |H| hidden input | {variablebName}:H={password ..etc} | |NUM| increment or decrement number | {variablebName}:NUM={init_value}!{min}..{max}!{step}(!{number of decimal places}) | |FL| file select button | {variablebName}:FL={default file path} | |SFL| create file button | {variablebName}:SFL={default file path} | |DIR| directory select button | {variablebName}:SFL={default directory path} | |CDIR| create directory button | {variablebName}:CDIR={default file path} | |DT| create file button | {variablebName}:SFL={default file path} | |SCL| scale | {variablebName}:SCL={default number} | |CLR| select color | {variablebName}:SCL={default value} | |LBL| text label | {variablebName}:LBL={label text} | |BTN| botton | {variablebName}:BTN={command} | |FBTN| botton | {variablebName}:BTN={command} |
Run
Run shellscript
- Cursor move to script file name you wonts run by mouse or up or down
- Enter or double click this.
- When inputExecute is C or E, before runninig, you will edit the script.
Edit
Cmdclick can edit shellscript by gui or editor
by gui
- Move cursor to script file name you wonts edit by up or down.
- Type Alt+e or run shellscript when inputExecute in seting secttion is C.
- Soon cmdclick open the edit's gui, then set each variable you wont to change.
- When you wont to set the setting variable, type alt+e. (when not setting cmd variable, cmdclck automaticaly display setting variable's edit screen)
- When finishing editing, type ctrl+enter.
- Soon apear confirm screen, if it correct, type ctrl+enter if not, esc.
by editor
- Move cursor to script file name you wonts edit by up or down.
- Yype Alt+w or run shellscript when inputExecute in seting secttion is E.
- Soon editor open the target script , then edit.
- Come back cmdclick gui screen, and, type ctrl+enter.
description by gui
- Move cursor to script file name you wonts edit by up or down.
- Type Alt+W.
- Soon cmdclick open description edit screen , then edit.
- When finishing editing, type ctrl+enter.
- Soon apear confirm screen, if it correct, type ctrl+enter if not, esc.
Delete
delete shellscript file
- Move cursor to script file name you wonts edit by up or down.
- Type Alt+d.
- Soon cmdclick open delete screen , if it correct, type ctrl+enter if not, esc.
Exit
Exit cmdclick
- Type esc.
- Besides this, esc can exit all process (add, run, edit, delete)
Move
Move shellscript file to other app directory
- Move cursor to script file name you wont to move by up or down.
- Type Alt+m.
- Soon cmdclick open app directory list.
- Move cursor to app direcotry path name you wont to move by up or down. (if selecting current app directory, target file is copied)
- Type enter.
Install
Install mean copy selected shellscript
- Type Alt+i.
- Soon cmdclick open file manager.
- Select file you wont to install.
- Soon cmdclick open app directory list.
- Move cursor to app direcotry path name you wont to insert by up or down.
- Type enter.
Setting
change setting in cmdclick
-
Type Alt+C.
-
Soon cmdclick open the setting gui, then set each column you wont to change.
-
bellow setting column detail
| settingVariable| set value | description | | --------- | --------- | ------------ | |
pasteAfterEnter|ON/OFF| after pasting cmd to terminal, whether to type enter | |pasteTargetTerminalName| terminal name | past target terminal app name | |openEditorCmd| editor cmd | editor command | |shiban| shell shiban | running shellscript's shiban | |runShell| shell name | run shell name | -
pasteTargetTerminalName's example
windows)WindowsTerminal, `ubu
-

