mirror of
https://github.com/rancher/os.git
synced 2025-06-19 03:31:55 +00:00
16 lines
224 B
Go
16 lines
224 B
Go
package control
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/codegangsta/cli"
|
|
"github.com/rancher/os/util"
|
|
)
|
|
|
|
func devAction(c *cli.Context) error {
|
|
if len(c.Args()) > 0 {
|
|
fmt.Println(util.ResolveDevice(c.Args()[0]))
|
|
}
|
|
return nil
|
|
}
|