change command to license
parent
b491d7179b
commit
289e3bcbf2
|
@ -25,9 +25,9 @@ import (
|
|||
|
||||
var dir string
|
||||
|
||||
// creditsCmd represents the credits command
|
||||
var creditsCmd = &cobra.Command{
|
||||
Use: "credits",
|
||||
// licenseCmd represents the credits command
|
||||
var licenseCmd = &cobra.Command{
|
||||
Use: "license",
|
||||
Short: "Outputs the licenses of dependencies to a directory",
|
||||
Long: "Outputs the licenses of dependencies to a directory",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
@ -38,5 +38,5 @@ var creditsCmd = &cobra.Command{
|
|||
}
|
||||
|
||||
func init() {
|
||||
creditsCmd.Flags().StringVarP(&dir, "dir", "d", ".", "Directory to output licenses to")
|
||||
licenseCmd.Flags().StringVarP(&dir, "dir", "d", ".", "Directory to output licenses to")
|
||||
}
|
|
@ -282,7 +282,7 @@ func init() {
|
|||
updateCheckCmd,
|
||||
versionCmd,
|
||||
optionsCmd,
|
||||
creditsCmd,
|
||||
licenseCmd,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
title: "credits"
|
||||
title: "license"
|
||||
description: >
|
||||
Outputs the licenses of dependencies to a directory
|
||||
---
|
||||
|
||||
|
||||
## minikube credits
|
||||
## minikube license
|
||||
|
||||
Outputs the licenses of dependencies to a directory
|
||||
|
||||
|
@ -14,7 +14,7 @@ Outputs the licenses of dependencies to a directory
|
|||
Outputs the licenses of dependencies to a directory
|
||||
|
||||
```shell
|
||||
minikube credits [flags]
|
||||
minikube license [flags]
|
||||
```
|
||||
|
||||
### Options
|
Loading…
Reference in New Issue