File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,25 @@ menuItemClm <key> <description> <shell command> <key> <description> <shell comma
4444startMenu
4545```
4646
47+ # Simplest example menu
48+
49+ The simplest menu requires this code:
50+
51+ ```
52+ source "./shellmenu.sh"
53+ menuItem c "Clean all" "mvn clean:clean"
54+ menuItem x "Compile" "mvn clean compile"
55+ menuItem t "Test" "mvn clean test"
56+ menuItem i "Install" "mvn clean install"
57+ startMenu
58+ ```
59+
60+ <img width =" 175 " alt =" image " src =" https://github.com/nschlimm/EasyKey.shellmenu/assets/876604/5b273c27-59f4-4bff-aaa6-b8fbf174bbf9 " >
61+
4762# Maven demo menu (single column)
4863
49- The following example are taken from ` maven_example.sh ` for illustration.
64+ The following example are taken from ` maven_example.sh ` for illustration.
65+ The Maven demo has its own heading and sub menu sections, but has only one column.
5066
5167```
5268source "/path/to/shellmenu.sh"
@@ -70,7 +86,8 @@ Result is the following menu:
7086
7187# Example double column menu
7288
73- The following menu example is tyken from the [ EasyKey.kubectl] ( https://github.com/nschlimm/EasyKey.shellmenu/tree/main/EasyKey.git ) urility.
89+ The following menu example is taken from the [ EasyKey.kubectl] ( https://github.com/nschlimm/EasyKey.shellmenu/tree/main/EasyKey.git ) utility.
90+ The Git menu has many functions and sub sections in two columns to enable maximum amount auf commands in your menu.
7491
7592<img width =" 604 " alt =" image " src =" https://github.com/nschlimm/EasyKey.shellmenu/assets/876604/cf923abb-e589-4f1d-a7a9-45d0b1f18404 " >
7693
You can’t perform that action at this time.
0 commit comments