mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-01 22:57:33 +00:00
Initial import
This commit is contained in:
25
internal/cmd/commands.go
Normal file
25
internal/cmd/commands.go
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
},
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user