🌐 AI搜索 & 代理 主页
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 0 additions & 128 deletions commands/project_init.go

This file was deleted.

4 changes: 1 addition & 3 deletions commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ var (
func CommonCommands() []*console.Command {
adminCommands := []*console.Command{
// common cloud commands
// FIXME: this command should be renamed (it's a special command as it's local but creates cloud files)
projectInitCmd,
// FIXME: this command should be renamed (it works locally AND in the cloud)
variableExportCmd,
// commands that we override to provide more features
Expand Down Expand Up @@ -153,7 +151,7 @@ func WelcomeAction(c *console.Context) error {
if err != nil {
return err
}
displayCommandsHelp(c, append([]*console.Command{projectInitCmd}, psh.PSHMainCommands()...))
displayCommandsHelp(c, psh.PSHMainCommands())
terminal.Println("")
terminal.Printf("Show all commands with <info>%s help</>,\n", c.App.HelpName)
terminal.Printf("Get help for a specific command with <info>%s help COMMAND</>.\n", c.App.HelpName)
Expand Down
1 change: 0 additions & 1 deletion local/platformsh/generator/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ func parseCommands(cloudPath string) (string, error) {
"self:stats": true,
"decode": true,
"environment:drush": true,
"project:init": true,
}

excludedOptions := console.AnsiFlag.Names()
Expand Down