mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-22 23:51:16 +00:00
23 lines
673 B
Go
23 lines
673 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/rsteube/carapace-bin/pkg/actions/tools/docker"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var trust_signer_removeCmd = &cobra.Command{
|
|
Use: "remove [OPTIONS] NAME REPOSITORY [REPOSITORY...]",
|
|
Short: "Remove a signer",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(trust_signer_removeCmd).Standalone()
|
|
|
|
trust_signer_removeCmd.Flags().BoolP("force", "f", false, "Do not prompt for confirmation before removing the most recent signer")
|
|
trust_signerCmd.AddCommand(trust_signer_removeCmd)
|
|
|
|
carapace.Gen(trust_signer_removeCmd).PositionalAnyCompletion(docker.ActionRepositories())
|
|
}
|