This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Console
Fabien Potencier e74beb8bfa merged branch hason/shell (PR #1484)
Commits
-------

060d75d [Console] fixed CS and simplified code
a5ff635 [Console] added support for interactive shell without readline extension

Discussion
----------

[2.1] [Console] added support for interactive shell without readline extension

---------------------------------------------------------------------------

by lmcd at 2011/06/30 15:12:56 -0700

Very useful! Pre-installed PHP on OS X ships without readline.

---------------------------------------------------------------------------

by stof at 2011/06/30 15:24:47 -0700

@lmcd You can already use the console, just not the shell.

---------------------------------------------------------------------------

by lmcd at 2011/06/30 15:27:00 -0700

@stof Yep I know, but it would be nice to use the shell :)

---------------------------------------------------------------------------

by hason at 2011/07/01 01:54:34 -0700

@stof Interactive generators will not work on Windows and Mac OS X without these simple changes. I think this is bad news.

---------------------------------------------------------------------------

by Seldaek at 2011/07/01 01:58:59 -0700

Yup, it's definitely a good addition.

---------------------------------------------------------------------------

by Seldaek at 2011/07/01 01:59:26 -0700

@fabpot: I'm not sure why this is tagged 2.1, but IMO this should go in now.

---------------------------------------------------------------------------

by stof at 2011/07/01 01:59:44 -0700

@hason This is not true. The shell is only used when running the console with the ``-s`` option. A command can be interactive without using the shell (I'm on Windows)

---------------------------------------------------------------------------

by lmcd at 2011/07/01 02:08:17 -0700

@stof Yea true, the interactive generators are fine without readline, however I don't think this dependancy should prevent people using the shell on Win/Mac.

---------------------------------------------------------------------------

by hason at 2011/07/01 02:28:10 -0700

@stof This is good news :) I was hasty.

---------------------------------------------------------------------------

by lmcd at 2011/07/04 02:03:36 -0700

I'm feeling inclined to remove readline entirely for 2.1 and roll our own solution to support things like this in the shell: http://lmcd.me/v/sf-autocomplete-2.mov

---------------------------------------------------------------------------

by stof at 2011/09/04 04:55:37 -0700

what is the status of this PR ?
2011-09-29 14:37:30 +02:00
..
Command [Console] Added Command::isEnabled method that defines whether to add the command or not 2011-09-04 17:12:33 +02:00
Formatter removed whitespace 2011-06-23 22:03:13 +02:00
Helper [Console] Detect if interactive mode is possible at all 2011-09-29 11:37:25 +03:00
Input [Console] Improved checks for InputArgument and InputOption constructor's $mode parameter. 2011-08-31 23:53:00 +02:00
Output [Console] added missing @api 2011-06-17 18:17:53 +02:00
Tester [Phpdoc] Cleaning/fixing 2011-04-23 15:18:47 +00:00
Application.php [Console] Check if dialog helper actually exists 2011-09-29 11:45:17 +03:00
LICENSE added LICENSE files for the subtree repositories 2011-02-22 18:58:15 +01:00
Shell.php [Console] fixed CS and simplified code 2011-07-01 10:40:43 +02:00