Skip to main content

Menu for your remote console

Project description

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 sync repository and install pre-commit before commiting and pushing your changes.

uv sync
uv run pre-commit install

Project details


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.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mymenu-1.2.5-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mymenu-1.2.5.tar.gz.

File metadata

  • Download URL: mymenu-1.2.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for mymenu-1.2.5.tar.gz
Algorithm Hash digest
SHA256 c6ca143f243378c78fc5cff6aea133e80f2a4dc95656dc93f27aff77ef1ad877
MD5 73e1b84c1f02e2ecb806617dba25e207
BLAKE2b-256 090e3640697d544e271a1e7237ecbff8b66643efec4d7d26b8ea3f5709ca1f69

See more details on using hashes here.

File details

Details for the file mymenu-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: mymenu-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.31

File hashes

Hashes for mymenu-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac6c9209ab9a7e7b32620ed47dd5d8dbf5c6b0137dd8424e3425aeb56a65748
MD5 72f605ceea28c0c571f13861c062a9dc
BLAKE2b-256 e3c60c7c1a2a59f8eeecf6b7008bcb4e68a1f073cf98a3fc8bcebda2b86d537a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page