dev.go 224 B

12345678910111213141516
  1. package control
  2. import (
  3. "fmt"
  4. "github.com/codegangsta/cli"
  5. "github.com/rancher/os/util"
  6. )
  7. func devAction(c *cli.Context) error {
  8. if len(c.Args()) > 0 {
  9. fmt.Println(util.ResolveDevice(c.Args()[0]))
  10. }
  11. return nil
  12. }