mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
19 lines
333 B
Go
19 lines
333 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var getStateCmd = &cobra.Command{
|
|
Use: "get-state",
|
|
Short: "print offline | bootloader | device",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(getStateCmd).Standalone()
|
|
|
|
rootCmd.AddCommand(getStateCmd)
|
|
}
|