diff --git a/cmd/edgeboxctl/main.go b/cmd/edgeboxctl/main.go index 4b9c9fc..fd40a63 100644 --- a/cmd/edgeboxctl/main.go +++ b/cmd/edgeboxctl/main.go @@ -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) diff --git a/internal/edgeapps/edgeapps.go b/internal/edgeapps/edgeapps.go index 5a8a792..604e74e 100644 --- a/internal/edgeapps/edgeapps.go +++ b/internal/edgeapps/edgeapps.go @@ -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}