Skip to content

Commit 33c3ad1

Browse files
authored
Merge pull request #2347 from carapace-sh/molecule-host
molecule: simple host completion for now
2 parents 1af881e + 08d35db commit 33c3ad1

File tree

1 file changed

+2
-1
lines changed
  • completers/molecule_completer/cmd

1 file changed

+2
-1
lines changed

completers/molecule_completer/cmd/login.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package cmd
22

33
import (
44
"github.com/carapace-sh/carapace"
5+
"github.com/carapace-sh/carapace-bin/pkg/actions/net"
56
"github.com/carapace-sh/carapace-bin/pkg/actions/tools/molecule"
67
"github.com/spf13/cobra"
78
)
@@ -20,7 +21,7 @@ func init() {
2021
loginCmd.Flags().StringP("scenario-name", "s", "default", "Name of the scenario to target")
2122

2223
carapace.Gen(loginCmd).FlagCompletion(carapace.ActionMap{
23-
// "host": action.ActionInstances(loginCmd), // TODO
24+
"host": net.ActionHosts(),
2425
"scenario-name": molecule.ActionScenarios(),
2526
})
2627

0 commit comments

Comments
 (0)