🚸 Ease of use
Added an example.
This commit is contained in:
parent
d33765751c
commit
5242188ffa
@ -11,6 +11,7 @@ import (
|
|||||||
var createCmd = &cobra.Command{
|
var createCmd = &cobra.Command{
|
||||||
Use: "create",
|
Use: "create",
|
||||||
Short: "Create an alert",
|
Short: "Create an alert",
|
||||||
|
Example: "create <name> <ip>",
|
||||||
Args: cobra.MinimumNArgs(2),
|
Args: cobra.MinimumNArgs(2),
|
||||||
Run: func(_ *cobra.Command, args []string) {
|
Run: func(_ *cobra.Command, args []string) {
|
||||||
utils.CheckColor()
|
utils.CheckColor()
|
||||||
|
Loading…
Reference in New Issue
Block a user