mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 12:01:15 +02:00
* 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.
17 lines
250 B
Go
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
|
|
}
|