// ListUnits prints a list of installed units. func ListUnits(argv []string, b backend.Backend) error { usage := `Prints a list of installed units. Usage: deisctl list [options] ` // parse command-line arguments if _, err := docopt.Parse(usage, argv, true, "", false); err != nil { return err } return b.ListUnits() }
// ListUnits prints a list of installed units. func ListUnits(b backend.Backend) error { return b.ListUnits() }