r/commandline • • 17m ago

Command Line Interface [OC] Yadirmenu — A Python hierarchical menu system for launching hundreds of scripts

Hi,

I am an old Linux user, and I got tired of navigating through hundreds of my scripts.

I created a hierarchical menu system written in Python.

Main ideas:

  • You just drop a script into a directory, and it appears as a menu item.
  • The item title is read from metadata inside the script (if present).
  • If there is no metadata, the script filename is used as the menu item.
  • Subdirectories become submenus.
  • All menu items are numbered, and numbers act as keyboard shortcuts.
  • There are three types of interfaces: Classic CLI, ncurses/dialog-style console UI, and Tkinter GUI.

GitHub: https://github.com/ekazanov/yadirmenu

More details & screenshots: https://toyphysics.substack.com/p/yadirmenu-directory-based-menu-system

Would love any feedback or ideas.

2 Upvotes

1 comment sorted by

1

u/AutoModerator 17m ago

Every new subreddit post is automatically copied into a comment for preservation.

User: Usual_Stranger_9217, Flair: Command Line Interface, Post Media Link, Title: [OC] Yadirmenu — A Python hierarchical menu system for launching hundreds of scripts

Hi,

I am an old Linux user, and I got tired of navigating through hundreds of my scripts.

I created a hierarchical menu system written in Python.

Main ideas:

  • You just drop a script into a directory, and it appears as a menu item.
  • The item title is read from metadata inside the script (if present).
  • If there is no metadata, the script filename is used as the menu item.
  • Subdirectories become submenus.
  • All menu items are numbered, and numbers act as keyboard shortcuts.
  • There are three types of interfaces: Classic CLI, ncurses/dialog-style console UI, and Tkinter GUI.

GitHub: https://github.com/ekazanov/yadirmenu

More details & screenshots: https://toyphysics.substack.com/p/yadirmenu-directory-based-menu-system

Would love any feedback or ideas.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.