File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ Backends:
32
32
rsync - Uses rsync for faster transfers with resume capability (requires rsync on both host and guest)
33
33
scp - Uses scp for reliable transfers (always available)
34
34
35
- Examples:
35
+ Not to be confused with 'limactl clone'.
36
+ `
37
+
38
+ const copyExample = `
36
39
# Copy file from guest to host (auto backend)
37
40
limactl copy default:/etc/os-release .
38
41
@@ -47,8 +50,6 @@ Examples:
47
50
48
51
# Copy multiple files
49
52
limactl copy file1.txt file2.txt default:/tmp/
50
-
51
- Not to be confused with 'limactl clone'.
52
53
`
53
54
54
55
type copyTool string
@@ -72,6 +73,7 @@ func newCopyCommand() *cobra.Command {
72
73
Aliases : []string {"cp" },
73
74
Short : "Copy files between host and guest" ,
74
75
Long : copyHelp ,
76
+ Example : copyExample ,
75
77
Args : WrapArgsError (cobra .MinimumNArgs (2 )),
76
78
RunE : copyAction ,
77
79
GroupID : advancedCommand ,
You can’t perform that action at this time.
0 commit comments