X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrush%2Fdrush%2Ftests%2Fresources%2Fmodules%2Fd8%2Fwoot%2Fsrc%2FCommands%2FWootCommands.php;fp=vendor%2Fdrush%2Fdrush%2Ftests%2Fresources%2Fmodules%2Fd8%2Fwoot%2Fsrc%2FCommands%2FWootCommands.php;h=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=9f8596eb22d149fe5e55f8c5e91cfdbdbf8291b3;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/vendor/drush/drush/tests/resources/modules/d8/woot/src/Commands/WootCommands.php b/vendor/drush/drush/tests/resources/modules/d8/woot/src/Commands/WootCommands.php deleted file mode 100644 index 9f8596eb2..000000000 --- a/vendor/drush/drush/tests/resources/modules/d8/woot/src/Commands/WootCommands.php +++ /dev/null @@ -1,83 +0,0 @@ - false]) - { - if ($options['flip']) { - return "{$two}{$one}"; - } - return "{$one}{$two}"; - } - - /** - * Demonstrate formatters. Default format is 'table'. - * - * @command try:formatters - * @field-labels - * first: I - * second: II - * third: III - * @usage try:formatters --format=yaml - * Emit yaml. - * @usage try:formatters --format=csv - * Emit CSV. - * @usage try:formatters --fields=first,third - * Emit some fields. - * @usage try:formatters --fields=III,II - * Emit other fields. - * @aliases try-formatters - * @return \Consolidation\OutputFormatters\StructuredData\RowsOfFields - */ - public function tryFormatters($options = ['format' => 'table', 'fields' => '']) - { - $outputData = [ - 'en' => [ 'first' => 'One', 'second' => 'Two', 'third' => 'Three' ], - 'de' => [ 'first' => 'Eins', 'second' => 'Zwei', 'third' => 'Drei' ], - 'jp' => [ 'first' => 'Ichi', 'second' => 'Ni', 'third' => 'San' ], - 'es' => [ 'first' => 'Uno', 'second' => 'Dos', 'third' => 'Tres' ], - ]; - return new RowsOfFields($outputData); - } - - /** - * This command info is altered. - * - * @command woot:altered - * @aliases woot-initial-alias - */ - public function wootAltered() - { - } -}