Initial import

This commit is contained in:
mudler
2023-01-12 19:10:10 +01:00
parent 17b12a535e
commit 2b6de44b9d
10 changed files with 1359 additions and 0 deletions

25
internal/cmd/commands.go Normal file
View 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
},
},
}