- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
36 lines
1.6 KiB
Go
36 lines
1.6 KiB
Go
package runner
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "vapor",
|
|
Description: "Vapor Toolbox (Server-side Swift web framework)",
|
|
Subcommands: []core.Subcommand{
|
|
{Name: "build", Description: "Builds an app in the console"},
|
|
{Name: "new", Description: "Generates a new app"},
|
|
{Name: "name", Description: "Name of project and folder"},
|
|
{Name: "clean", Description: "Cleans temporary files"},
|
|
{Name: "heroku", Description: "Commands for working with Heroku"},
|
|
{Name: "init", Description: "Configures app for deployment to Heroku"},
|
|
{Name: "push", Description: "Deploys app to Heroku"},
|
|
{Name: "supervisor", Description: "Commands for working with Supervisord"},
|
|
{Name: "restart", Description: "Restarts current project in Supervisor"},
|
|
{Name: "update", Description: "Updates Supervisor entry for current project"},
|
|
{Name: "xcode", Description: "Opens an app in Xcode"},
|
|
},
|
|
Options: []core.Option{
|
|
{Name: "--template", Description: "The URL of a Git repository to use as a template"},
|
|
{Name: "--branch", Description: "Template repository branch to use"},
|
|
{Name: "--output", Description: "The directory to place the new project in"},
|
|
{Name: "--no-commit", Description: "Skips adding a first commit to the newly created repo"},
|
|
{Name: "--update", Description: "Delete Package.resolved file if it exists"},
|
|
{Name: "--global", Description: "Clean Xcode's global DerivedData cache"},
|
|
{Name: "--swiftpm", Description: "Delete .swiftpm folder"},
|
|
{Name: "--help", Description: "Show help for vapor"},
|
|
},
|
|
})
|
|
}
|