Improve usability and better output formatting for gosndc
Compare changes
- Malte Bauch authored
+ 19
− 12
@@ -47,7 +47,9 @@ import (
@@ -76,6 +78,8 @@ func (pc *PromptCompleter) Run() {
@@ -128,11 +132,11 @@ func filterFlagSlice(input []string) (commandSlice []string, flagSlice []string)
@@ -151,7 +155,7 @@ func deviceGetCompletion(c *PromptCompleter, d prompt.Document, inputSplit []str
@@ -162,15 +166,15 @@ func deviceGetCompletion(c *PromptCompleter, d prompt.Document, inputSplit []str
@@ -204,6 +208,9 @@ func completionBasedOnCmd(c *PromptCompleter, cmd *cobra.Command, inputSplit []s