mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
molecule: simple host completion for now
This commit is contained in:
parent
1af881e9d9
commit
08d35db193
@ -2,6 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"github.com/carapace-sh/carapace"
|
||||
"github.com/carapace-sh/carapace-bin/pkg/actions/net"
|
||||
"github.com/carapace-sh/carapace-bin/pkg/actions/tools/molecule"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
@ -20,7 +21,7 @@ func init() {
|
||||
loginCmd.Flags().StringP("scenario-name", "s", "default", "Name of the scenario to target")
|
||||
|
||||
carapace.Gen(loginCmd).FlagCompletion(carapace.ActionMap{
|
||||
// "host": action.ActionInstances(loginCmd), // TODO
|
||||
"host": net.ActionHosts(),
|
||||
"scenario-name": molecule.ActionScenarios(),
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user