lukeed / sade

Smooth (CLI) Operator 🎶
MIT License
1.05k stars 24 forks source link

Tab-Completion for command arguments #20

Open ghost opened 6 years ago

ghost commented 6 years ago

Would be awesome if command arguments could be tab-completed. For example with the command prog.command('install '), you could specify some options for , so let's say Wordpress or Drupal, and when I'm typing out the command if I type Wo and press tab then it would autocomplete to Wordpress. Similar to Vorpal's autocomplete

paulocoghi commented 1 year ago

For our use case (management of multiple servers through cli), tab-completion is a game-changer.

Ex: on a command to show details of one server (between hundreds) which is possible to write only part of a server name, we could search for possible match(es) to auto-complete when receiving the "tab" signal.

If we could only manage the "tab" signal, it would be enough.