Skip to content

Commit

Permalink
Improve koyeb cp's example messages
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Ellingwood <[email protected]>
  • Loading branch information
nicoche and imchairmanm authored Feb 22, 2024
1 parent b4f8932 commit 93f8618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/koyeb/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ func NewInstanceCmd() *cobra.Command {
Aliases: []string{"copy"},
Args: cobra.ExactArgs(2),
Example: `
To copy the file hello.txt, located in your working directory on your machine to a remote koyeb instance, in the /tmp/ directory
To copy a file called `hello.txt` from the current directory of your local machine to the `/tmp` directory of a remote Koyeb Instance, type:
$> koyeb instance cp hello.txt <instance_id>:/tmp/
To copy the file spreadsheet.csv, located in /tmp/ in your Instance to the local directory on your machine
To copy a `spreadsheet.csv` file from the `/tmp/` directory of your Koyeb Instance to the current directory on your local machine, type:
$> koyeb instance cp <instance_id>:/tmp/spreadsheet.csv .`,
RunE: WithCLIContext(instanceHandler.Cp),
}
Expand Down

0 comments on commit 93f8618

Please sign in to comment.