func FromCommandLine(cmdLine *cmd.CommandLine) (*API, error) {
	raw, err := rsapi.FromCommandLine(cmdLine)
	cmdLine.Host = HostFromLogin(cmdLine.Host)
	if err != nil {
		return nil, err
	}
	return fromAPI(raw), nil
}
FromCommandLine builds a client from the command line.
package policy
import (
	"strings"
	"github.com/rightscale/rsc/cmd"
	"github.com/rightscale/rsc/rsapi"
)
type API struct {
	*rsapi.API
}
func New(host string, auth rsapi.Authenticator) *API {
	return fromAPI(rsapi.New(host, auth))
}