1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00
Files
os/cmd/control/dev.go

17 lines
229 B
Go
Raw Normal View History

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