refactor: Use string-backed enums consistently
This commit is contained in:
@@ -6,8 +6,9 @@ import (
|
||||
)
|
||||
|
||||
var driveCmd = &cobra.Command{
|
||||
Use: "drive",
|
||||
Short: "Manage tape drives",
|
||||
Use: "drive",
|
||||
Aliases: []string{"dri", "d"},
|
||||
Short: "Manage tape drives",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -6,8 +6,9 @@ import (
|
||||
)
|
||||
|
||||
var inventoryCmd = &cobra.Command{
|
||||
Use: "inventory",
|
||||
Short: "Get contents and metadata of tape or tar file from the index",
|
||||
Use: "inventory",
|
||||
Aliases: []string{"inv", "i"},
|
||||
Short: "Get contents and metadata of tape or tar file from the index",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -6,8 +6,9 @@ import (
|
||||
)
|
||||
|
||||
var operationCmd = &cobra.Command{
|
||||
Use: "operation",
|
||||
Short: "Perform operations on tape or tar file and the index",
|
||||
Use: "operation",
|
||||
Aliases: []string{"ope", "o", "op"},
|
||||
Short: "Perform operations on tape or tar file and the index",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -6,8 +6,9 @@ import (
|
||||
)
|
||||
|
||||
var recoveryCmd = &cobra.Command{
|
||||
Use: "recovery",
|
||||
Short: "Recover tapes or tar files",
|
||||
Use: "recovery",
|
||||
Aliases: []string{"rec", "r"},
|
||||
Short: "Recover tapes or tar files",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user