Stephen Holdaway

Results 7 issues of Stephen Holdaway

Using `usb_msc_init` works fine under Linux and my BIOS, but I had issues with Windows 10 taking two minutes to show the device. This was particularly noticeable during boot as...

The `multiple` option uses `$1` instead of a fixed path for the completion program. When trying to complete for a program in the home directory using a path starting with...

bug

The base namespace used in this package is unnecessarily long: ``` Stecman\Component\Symfony\Console\BashCompletion ``` This should be reduced to something smaller like: ``` Stecman\Symfony\ConsoleCompletion ```

enhancement

Currently, `CompletionAwareInterface` can't cleanly use `CompletionInterface` implementations. (eg. deferring path completion to the shell with `ShellPathCompletion`). A simple solution might be another interface that exposes `CompletionHandler` to commands: ``` php...

enhancement

Currently the templates for shell hooks live in PHP code as a static array of nowdoc strings ([`HookFactory::$hooks`](https://github.com/stecman/symfony-console-completion/blob/485ae36364f33ff7a2ea2f2abab5a741cda5fd77/src/HookFactory.php#L28)). At runtime these templates are populated using a `str_replace` call. In the...

enhancement

Having `CompletionCommand::execute` attempt completion by default is a pretty poor user experience, especially if you're not sure what the command is for since it gives an error immediately that references...

enhancement

This changes the decoder to read from an interface (`Rych\Bencode\DataSource`) instead of directly from a string. `String` and `FileHandle` DataSource implementations are built in. A file can be decoded given...