mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-14 11:44:32 +00:00
21 lines
413 B
Go
21 lines
413 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var notesCmd = &cobra.Command{
|
|
Use: "notes",
|
|
Short: "Add or inspect object notes",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
GroupID: groups[group_main].ID,
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(notesCmd).Standalone()
|
|
|
|
notesCmd.Flags().String("ref", "", "use notes from <notes-ref>")
|
|
rootCmd.AddCommand(notesCmd)
|
|
}
|