Sascha Grunert
4bbff84169
Escape single quotes in fish shell completion
...
Single quotes can break the generated fish shell completion and should
be escaped correctly.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-30 08:56:11 +02:00
Sascha Grunert
687f721eaa
Update function alignment
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-26 10:07:50 +02:00
Sascha Grunert
0c01922a12
Add type switch
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-26 08:46:55 +02:00
Sascha Grunert
38d0ac6296
Removed GetTakesFile and stick to type assertions
...
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
2019-08-25 17:50:18 +02:00
Sascha Grunert
a1cf7f44b6
Add TakesFile
to fish shell completion
...
The new `TakesFile` flag will be now consumed by the fish shell
completion generator.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-25 13:58:18 +02:00
Sascha Grunert
7506b11da7
Add fish shell completion support
...
This commit adds a new method `ToFishCompletion` to the `*App` which can
be used to generate a fish completion string for the application.
Relates to: #351
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-09 08:58:06 +02:00