mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-28 17:53:23 +00:00
Add service logs command to faasd ce from faasd-pro
A more limited version is added, for continuity. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
22
cmd/service.go
Normal file
22
cmd/service.go
Normal file
@ -0,0 +1,22 @@
|
||||
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()
|
||||
|
||||
}
|
Reference in New Issue
Block a user