File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1717 Long : quadletPrintDescription ,
1818 RunE : print ,
1919 ValidArgsFunction : common .AutocompleteQuadlets ,
20+ Aliases : []string {"cat" },
2021 Args : cobra .ExactArgs (1 ),
2122 Example : `podman quadlet print myquadlet.container
2223podman quadlet print mypod.pod
Original file line number Diff line number Diff line change @@ -6,12 +6,15 @@ podman\-quadlet\-print - Display the contents of a quadlet
66## SYNOPSIS
77** podman quadlet print** * quadlet*
88
9+ ** podman quadlet cat** * quadlet*
10+
911## DESCRIPTION
1012
1113Print the contents of a Quadlet, displaying the file including all comments.
1214
1315## EXAMPLES
1416
17+ Using ` podman quadlet print ` to display the contents of a quadlet named ` myquadlet.container ` :
1518```
1619$ podman quadlet print myquadlet.container
1720[Container]
Original file line number Diff line number Diff line change 7575 run_podman quadlet print alpine-quadlet.container
7676 assert " $output " == " $( < $quadlet_file ) " " print output matches quadlet file"
7777
78+ # Test quadlet cat
79+ run_podman quadlet cat alpine-quadlet.container
80+ assert " $output " == " $( < $quadlet_file ) " " cat output matches quadlet file"
81+
7882 # Test quadlet rm
7983 run_podman quadlet rm alpine-quadlet.container
8084 # Verify remove output contains the quadlet name on a single line
You can’t perform that action at this time.
0 commit comments