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:
3232 rsync - Uses rsync for faster transfers with resume capability (requires rsync on both host and guest)
3333 scp - Uses scp for reliable transfers (always available)
3434
35- Examples:
35+ Not to be confused with 'limactl clone'.
36+ `
37+
38+ const copyExample = `
3639 # Copy file from guest to host (auto backend)
3740 limactl copy default:/etc/os-release .
3841
@@ -47,8 +50,6 @@ Examples:
4750
4851 # Copy multiple files
4952 limactl copy file1.txt file2.txt default:/tmp/
50-
51- Not to be confused with 'limactl clone'.
5253`
5354
5455type copyTool string
@@ -72,6 +73,7 @@ func newCopyCommand() *cobra.Command {
7273 Aliases : []string {"cp" },
7374 Short : "Copy files between host and guest" ,
7475 Long : copyHelp ,
76+ Example : copyExample ,
7577 Args : WrapArgsError (cobra .MinimumNArgs (2 )),
7678 RunE : copyAction ,
7779 GroupID : advancedCommand ,
You can’t perform that action at this time.
0 commit comments