mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
21 lines
374 B
Go
21 lines
374 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var devicesCmd = &cobra.Command{
|
|
Use: "devices",
|
|
Short: "list connected devices",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(devicesCmd).Standalone()
|
|
|
|
devicesCmd.Flags().BoolS("l", "l", false, "long output")
|
|
|
|
rootCmd.AddCommand(devicesCmd)
|
|
}
|