File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ func CommonCommands() []*console.Command {
52
52
localCommands := []* console.Command {
53
53
binConsoleWrapper ,
54
54
composerWrapper ,
55
- pieWrapper ,
56
55
phpWrapper ,
57
56
bookCheckReqsCmd ,
58
57
bookCheckoutCmd ,
Original file line number Diff line number Diff line change 37
37
return console.IncorrectUsageError {ParentError : errors .New (`This command can only be run as "symfony composer"` )}
38
38
},
39
39
}
40
- pieWrapper = & console.Command {
41
- Usage : "Runs PIE" ,
42
- Hidden : console .Hide ,
43
- // we use an alias to avoid the command being shown in the help but
44
- // still be available for completion
45
- Aliases : []* console.Alias {{Name : "pie" }},
46
- Action : func (c * console.Context ) error {
47
- return console.IncorrectUsageError {ParentError : errors .New (`This command can only be run as "symfony pie"` )}
48
- },
49
- }
50
40
binConsoleWrapper = & console.Command {
51
41
Usage : "Runs the Symfony Console (bin/console) for current project" ,
52
42
Hidden : console .Hide ,
@@ -65,12 +55,14 @@ var (
65
55
// still be available for completion
66
56
Aliases : func () []* console.Alias {
67
57
binNames := php .GetBinaryNames ()
68
- aliases := make ([]* console.Alias , 0 , len (binNames ))
58
+ aliases := make ([]* console.Alias , 0 , len (binNames )+ 1 )
69
59
70
60
for _ , name := range php .GetBinaryNames () {
71
61
aliases = append (aliases , & console.Alias {Name : name })
72
62
}
73
63
64
+ aliases = append (aliases , & console.Alias {Name : "pie" })
65
+
74
66
return aliases
75
67
}(),
76
68
Action : func (c * console.Context ) error {
You can’t perform that action at this time.
0 commit comments