File tree Expand file tree Collapse file tree 3 files changed +23
-23
lines changed Expand file tree Collapse file tree 3 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function testExecuteListsCommandsWithRawOption()
50
50
public function testExecuteListsCommandsWithNamespaceArgument ()
51
51
{
52
52
53
- require_once ( realpath (__DIR__ .'/../Fixtures/FooCommand.php ' ) );
53
+ require_once realpath (__DIR__ .'/../Fixtures/FooCommand.php ' );
54
54
$ application = new Application ();
55
55
$ application ->add (new \FooCommand ());
56
56
$ commandTester = new CommandTester ($ command = $ application ->get ('list ' ));
Original file line number Diff line number Diff line change 5
5
<usage >help [--xml] [--format="..."] [--raw] [command_name]</usage >
6
6
<description >Displays help for a command</description >
7
7
<help >The < info> help< /info> command displays help for a given command:
8
-
8
+
9
9
< info> php app/console help list< /info>
10
-
10
+
11
11
You can also output the help in other formats by using the < comment> --format< /comment> option:
12
-
12
+
13
13
< info> php app/console help --format=xml list< /info>
14
-
14
+
15
15
To display the list of available commands, please use the < info> list< /info> command.</help >
16
16
<aliases />
17
17
<arguments >
60
60
<usage >list [--xml] [--raw] [--format="..."] [namespace]</usage >
61
61
<description >Lists commands</description >
62
62
<help >The < info> list< /info> command lists all commands:
63
-
63
+
64
64
< info> php app/console list< /info>
65
-
65
+
66
66
You can also display the commands for a specific namespace:
67
-
67
+
68
68
< info> php app/console list test< /info>
69
-
69
+
70
70
You can also output the information in other formats by using the < comment> --format< /comment> option:
71
-
71
+
72
72
< info> php app/console list --format=xml< /info>
73
-
73
+
74
74
It's also possible to get raw list of commands (useful for embedding command runner):
75
-
75
+
76
76
< info> php app/console list --raw< /info> </help >
77
77
<aliases />
78
78
<arguments >
Original file line number Diff line number Diff line change 5
5
<usage >help [--xml] [--format="..."] [--raw] [command_name]</usage >
6
6
<description >Displays help for a command</description >
7
7
<help >The < info> help< /info> command displays help for a given command:
8
-
8
+
9
9
< info> php app/console help list< /info>
10
-
10
+
11
11
You can also output the help in other formats by using the < comment> --format< /comment> option:
12
-
12
+
13
13
< info> php app/console help --format=xml list< /info>
14
-
14
+
15
15
To display the list of available commands, please use the < info> list< /info> command.</help >
16
16
<aliases />
17
17
<arguments >
60
60
<usage >list [--xml] [--raw] [--format="..."] [namespace]</usage >
61
61
<description >Lists commands</description >
62
62
<help >The < info> list< /info> command lists all commands:
63
-
63
+
64
64
< info> php app/console list< /info>
65
-
65
+
66
66
You can also display the commands for a specific namespace:
67
-
67
+
68
68
< info> php app/console list test< /info>
69
-
69
+
70
70
You can also output the information in other formats by using the < comment> --format< /comment> option:
71
-
71
+
72
72
< info> php app/console list --format=xml< /info>
73
-
73
+
74
74
It's also possible to get raw list of commands (useful for embedding command runner):
75
-
75
+
76
76
< info> php app/console list --raw< /info> </help >
77
77
<aliases />
78
78
<arguments >
You can’t perform that action at this time.
0 commit comments