idank / idank/explainshell

Idea: Create a tool to run programs by displaying a ncurses dialog to select/set parameters and then running it with them.

Open
#172 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
14.2k
Forks
851
PR merge metrics
No merged PRs in 30d

Description

The idea is that there’d be a tool that you could use like this:

pick mplayer

It would use the knowledge you have in explainshell, to open an ncurses (or if $DISPLAY is available and it’s configured to do that, even an X) dialog, containing all the settings in plain English, with checkboxes, text input fields, file selection dialogs, date selectors, dropdowns, and other widgets, depending on what the setting expects.

The full explanation of the setting would also be available. Preferably without having to click anything, but just by moving the cursor there. Like the rightmost column on a traditional BIOS settings UI.

When the user has set what he wants, the dialog exists, and displays something like:

Running: mplayer -someparameters -someparameter somefile etc …

Ideally with pretty color syntax highlighting, but that’s purely icing on top.

Distributions could integrate this, a way to pick shell executables and generally files from a menu, and a little getting started info when a terminal is opened, and have a CLI interface that even a clueless person can comfortably use,
without limiting experienced users even a single bit. (Frankly, as an experienced user, who has written whole software projects in bash, I’d still love this too.)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or implementation entry points are named. Start by reviewing explainshell’s existing command and help-text knowledge, then determine how the proposed ncurses or X interface would obtain parameters and explanations. Done would require a scoped design and an implemented tool that selects settings and runs the resulting command.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, python
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.