Releases
2.0.0
Compare
Sorry, something went wrong.
No results found
Added
The hasRequiresAuthenticationTrait trait will now prompt for username and password if none was provided.
Added more background colours to Message class
Added 'token' command. Allows enabling, disabling and retrieval of author tokens
Added Shell::error() and Shell::warning() convenience methods
Added fetch() method to the command autoloader. Simplifies getting a list of all available commands in the system.
Removed need for 'extension' or 'e' flag.
Calling commands authenticate method if it extends AuthenticatedCommand.
Using Message class to display errors.
Removed listCommands() method
Added additional call to restore_error_handler. In version of Symphony prior to 2.7, the Exception and Error handlers are set twice.
Added exception handling around constructor to avoid problems with sessions already being started (not relevant to shell)
Added AuthenticatedCommand class and 'hasRequiresAuthenticationTrait.php' trait to simplify the process of requiring authentication for a command.
added new exception AuthenticationRequiredException which supports these new classes.
Changed
Renamed 'test' command to 'hello'. No longer requires authentication
Using Shell::error() when trapping a ShellException
Message::background() and Message::foreground() now support NULL.
Updated example command to use AuthenticatedCommand and hasRequiresAuthenticationTrait
Move ShellException into Exceptions/ folder.
Moved Lib/ into src/.
Updated autoloader to look in workspace/bin/ folder (#3 )
Updated symphony command to support loading a command from workspace/bin/ (#3 )
Using PSR4 autoloader instead of classmap
Fixed
Fixed extra new line appearing when requiring input.
Fixed workspace command autoloader code. Was incorrectly adding .php to the end of everything
You can’t perform that action at this time.