// Stop deactivates the specified components. func (c *Client) Stop(argv []string) error { usage := `Deactivates the specified components. Usage: deisctl stop [<target>...] [options] ` // parse command-line arguments args, err := docopt.Parse(usage, argv, true, "", false) if err != nil { return err } return cmd.Stop(args["<target>"].([]string), c.Backend) }
// Stop deactivates the specified components. func (c *Client) Stop(argv []string) error { return cmd.Stop(argv, c.Backend) }