github.com/vanadium-archive/go.jiri@v0.0.0-20160715023856-abfb8b131290/cmd/jiri/profile.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 main 6 7 import ( 8 "v.io/jiri" 9 "v.io/jiri/profiles/profilescmdline" 10 "v.io/x/lib/cmdline" 11 ) 12 13 var cmdProfile = &cmdline.Command{ 14 Name: "profile", 15 Short: "Display information about installed profiles", 16 Long: "Display information about installed profiles and their configuration.", 17 } 18 19 func init() { 20 profilescmdline.RegisterReaderCommands(cmdProfile, "", jiri.ProfilesDBDir) 21 profilescmdline.RegisterManagementCommands(cmdProfile, true, "", jiri.ProfilesDBDir, jiri.ProfilesRootDir) 22 }