2023-01-12 18:10:10 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"os"
|
|
|
|
|
|
|
|
"github.com/kairos-io/immucore/internal/cmd"
|
2023-02-06 08:43:54 +00:00
|
|
|
"github.com/urfave/cli/v2"
|
2023-01-12 18:10:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Apply Immutability profiles.
|
|
|
|
func main() {
|
|
|
|
app := &cli.App{
|
|
|
|
Name: "immucore",
|
|
|
|
Version: "0.1",
|
2023-02-06 08:43:54 +00:00
|
|
|
Authors: []*cli.Author{{Name: "Kairos authors"}},
|
2023-01-12 18:10:10 +00:00
|
|
|
Usage: "kairos agent start",
|
|
|
|
Description: `
|
|
|
|
`,
|
|
|
|
UsageText: ``,
|
|
|
|
Copyright: "kairos authors",
|
|
|
|
|
|
|
|
Commands: cmd.Commands,
|
|
|
|
}
|
|
|
|
|
|
|
|
err := app.Run(os.Args)
|
|
|
|
if err != nil {
|
|
|
|
fmt.Println(err)
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
|
|
|
}
|