Usability feature: Add `shell` (or similar) as a dedicated slash(/) command
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### Describe the feature or problem you'd like to solve
The CLI includes a special keyword `!` for executing shell commands, but this behavior is not discoverable or self documented. Unlike `/` commands, which are visible through autocomplete, `!` must be remembered by the user.
This creates a usability gap, especially for new or occasional users who may not know that shell execution exists or may forget how to access it.
### Proposed solution
Introduce a discoverable alternative such as a `/shell` command that behaves the same as `!`.
This command should appear in the `/` autocomplete list and clearly indicate that it allows shell execution. It could also include a short description or hint to explain its purpose.
### Example prompts or workflows
User types `/sh` and sees `/shell` in autocomplete
User selects `/shell` and enters shell execution mode, equivalent to using `!`
The CLI optionally shows a short hint such as “Run shell commands, same as `!`”
### Additional context
`/` commands are easy to find and use because they are discoverable through autocomplete. In contrast, the `!` keyword requires memorization, which makes it less accessible.
Adding a `/shell` command would improve discoverability, reduce the need to memorize special syntax, and create a more consistent user experience.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il punto di ingresso della CLI per la parola chiave della shell `!` esistente e l’implementazione del completamento automatico del comando `/`. Aggiungi un comando `/shell` individuabile con un breve suggerimento sull’esecuzione della shell, preservando un comportamento equivalente a `!`; il lavoro è completato quando `/sh` lo suggerisce e selezionandolo si entra nella modalità di esecuzione della shell.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100