Add podman farm list command

The podman farm list command allows users to list
the existing farms.

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
This commit is contained in:
Urvashi Mohnani
2023-07-26 09:43:11 -04:00
parent 6fcdf1a190
commit 59a8140f1f
2 changed files with 157 additions and 0 deletions

View File

@ -0,0 +1,38 @@
% podman-farm-list 1
## NAME
podman\-farm\-list - List the existing farms
## SYNOPSIS
**podman farm list** [*options*]
**podman farm ls** [*options*]
## DESCRIPTION
List all the existing farms.
## OPTIONS
#### **--format**, **-f**=*format*
Change the default output format. This can be of a supported type like 'json' or a Go template.
Valid placeholders for the Go template listed below:
| **Placeholder** | **Description** |
| --------------- | ------------------------------------------ |
| .Connections | List of all system connections in the farm |
| .Default | Indicates whether farm is the default |
| .Name | Farm name |
## EXAMPLE
```
$ podman farm list
Name Connections Default
farm1 [f38 f37] false
farm2 [f37] true
```
## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-farm(1)](podman-farm.1.md)**
## HISTORY
July 2023, Originally compiled by Urvashi Mohnani (umohnani at redhat dot com)