├── .composer-auth.json ├── .gitattributes ├── .gitignore ├── .styleci.yml ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── appveyor.yml ├── composer.json ├── phpunit.xml.dist ├── src ├── Adapter │ ├── ApplicationAdapter.php │ ├── ArgsFormatInputDefinition.php │ ├── ArgsInput.php │ ├── CommandAdapter.php │ ├── FormatterAdapter.php │ ├── IOOutput.php │ └── StyleConverter.php ├── Api │ ├── Application │ │ └── Application.php │ ├── Args │ │ ├── Args.php │ │ ├── ArgsParser.php │ │ ├── CannotAddArgumentException.php │ │ ├── CannotAddOptionException.php │ │ ├── CannotParseArgsException.php │ │ ├── Format │ │ │ ├── AbstractOption.php │ │ │ ├── ArgsFormat.php │ │ │ ├── ArgsFormatBuilder.php │ │ │ ├── Argument.php │ │ │ ├── CommandName.php │ │ │ ├── CommandOption.php │ │ │ ├── InvalidValueException.php │ │ │ └── Option.php │ │ ├── NoSuchArgumentException.php │ │ ├── NoSuchOptionException.php │ │ └── RawArgs.php │ ├── Command │ │ ├── CannotAddCommandException.php │ │ ├── Command.php │ │ ├── CommandCollection.php │ │ └── NoSuchCommandException.php │ ├── Config │ │ ├── ApplicationConfig.php │ │ ├── CommandConfig.php │ │ ├── Config.php │ │ ├── OptionCommandConfig.php │ │ └── SubCommandConfig.php │ ├── Event │ │ ├── ConfigEvent.php │ │ ├── ConsoleEvents.php │ │ ├── PreHandleEvent.php │ │ └── PreResolveEvent.php │ ├── Formatter │ │ ├── Formatter.php │ │ ├── Style.php │ │ └── StyleSet.php │ ├── IO │ │ ├── IO.php │ │ ├── IOException.php │ │ ├── Input.php │ │ ├── InputStream.php │ │ ├── Output.php │ │ └── OutputStream.php │ └── Resolver │ │ ├── CannotResolveCommandException.php │ │ ├── CommandResolver.php │ │ └── ResolvedCommand.php ├── Args │ ├── ArgvArgs.php │ ├── DefaultArgsParser.php │ ├── StringArgs.php │ └── TokenParser.php ├── Config │ └── DefaultApplicationConfig.php ├── ConsoleApplication.php ├── Formatter │ ├── AnsiFormatter.php │ ├── DefaultStyleSet.php │ ├── NullFormatter.php │ └── PlainFormatter.php ├── Handler │ ├── CallbackHandler.php │ ├── DelegatingHandler.php │ ├── Help │ │ ├── HelpAsciiDocHandler.php │ │ ├── HelpHandler.php │ │ ├── HelpJsonHandler.php │ │ ├── HelpManHandler.php │ │ ├── HelpTextHandler.php │ │ └── HelpXmlHandler.php │ └── NullHandler.php ├── IO │ ├── BufferedIO.php │ ├── ConsoleIO.php │ ├── InputStream │ │ ├── NullInputStream.php │ │ ├── StandardInputStream.php │ │ ├── StreamInputStream.php │ │ └── StringInputStream.php │ └── OutputStream │ │ ├── BufferedOutputStream.php │ │ ├── ErrorOutputStream.php │ │ ├── NullOutputStream.php │ │ ├── StandardOutputStream.php │ │ └── StreamOutputStream.php ├── Process │ └── ProcessLauncher.php ├── Resolver │ ├── DefaultResolver.php │ └── ResolveResult.php ├── UI │ ├── Alignment │ │ └── LabelAlignment.php │ ├── Component.php │ ├── Component │ │ ├── BorderUtil.php │ │ ├── CellWrapper.php │ │ ├── EmptyLine.php │ │ ├── ExceptionTrace.php │ │ ├── Grid.php │ │ ├── LabeledParagraph.php │ │ ├── NameVersion.php │ │ ├── Paragraph.php │ │ └── Table.php │ ├── Help │ │ ├── AbstractHelp.php │ │ ├── ApplicationHelp.php │ │ └── CommandHelp.php │ ├── Layout │ │ └── BlockLayout.php │ ├── Rectangle.php │ └── Style │ │ ├── Alignment.php │ │ ├── BorderStyle.php │ │ ├── GridStyle.php │ │ └── TableStyle.php └── Util │ ├── ProcessTitle.php │ ├── SimilarCommandName.php │ └── StringUtil.php └── tests ├── Adapter ├── ApplicationAdapterTest.php ├── ArgsFormatInputDefinitionTest.php ├── ArgsInputTest.php ├── CommandAdapterTest.php ├── FormatterAdapterTest.php ├── IOOutputTest.php └── StyleConverterTest.php ├── Api ├── Args │ ├── ArgsTest.php │ └── Format │ │ ├── ArgsFormatBuilderTest.php │ │ ├── ArgsFormatTest.php │ │ ├── ArgumentTest.php │ │ ├── CommandNameTest.php │ │ ├── CommandOptionTest.php │ │ └── OptionTest.php ├── Command │ ├── CommandCollectionTest.php │ └── CommandTest.php ├── Config │ ├── ApplicationConfigTest.php │ ├── CommandConfigTest.php │ ├── ConfigTest.php │ ├── Fixtures │ │ └── ConcreteConfig.php │ ├── OptionCommandConfigTest.php │ └── SubCommandConfigTest.php ├── Formatter │ ├── StyleSetTest.php │ └── StyleTest.php └── IO │ ├── InputTest.php │ └── OutputTest.php ├── Args ├── ArgvArgsTest.php ├── DefaultArgsParserTest.php └── StringArgsTest.php ├── Config └── DefaultApplicationConfigTest.php ├── ConsoleApplicationTest.php ├── Fixtures └── terminate-after-run.php ├── Formatter ├── AnsiFormatterTest.php └── PlainFormatterTest.php ├── Handler ├── CallbackHandlerTest.php ├── DelegatingHandlerTest.php └── Help │ ├── Fixtures │ ├── ascii-doc │ │ ├── custom-app.txt │ │ ├── man-not-found.txt │ │ ├── prefix-the-command.txt │ │ ├── the-app.txt │ │ └── the-command.txt │ └── man │ │ ├── custom-app.1 │ │ ├── prefix-the-command.1 │ │ ├── the-app.1 │ │ └── the-command.1 │ ├── HelpAsciiDocHandlerTest.php │ ├── HelpHandlerTest.php │ ├── HelpJsonHandlerTest.php │ ├── HelpManHandlerTest.php │ ├── HelpTextHandlerTest.php │ └── HelpXmlHandlerTest.php ├── IO ├── BufferedIOTest.php ├── InputStream │ ├── StandardInputStreamTest.php │ ├── StreamInputStreamTest.php │ └── StringInputStreamTest.php └── OutputStream │ ├── BufferedOutputStreamTest.php │ ├── ErrorOutputStreamTest.php │ ├── StandardOutputStreamTest.php │ └── StreamOutputStreamTest.php ├── Process └── ProcessLauncherTest.php ├── Resolver └── DefaultResolverTest.php ├── UI ├── Component │ ├── EmptyLineTest.php │ ├── ExceptionTraceTest.php │ ├── GridTest.php │ ├── LabeledParagraphTest.php │ ├── ParagraphTest.php │ └── TableTest.php ├── Help │ ├── ApplicationHelpTest.php │ └── CommandHelpTest.php └── Layout │ └── BlockLayoutTest.php └── Util ├── SimilarCommandNameTest.php └── StringUtilTest.php /.composer-auth.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/.composer-auth.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/.styleci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/appveyor.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Adapter/ApplicationAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/ApplicationAdapter.php -------------------------------------------------------------------------------- /src/Adapter/ArgsFormatInputDefinition.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/ArgsFormatInputDefinition.php -------------------------------------------------------------------------------- /src/Adapter/ArgsInput.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/ArgsInput.php -------------------------------------------------------------------------------- /src/Adapter/CommandAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/CommandAdapter.php -------------------------------------------------------------------------------- /src/Adapter/FormatterAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/FormatterAdapter.php -------------------------------------------------------------------------------- /src/Adapter/IOOutput.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/IOOutput.php -------------------------------------------------------------------------------- /src/Adapter/StyleConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Adapter/StyleConverter.php -------------------------------------------------------------------------------- /src/Api/Application/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Application/Application.php -------------------------------------------------------------------------------- /src/Api/Args/Args.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Args.php -------------------------------------------------------------------------------- /src/Api/Args/ArgsParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/ArgsParser.php -------------------------------------------------------------------------------- /src/Api/Args/CannotAddArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/CannotAddArgumentException.php -------------------------------------------------------------------------------- /src/Api/Args/CannotAddOptionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/CannotAddOptionException.php -------------------------------------------------------------------------------- /src/Api/Args/CannotParseArgsException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/CannotParseArgsException.php -------------------------------------------------------------------------------- /src/Api/Args/Format/AbstractOption.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/AbstractOption.php -------------------------------------------------------------------------------- /src/Api/Args/Format/ArgsFormat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/ArgsFormat.php -------------------------------------------------------------------------------- /src/Api/Args/Format/ArgsFormatBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/ArgsFormatBuilder.php -------------------------------------------------------------------------------- /src/Api/Args/Format/Argument.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/Argument.php -------------------------------------------------------------------------------- /src/Api/Args/Format/CommandName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/CommandName.php -------------------------------------------------------------------------------- /src/Api/Args/Format/CommandOption.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/CommandOption.php -------------------------------------------------------------------------------- /src/Api/Args/Format/InvalidValueException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/InvalidValueException.php -------------------------------------------------------------------------------- /src/Api/Args/Format/Option.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/Format/Option.php -------------------------------------------------------------------------------- /src/Api/Args/NoSuchArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/NoSuchArgumentException.php -------------------------------------------------------------------------------- /src/Api/Args/NoSuchOptionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/NoSuchOptionException.php -------------------------------------------------------------------------------- /src/Api/Args/RawArgs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Args/RawArgs.php -------------------------------------------------------------------------------- /src/Api/Command/CannotAddCommandException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Command/CannotAddCommandException.php -------------------------------------------------------------------------------- /src/Api/Command/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Command/Command.php -------------------------------------------------------------------------------- /src/Api/Command/CommandCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Command/CommandCollection.php -------------------------------------------------------------------------------- /src/Api/Command/NoSuchCommandException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Command/NoSuchCommandException.php -------------------------------------------------------------------------------- /src/Api/Config/ApplicationConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Config/ApplicationConfig.php -------------------------------------------------------------------------------- /src/Api/Config/CommandConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Config/CommandConfig.php -------------------------------------------------------------------------------- /src/Api/Config/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Config/Config.php -------------------------------------------------------------------------------- /src/Api/Config/OptionCommandConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Config/OptionCommandConfig.php -------------------------------------------------------------------------------- /src/Api/Config/SubCommandConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Config/SubCommandConfig.php -------------------------------------------------------------------------------- /src/Api/Event/ConfigEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Event/ConfigEvent.php -------------------------------------------------------------------------------- /src/Api/Event/ConsoleEvents.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Event/ConsoleEvents.php -------------------------------------------------------------------------------- /src/Api/Event/PreHandleEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Event/PreHandleEvent.php -------------------------------------------------------------------------------- /src/Api/Event/PreResolveEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Event/PreResolveEvent.php -------------------------------------------------------------------------------- /src/Api/Formatter/Formatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Formatter/Formatter.php -------------------------------------------------------------------------------- /src/Api/Formatter/Style.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Formatter/Style.php -------------------------------------------------------------------------------- /src/Api/Formatter/StyleSet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Formatter/StyleSet.php -------------------------------------------------------------------------------- /src/Api/IO/IO.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/IO/IO.php -------------------------------------------------------------------------------- /src/Api/IO/IOException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/IO/IOException.php -------------------------------------------------------------------------------- /src/Api/IO/Input.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/IO/Input.php -------------------------------------------------------------------------------- /src/Api/IO/InputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/IO/InputStream.php -------------------------------------------------------------------------------- /src/Api/IO/Output.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/IO/Output.php -------------------------------------------------------------------------------- /src/Api/IO/OutputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/IO/OutputStream.php -------------------------------------------------------------------------------- /src/Api/Resolver/CannotResolveCommandException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Resolver/CannotResolveCommandException.php -------------------------------------------------------------------------------- /src/Api/Resolver/CommandResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Resolver/CommandResolver.php -------------------------------------------------------------------------------- /src/Api/Resolver/ResolvedCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Api/Resolver/ResolvedCommand.php -------------------------------------------------------------------------------- /src/Args/ArgvArgs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Args/ArgvArgs.php -------------------------------------------------------------------------------- /src/Args/DefaultArgsParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Args/DefaultArgsParser.php -------------------------------------------------------------------------------- /src/Args/StringArgs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Args/StringArgs.php -------------------------------------------------------------------------------- /src/Args/TokenParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Args/TokenParser.php -------------------------------------------------------------------------------- /src/Config/DefaultApplicationConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Config/DefaultApplicationConfig.php -------------------------------------------------------------------------------- /src/ConsoleApplication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/ConsoleApplication.php -------------------------------------------------------------------------------- /src/Formatter/AnsiFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Formatter/AnsiFormatter.php -------------------------------------------------------------------------------- /src/Formatter/DefaultStyleSet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Formatter/DefaultStyleSet.php -------------------------------------------------------------------------------- /src/Formatter/NullFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Formatter/NullFormatter.php -------------------------------------------------------------------------------- /src/Formatter/PlainFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Formatter/PlainFormatter.php -------------------------------------------------------------------------------- /src/Handler/CallbackHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/CallbackHandler.php -------------------------------------------------------------------------------- /src/Handler/DelegatingHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/DelegatingHandler.php -------------------------------------------------------------------------------- /src/Handler/Help/HelpAsciiDocHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/Help/HelpAsciiDocHandler.php -------------------------------------------------------------------------------- /src/Handler/Help/HelpHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/Help/HelpHandler.php -------------------------------------------------------------------------------- /src/Handler/Help/HelpJsonHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/Help/HelpJsonHandler.php -------------------------------------------------------------------------------- /src/Handler/Help/HelpManHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/Help/HelpManHandler.php -------------------------------------------------------------------------------- /src/Handler/Help/HelpTextHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/Help/HelpTextHandler.php -------------------------------------------------------------------------------- /src/Handler/Help/HelpXmlHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/Help/HelpXmlHandler.php -------------------------------------------------------------------------------- /src/Handler/NullHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Handler/NullHandler.php -------------------------------------------------------------------------------- /src/IO/BufferedIO.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/BufferedIO.php -------------------------------------------------------------------------------- /src/IO/ConsoleIO.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/ConsoleIO.php -------------------------------------------------------------------------------- /src/IO/InputStream/NullInputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/InputStream/NullInputStream.php -------------------------------------------------------------------------------- /src/IO/InputStream/StandardInputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/InputStream/StandardInputStream.php -------------------------------------------------------------------------------- /src/IO/InputStream/StreamInputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/InputStream/StreamInputStream.php -------------------------------------------------------------------------------- /src/IO/InputStream/StringInputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/InputStream/StringInputStream.php -------------------------------------------------------------------------------- /src/IO/OutputStream/BufferedOutputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/OutputStream/BufferedOutputStream.php -------------------------------------------------------------------------------- /src/IO/OutputStream/ErrorOutputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/OutputStream/ErrorOutputStream.php -------------------------------------------------------------------------------- /src/IO/OutputStream/NullOutputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/OutputStream/NullOutputStream.php -------------------------------------------------------------------------------- /src/IO/OutputStream/StandardOutputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/OutputStream/StandardOutputStream.php -------------------------------------------------------------------------------- /src/IO/OutputStream/StreamOutputStream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/IO/OutputStream/StreamOutputStream.php -------------------------------------------------------------------------------- /src/Process/ProcessLauncher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Process/ProcessLauncher.php -------------------------------------------------------------------------------- /src/Resolver/DefaultResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Resolver/DefaultResolver.php -------------------------------------------------------------------------------- /src/Resolver/ResolveResult.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Resolver/ResolveResult.php -------------------------------------------------------------------------------- /src/UI/Alignment/LabelAlignment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Alignment/LabelAlignment.php -------------------------------------------------------------------------------- /src/UI/Component.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component.php -------------------------------------------------------------------------------- /src/UI/Component/BorderUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/BorderUtil.php -------------------------------------------------------------------------------- /src/UI/Component/CellWrapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/CellWrapper.php -------------------------------------------------------------------------------- /src/UI/Component/EmptyLine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/EmptyLine.php -------------------------------------------------------------------------------- /src/UI/Component/ExceptionTrace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/ExceptionTrace.php -------------------------------------------------------------------------------- /src/UI/Component/Grid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/Grid.php -------------------------------------------------------------------------------- /src/UI/Component/LabeledParagraph.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/LabeledParagraph.php -------------------------------------------------------------------------------- /src/UI/Component/NameVersion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/NameVersion.php -------------------------------------------------------------------------------- /src/UI/Component/Paragraph.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/Paragraph.php -------------------------------------------------------------------------------- /src/UI/Component/Table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Component/Table.php -------------------------------------------------------------------------------- /src/UI/Help/AbstractHelp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Help/AbstractHelp.php -------------------------------------------------------------------------------- /src/UI/Help/ApplicationHelp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Help/ApplicationHelp.php -------------------------------------------------------------------------------- /src/UI/Help/CommandHelp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Help/CommandHelp.php -------------------------------------------------------------------------------- /src/UI/Layout/BlockLayout.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Layout/BlockLayout.php -------------------------------------------------------------------------------- /src/UI/Rectangle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Rectangle.php -------------------------------------------------------------------------------- /src/UI/Style/Alignment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Style/Alignment.php -------------------------------------------------------------------------------- /src/UI/Style/BorderStyle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Style/BorderStyle.php -------------------------------------------------------------------------------- /src/UI/Style/GridStyle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Style/GridStyle.php -------------------------------------------------------------------------------- /src/UI/Style/TableStyle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/UI/Style/TableStyle.php -------------------------------------------------------------------------------- /src/Util/ProcessTitle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Util/ProcessTitle.php -------------------------------------------------------------------------------- /src/Util/SimilarCommandName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Util/SimilarCommandName.php -------------------------------------------------------------------------------- /src/Util/StringUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/src/Util/StringUtil.php -------------------------------------------------------------------------------- /tests/Adapter/ApplicationAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/ApplicationAdapterTest.php -------------------------------------------------------------------------------- /tests/Adapter/ArgsFormatInputDefinitionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/ArgsFormatInputDefinitionTest.php -------------------------------------------------------------------------------- /tests/Adapter/ArgsInputTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/ArgsInputTest.php -------------------------------------------------------------------------------- /tests/Adapter/CommandAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/CommandAdapterTest.php -------------------------------------------------------------------------------- /tests/Adapter/FormatterAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/FormatterAdapterTest.php -------------------------------------------------------------------------------- /tests/Adapter/IOOutputTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/IOOutputTest.php -------------------------------------------------------------------------------- /tests/Adapter/StyleConverterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Adapter/StyleConverterTest.php -------------------------------------------------------------------------------- /tests/Api/Args/ArgsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/ArgsTest.php -------------------------------------------------------------------------------- /tests/Api/Args/Format/ArgsFormatBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/Format/ArgsFormatBuilderTest.php -------------------------------------------------------------------------------- /tests/Api/Args/Format/ArgsFormatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/Format/ArgsFormatTest.php -------------------------------------------------------------------------------- /tests/Api/Args/Format/ArgumentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/Format/ArgumentTest.php -------------------------------------------------------------------------------- /tests/Api/Args/Format/CommandNameTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/Format/CommandNameTest.php -------------------------------------------------------------------------------- /tests/Api/Args/Format/CommandOptionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/Format/CommandOptionTest.php -------------------------------------------------------------------------------- /tests/Api/Args/Format/OptionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Args/Format/OptionTest.php -------------------------------------------------------------------------------- /tests/Api/Command/CommandCollectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Command/CommandCollectionTest.php -------------------------------------------------------------------------------- /tests/Api/Command/CommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Command/CommandTest.php -------------------------------------------------------------------------------- /tests/Api/Config/ApplicationConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Config/ApplicationConfigTest.php -------------------------------------------------------------------------------- /tests/Api/Config/CommandConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Config/CommandConfigTest.php -------------------------------------------------------------------------------- /tests/Api/Config/ConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Config/ConfigTest.php -------------------------------------------------------------------------------- /tests/Api/Config/Fixtures/ConcreteConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Config/Fixtures/ConcreteConfig.php -------------------------------------------------------------------------------- /tests/Api/Config/OptionCommandConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Config/OptionCommandConfigTest.php -------------------------------------------------------------------------------- /tests/Api/Config/SubCommandConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Config/SubCommandConfigTest.php -------------------------------------------------------------------------------- /tests/Api/Formatter/StyleSetTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Formatter/StyleSetTest.php -------------------------------------------------------------------------------- /tests/Api/Formatter/StyleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/Formatter/StyleTest.php -------------------------------------------------------------------------------- /tests/Api/IO/InputTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/IO/InputTest.php -------------------------------------------------------------------------------- /tests/Api/IO/OutputTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Api/IO/OutputTest.php -------------------------------------------------------------------------------- /tests/Args/ArgvArgsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Args/ArgvArgsTest.php -------------------------------------------------------------------------------- /tests/Args/DefaultArgsParserTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Args/DefaultArgsParserTest.php -------------------------------------------------------------------------------- /tests/Args/StringArgsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Args/StringArgsTest.php -------------------------------------------------------------------------------- /tests/Config/DefaultApplicationConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Config/DefaultApplicationConfigTest.php -------------------------------------------------------------------------------- /tests/ConsoleApplicationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/ConsoleApplicationTest.php -------------------------------------------------------------------------------- /tests/Fixtures/terminate-after-run.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Fixtures/terminate-after-run.php -------------------------------------------------------------------------------- /tests/Formatter/AnsiFormatterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Formatter/AnsiFormatterTest.php -------------------------------------------------------------------------------- /tests/Formatter/PlainFormatterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Formatter/PlainFormatterTest.php -------------------------------------------------------------------------------- /tests/Handler/CallbackHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/CallbackHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/DelegatingHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/DelegatingHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/ascii-doc/custom-app.txt: -------------------------------------------------------------------------------- 1 | Contents of custom-app.txt 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/ascii-doc/man-not-found.txt: -------------------------------------------------------------------------------- 1 | Contents of man-not-found.txt 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/ascii-doc/prefix-the-command.txt: -------------------------------------------------------------------------------- 1 | Contents of prefix-the-command.txt 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/ascii-doc/the-app.txt: -------------------------------------------------------------------------------- 1 | Contents of the-app.txt 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/ascii-doc/the-command.txt: -------------------------------------------------------------------------------- 1 | Contents of the-command.txt 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/man/custom-app.1: -------------------------------------------------------------------------------- 1 | Contents of custom-app.1 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/man/prefix-the-command.1: -------------------------------------------------------------------------------- 1 | Contents of prefix-the-command.1 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/man/the-app.1: -------------------------------------------------------------------------------- 1 | Contents of the-app.1 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/Fixtures/man/the-command.1: -------------------------------------------------------------------------------- 1 | Contents of the-command.1 2 | -------------------------------------------------------------------------------- /tests/Handler/Help/HelpAsciiDocHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/Help/HelpAsciiDocHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/Help/HelpHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/Help/HelpHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/Help/HelpJsonHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/Help/HelpJsonHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/Help/HelpManHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/Help/HelpManHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/Help/HelpTextHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/Help/HelpTextHandlerTest.php -------------------------------------------------------------------------------- /tests/Handler/Help/HelpXmlHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Handler/Help/HelpXmlHandlerTest.php -------------------------------------------------------------------------------- /tests/IO/BufferedIOTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/BufferedIOTest.php -------------------------------------------------------------------------------- /tests/IO/InputStream/StandardInputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/InputStream/StandardInputStreamTest.php -------------------------------------------------------------------------------- /tests/IO/InputStream/StreamInputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/InputStream/StreamInputStreamTest.php -------------------------------------------------------------------------------- /tests/IO/InputStream/StringInputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/InputStream/StringInputStreamTest.php -------------------------------------------------------------------------------- /tests/IO/OutputStream/BufferedOutputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/OutputStream/BufferedOutputStreamTest.php -------------------------------------------------------------------------------- /tests/IO/OutputStream/ErrorOutputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/OutputStream/ErrorOutputStreamTest.php -------------------------------------------------------------------------------- /tests/IO/OutputStream/StandardOutputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/OutputStream/StandardOutputStreamTest.php -------------------------------------------------------------------------------- /tests/IO/OutputStream/StreamOutputStreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/IO/OutputStream/StreamOutputStreamTest.php -------------------------------------------------------------------------------- /tests/Process/ProcessLauncherTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Process/ProcessLauncherTest.php -------------------------------------------------------------------------------- /tests/Resolver/DefaultResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Resolver/DefaultResolverTest.php -------------------------------------------------------------------------------- /tests/UI/Component/EmptyLineTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Component/EmptyLineTest.php -------------------------------------------------------------------------------- /tests/UI/Component/ExceptionTraceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Component/ExceptionTraceTest.php -------------------------------------------------------------------------------- /tests/UI/Component/GridTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Component/GridTest.php -------------------------------------------------------------------------------- /tests/UI/Component/LabeledParagraphTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Component/LabeledParagraphTest.php -------------------------------------------------------------------------------- /tests/UI/Component/ParagraphTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Component/ParagraphTest.php -------------------------------------------------------------------------------- /tests/UI/Component/TableTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Component/TableTest.php -------------------------------------------------------------------------------- /tests/UI/Help/ApplicationHelpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Help/ApplicationHelpTest.php -------------------------------------------------------------------------------- /tests/UI/Help/CommandHelpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Help/CommandHelpTest.php -------------------------------------------------------------------------------- /tests/UI/Layout/BlockLayoutTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/UI/Layout/BlockLayoutTest.php -------------------------------------------------------------------------------- /tests/Util/SimilarCommandNameTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Util/SimilarCommandNameTest.php -------------------------------------------------------------------------------- /tests/Util/StringUtilTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webmozart/console/HEAD/tests/Util/StringUtilTest.php --------------------------------------------------------------------------------