github.com/vanadium-archive/go.jiri@v0.0.0-20160715023856-abfb8b131290/profiles/profilescmdline/cmd_test.go (about)

     1  // Copyright 2015 The Vanadium Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package profilescmdline
     6  
     7  import (
     8  	"v.io/jiri"
     9  )
    10  
    11  func Reset() {
    12  	cmdList = newCmdList()
    13  	cmdList.Runner = jiri.RunnerFunc(runList)
    14  	cmdEnv = newCmdEnv()
    15  	listFlags.ReaderFlagValues = nil
    16  	envFlags.ReaderFlagValues = nil
    17  }