MyMenu
Menu for your remote console.
Installation
You can install mymenu either by uv
uv tool install mymenu
or by pip
pip install mymenu
Usage
Just run menu and ~/.mymenu.json will be used.
Alternatively you can run menu -f some_other_menu.json
Menu.json
Example of menu.json file:
[
{
"type": "MENU_TITLE",
"title": "Main menu"
},
{
"type": "SUBMENU",
"label": "Submenu",
"key": "1",
"submenu": [
{
"type": "MENU_TITLE",
"title": "Submenu"
},
{
"type": "COMMAND",
"label": "Command 1",
"key": "1",
"command": "command1"
},
{
"type": "COMMAND",
"label": "Command 2",
"key": "2",
"command": "command2"
}
]
},
{
"type": "COMMAND",
"label": "Command",
"key": "2",
"command": "command"
}
]
Contributing
Please install pre-commit before commiting and pushing your changes.
uv run pre-commit install
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mymenu-1.2.7.tar.gz
(15.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mymenu-1.2.7-py3-none-any.whl
(16.7 kB
view details)