func NewResolver() *Resolver {
	c, err := FindNomsConfig()
	if err != nil {
		if err != NoConfig {
			panic(fmt.Errorf("Failed to read .nomsconfig due to: %v", err))
		}
		return &Resolver{}
	}
	return &Resolver{c, ""}
}
A Resolver enables using db defaults, db aliases and dataset '.' replacement in command
line arguments when a .nomsconfig file is present. To use it, create a config resolver
before command line processing and use it to resolve each dataspec argument in
succession.
package config
import (
	"fmt"
	"strings"
	"github.com/attic-labs/noms/go/chunks"
	"github.com/attic-labs/noms/go/datas"
	"github.com/attic-labs/noms/go/spec"
	"github.com/attic-labs/noms/go/types"
	"github.com/attic-labs/noms/go/util/verbose"
)
type Resolver struct {
	config      *Config
	dotDatapath string  
}