1
0
mirror of https://github.com/rancher/os.git synced 2025-05-31 10:55:32 +00:00
os/cmd/control/dev.go

17 lines
229 B
Go

package control
import (
"fmt"
"github.com/rancher/os/pkg/util"
"github.com/codegangsta/cli"
)
func devAction(c *cli.Context) error {
if len(c.Args()) > 0 {
fmt.Println(util.ResolveDevice(c.Args()[0]))
}
return nil
}