summaryrefslogtreecommitdiff
path: root/cmd/podman/volume.go
blob: 36798a19e3b68a6abc2d7728b57cc2bd76320b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package main

import (
	"github.com/containers/libpod/cmd/podman/cliconfig"
	"github.com/spf13/cobra"
)

var volumeDescription = `Manage volumes.

Volumes are created in and can be shared between containers.`

var volumeCommand = cliconfig.PodmanCommand{
	Command: &cobra.Command{
		Use:   "volume",
		Short: "Manage volumes",
		Long:  volumeDescription,
	},
}

func init() {
	volumeCommand.AddCommand(getVolumeSubCommands()...)
	volumeCommand.SetUsageTemplate(UsageTemplate())
}