What is iSA? <iSA>! a MVC pattern selection-^MENU
iSystemAdministrastor (iSA) made command-based system operation to be simple, quick and good organize.
What to do if you keep too many shell scripts and hard to find it out to execute or always forgot a complex command?
iSA selection-menu available to organize/collect/execute in MVC pattern.
It stored your self-defined command or job and can be call it by selecting a numeric menu.
Then you will never need any command-based system knowledge to run any complex command.
Get latest source code and suggested install directory "~/bus.d"
Any Bash available system and version 4.0 or greater
- awk
- dialog
- grep
- head
- sed
- sort
- sleep
- tail
- xargs
curl -s https://raw.githubusercontent.com/loweboard/iSystemAdministrator/master/app.iSA/com.loweboard.Configure.About.view.install.sh | bash
; then restart terminal
git clone https://github.com/loweboard/iSystemAdministrator.git ~/bus.d
echo "source ~/bus.d/app.iSA/com.loweboard.agw.sh" >> ~/.bash_profile
source ~/.bash_profile
3.1 Features
3.2 Run Mode
- Organized by MVC pattern
- Text ui and Graphic ui menu
- Infinite level submenu
- Any shell script port to iSA without coding needed (require change filename to iSA format only)
- Any shell like Zsh, BASH, Python, PHP...etc
- Each submenu has own model for self-definded variable to inherited by sub-level of menu
Name | Type | Description |
---|---|---|
isa-set--debug-on |
boolean | turn on debug mode. |
isa-set--debug-off |
boolean | turn off debug mode. |
isa-set--verbose-on |
boolean | show more information of command execution. |
isa-set--verbose-off |
boolean | show less information of command execution. |
Name | Description |
---|---|
com.loweboard.agw.sh |
system-wide settings saved by iSA. |
com.loweboard.Configure.About.view.bashrc.sh |
per-user settings saved by the administrator. |
*.Configure.About.view.bashrc.sh |
per-user settings saved by the user. |
** Interactive Shell Terminal ** | per-session settings effective once . |
3.2.1 Run as selection menu
3.2.2 Run as selection menu with graphic
3.2.3 Run as direct-execute command
$ isa
$ isa.set-x-on
$ isa
$ isa com.loweboard.AI.view.patrol
4.1 How to add self-defined shell script?
4.2 How to change submenu name?
4.3 How to create level 2 submenu?
question:
What to do if i got a new standalone script named "chatbot.sh" and i would like to organized by iSA
Would like to put in "AI submenu"
answer:
We look in "AI submenu" at ~/bus.d/app.iSA folder as below
com.loweboard.AI.controller.sh
com.loweboard.AI.model.sh
com.loweboard.AI.view.patrol.sh
It very simple just as below
- rename "chatbot.sh"
$ mv chatbot.sh com.loweboard.AI.view.chatbot.sh
- Result
com.loweboard.AI.controller.sh
com.loweboard.AI.model.sh
com.loweboard.AI.view.chatbot.sh
com.loweboard.AI.view.patrol.sh
Then will show in iSA menu and effective immediately
**also you can rename your script to under any level of submenu without any coding.
question:
What to do if i want to change "AI submenu" name to "BI"?
anwser:
We look in "AI submenu" at ~/bus.d/app.iSA folder as below
com.loweboard.AI.controller.sh
com.loweboard.AI.model.sh
com.loweboard.AI.view.patrol.sh
It very simple just as below
- Rename domain "com.loweboard.AI"
$ mv com.loweboard.AI.controller.sh com.loweboard.BI.controller.sh
$ mv com.loweboard.AI.model.sh com.loweboard.BI.model.sh
$ mv com.loweboard.AI.view.patrol.sh com.loweboard.BI.view.patrol.sh
- Result
com.loweboard.BI.controller.sh
com.loweboard.BI.model.sh
com.loweboard.BI.view.patrol.sh
Then will show in iSA menu and effective immediately
question:
What to do if i want to add "chatbot.sh" to "Bot submenu" under "AI submenu"?
anwser:
We look in "AI submenu" at ~/bus.d/app.iSA folder as below
com.loweboard.AI.controller.sh
com.loweboard.AI.model.sh
com.loweboard.AI.view.patrol.sh
It very simple just as below
- Copy a set of controller and model from "AI submenu"
$ cp com.loweboard.AI.controller.sh com.loweboard.AI.Bot.controller.sh
$ cp com.loweboard.AI.model.sh com.loweboard.AI.Bot.model.sh
- Rename "chatbot.sh"
$ mv chatbot.sh com.loweboard.AI.Bot.view.chatbot.sh
- Result
com.loweboard.AI.controller.sh
com.loweboard.AI.model.sh
com.loweboard.AI.Bot.controller.sh
com.loweboard.AI.Bot.model.sh
com.loweboard.AI.Bot.view.chatbot.sh
com.loweboard.AI.view.patrol.sh
Then will show in iSA menu and effective immediately
**also same to level 3,4,5 etc.., it support infinite level submenu
5.1 Author
5.2 License
5.3 Web-based implementation
LOWE/SAAU-LOON MR --theBoard{}+
- Twitter: @loweboard
- Github: @loweboard
Copyright © 2012-2015, 2024 loweboard.
This project is GNU General Public License v3.0 licensed.