mirror of
https://github.com/octoleo/restic.git
synced 2024-12-03 10:28:27 +00:00
795d33b3ee
docs: improve the sub-command docs changelog: add the unreleased changelog for the key command updates key: update integration tests
19 lines
277 B
Go
19 lines
277 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var cmdKey = &cobra.Command{
|
|
Use: "key",
|
|
Short: "Manage keys (passwords)",
|
|
Long: `
|
|
The "key" command allows you to set multiple access keys or passwords
|
|
per repository.
|
|
`,
|
|
}
|
|
|
|
func init() {
|
|
cmdRoot.AddCommand(cmdKey)
|
|
}
|