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

import (
	"github.com/urfave/cli"
)

var (
	volumeDescription = `Manage volumes.

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

	volumeSubCommands = []cli.Command{
		volumeCreateCommand,
		volumeLsCommand,
		volumeRmCommand,
		volumeInspectCommand,
		volumePruneCommand,
	}
	volumeCommand = cli.Command{
		Name:                   "volume",
		Usage:                  "Manage volumes",
		Description:            volumeDescription,
		UseShortOptionHandling: true,
		Subcommands:            volumeSubCommands,
	}
)