1
0
mirror of https://github.com/rancher/os.git synced 2025-06-08 22:45:30 +00:00
os/cmd/control/dev.go

16 lines
228 B
Go
Raw Normal View History

package control
import (
"fmt"
2016-02-04 16:25:36 +00:00
"github.com/codegangsta/cli"
2018-09-16 04:55:26 +00:00
"github.com/rancher/os/pkg/util"
)
func devAction(c *cli.Context) error {
2016-02-04 16:25:36 +00:00
if len(c.Args()) > 0 {
fmt.Println(util.ResolveDevice(c.Args()[0]))
}
return nil
}