All checks were successful
Build (artifact) / build (push) Has been skipped
19 lines
386 B
Go
19 lines
386 B
Go
package main
|
|
|
|
import (
|
|
"git.nevets.tech/Steven/certman/app/client"
|
|
"git.nevets.tech/Steven/certman/app/shared"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func init() {
|
|
shared.DaemonCmd.AddCommand(&cobra.Command{
|
|
Use: "start",
|
|
Short: "Start the daemon",
|
|
Args: cobra.NoArgs,
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return shared.RunDaemonCmd(&client.Daemon{})
|
|
},
|
|
})
|
|
}
|