mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 14:20:56 +02:00
Fixed shorthand command and fixed incomplete func comment
This commit is contained in:
@@ -97,7 +97,7 @@ func main() {
|
||||
Subcommands: []*cli.Command{
|
||||
{
|
||||
Name: "list",
|
||||
Aliases: []string{"i"},
|
||||
Aliases: []string{"l"},
|
||||
Usage: "list currently installed apps and their status",
|
||||
Action: func(c *cli.Context) error {
|
||||
task := getCommandTask("list_edgeapps", "", true)
|
||||
|
||||
@@ -236,7 +236,7 @@ func GetEdgeAppStatus(ID string) EdgeAppStatus {
|
||||
|
||||
}
|
||||
|
||||
// GetEdgeAppServices : Returns a
|
||||
// GetEdgeAppServices : Returns a list of services for a single edgeapp
|
||||
func GetEdgeAppServices(ID string) []EdgeAppService {
|
||||
|
||||
cmdArgs := []string{"-r", ".services | keys[]", utils.GetPath("edgeAppsPath") + ID + configFilename}
|
||||
|
||||
Reference in New Issue
Block a user