Usability feature: Add `shell` (or similar) as a dedicated slash(/) command
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
### 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par localiser le point d’entrée de la CLI pour le mot-clé shell `!` existant et l’implémentation de l’autocomplétion de la commande `/`. Ajoutez une commande `/shell` détectable avec une brève indication sur l’exécution du shell, en conservant un comportement équivalent à `!` ; c’est terminé lorsque `/sh` la suggère et que sa sélection active le mode d’exécution du shell.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- shell
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100