// Info returns usage information for the command.
775628
func (c *RunCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "juju-run",
		Args:    "<unit-name> <commands>",
		Purpose: "run commands in a unit's hook context",
		Doc:     runCommandDoc,
	})
}
525976
func (c *downloadCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "download-backup",
		Args:    "<ID>",
		Purpose: "Get an archive file.",
		Doc:     downloadDoc,
	})
}
675794
func (c *addKeysCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "add-ssh-key",
		Args:    "<ssh key> ...",
		Purpose: usageAddSSHKeySummary,
		Doc:     usageAddSSHKeyDetails,
	})
}
600038
func (c *removeCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "remove-cached-images",
		Purpose: "Remove cached OS images.",
		Doc:     removeCommandDoc,
	})
}
503254
func (c *SetMeterStatusCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "set-meter-status",
		Args:    "[application or unit] status",
		Purpose: "Sets the meter status on an application or unit.",
		Doc:     setMeterStatusDoc,
	})
}
866675
func (c *CharmResourcesCommand) Info() *cmd.Info {
	i := c.baseInfo()
	i.Name = "charm-resources"
	i.Aliases = []string{"list-charm-resources"}
	return jujucmd.Info(i)
}
63958
func (c *grantCloudCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "grant-cloud",
		Args:    "<user name> <permission> <cloud name> ...",
		Purpose: usageGrantCloudSummary,
		Doc:     usageGrantCloudDetails,
	})
}
940348
func (c *checkConnectionCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "check-connection",
		Args:    "<agent-name>",
		Purpose: "check connection to the API server for the specified agent",
	})
}
1196291
func (c *loginCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "login",
		Args:    "[controller host name or alias]",
		Purpose: "Logs a user in to a controller.",
		Doc:     loginDoc,
	})
}
400471
func (c *enableCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "enable-command",
		Args:    "<command set>",
		Purpose: "Enable commands that had been previously disabled.",
		Doc:     enableDoc,
	})
}
534361
func (c *Client) Info(section string) (ret string, err error) {
	err = c.command(
		&ret,
		[]byte("INFO"),
		[]byte(section),
	)
	return ret, err
}
672745
func (c *upgradeGUICommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "upgrade-gui",
		Purpose: "Upgrade to a new Juju GUI version.",
		Doc:     upgradeGUIDoc,
	})
}
1353514
func (c *updateCredentialCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "update-credential",
		Args:    "<cloud-name> <credential-name>",
		Purpose: usageUpdateCredentialSummary,
		Doc:     usageUpdateCredentialDetails,
	})
}
741310
func (s *ServerRPC) Info(c context.Context, req *types.InfoRequest) (*types.InfoResponse, error) {
	info, err := s.daemon.CmdSystemInfo()
	if err != nil {
		return nil, err
	}

	return info, nil
}
1113886
func (c *listMachinesCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "machines",
		Purpose: usageListMachinesSummary,
		Doc:     usageListMachinesDetails,
		Aliases: []string{"list-machines"},
	})
}
163138
func (c *RemoveCAASCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "remove-k8s",
		Args:    "<k8s name>",
		Purpose: usageRemoveCAASSummary,
		Doc:     usageRemoveCAASDetails,
	})
}
1160635
func (c *destroyCommand) Info() *cmd.Info {
	return jujucmd.Info(&cmd.Info{
		Name:    "destroy-model",
		Args:    "[<controller name>:]<model name>",
		Purpose: "Terminate all machines/containers and resources for a non-controller model.",
		Doc:     destroyDoc,
	})
}