immucore/internal/cmd/commands.go

26 lines
508 B
Go
Raw Normal View History

2023-01-12 18:10:10 +00:00
package cmd
import (
"github.com/kairos-io/immucore/pkg/mount"
"github.com/urfave/cli"
)
var Commands = []cli.Command{
{
Name: "load",
Usage: "notify <event> <config dir>...",
UsageText: "emits the given event with a generic event payload",
Description: `
Sends a generic event payload with the configuration found in the scanned directories.
`,
Aliases: []string{},
Flags: []cli.Flag{},
Action: func(c *cli.Context) error {
mount.MountOverlayFS()
return nil
},
},
}