blob: 308b1790433ea0c59ba2db2e1cc531302c428172 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"v.io/jiri"
"v.io/jiri/profiles/profilescmdline"
"v.io/x/lib/cmdline"
)
var cmdProfile = &cmdline.Command{
Name: "profile",
Short: "Display information about installed profiles",
Long: "Display information about installed profiles and their configuration.",
}
func init() {
profilescmdline.RegisterReaderCommands(cmdProfile, "", jiri.ProfilesDBDir)
profilescmdline.RegisterManagementCommands(cmdProfile, true, "", jiri.ProfilesDBDir, jiri.ProfilesRootDir)
}