mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 08:05:03 +00:00
A more limited version is added, for continuity. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
23 lines
419 B
Go
23 lines
419 B
Go
package cmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
func makeServiceCmd() *cobra.Command {
|
|
var command = &cobra.Command{
|
|
Use: "service",
|
|
Short: "Manage services",
|
|
Long: `Manage services created by faasd from the docker-compose.yml file`,
|
|
}
|
|
|
|
command.RunE = runServiceE
|
|
|
|
command.AddCommand(makeServiceLogsCmd())
|
|
return command
|
|
}
|
|
|
|
func runServiceE(cmd *cobra.Command, args []string) error {
|
|
|
|
return cmd.Help()
|
|
|
|
}
|