Files
orchard/internal/command/logs/logs.go
T
Nikolay Edigaryev 5c3b47a247 --help fixes and new "orchard logs vm" command (#41)
* Make sure we list names/VM names as required argument in the --help

* Introduce "orchard logs vm" command

* Make sure each command has a Short field

* Future-proof port-forward, ssh and vnc commands

To support not only the VM resource.
2023-03-23 15:59:57 +04:00

17 lines
250 B
Go

package logs
import (
"github.com/spf13/cobra"
)
func NewCommand() *cobra.Command {
command := &cobra.Command{
Use: "logs",
Short: "Retrieve resource logs from the controller",
}
command.AddCommand(newLogsVMCommand())
return command
}