blob: a94ee0d8b31c4ea92988248993226164c1e9accb [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.DefaultProfilesDBPath())
profilescmdline.RegisterManagementCommands(cmdProfile, true, "", jiri.DefaultProfilesDBPath(), jiri.ProfilesRootDir)
}