mirror of
https://github.com/anchore/grype
synced 2024-11-12 23:37:06 +00:00
24 lines
383 B
Go
24 lines
383 B
Go
package cmd
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var statusCmd = &cobra.Command{
|
|
Use: "status",
|
|
Short: "display general status",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
os.Exit(runStatusCmd(cmd, args))
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(statusCmd)
|
|
}
|
|
|
|
func runStatusCmd(cmd *cobra.Command, args []string) int {
|
|
log.Error("status command...")
|
|
return 0
|
|
}
|