~nskaggs/+junk/xenial-test

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.

package modelcmd

import "github.com/juju/juju/jujuclient"

// NewModelCommandBase returns a new ModelCommandBase with the given client
// store, controller name, and model name.
func NewModelCommandBase(store jujuclient.ClientStore, controller, model string) *ModelCommandBase {
	return &ModelCommandBase{
		store:          store,
		controllerName: controller,
		modelName:      model,
	}
}