Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = []cli.Command{ { Name: "develop", Aliases: []string{"d"}, Usage: "run a task for develop environments", ArgsUsage: " ", Subcommands: []cli.Command{ { Name: "setup", Usage: "hantera develop setup", UsageText: "hantera develop setup --config ./hantera.yml --target ./project", Description: "sets up a project for development", Action: Setup, Flags: []cli.Flag{ cli.StringFlag{ Name: "config, c", Usage: "load manifest from `FILE.yml`", Value: "./hantera.yml", }, cli.StringFlag{ Name: "target, t", Usage: "setup project in `PATH`", }, cli.StringFlag{ Name: "branch, b", Usage: "branch to checkout", Value: "refs/heads/develop", }, cli.BoolFlag{ Name: "progress, p", Usage: "show clone progress", }, }, }, { Name: "install-dependencies", Aliases: []string{"install-deps", "id"}, Usage: "hantera develop install-deps", UsageText: "hantera develop install-deps --config ./hantera.yml --target ./project", Description: "installs dependencies for a project", Action: InstallDependencies, Flags: []cli.Flag{ cli.StringFlag{ Name: "config, c", Usage: "load manifest from `FILE.yml`", Value: "./hantera.yml", }, cli.StringFlag{ Name: "target, t", Usage: "setup project in `PATH`", }, }, }, }, }, }
Commands : describes all commands for "develop" environments
Functions ¶
func InstallDependencies ¶
InstallDependencies : installs project dependencies (tries to figure out package manager e.g. npm)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.