Merge pull request #5297 from cmbrose/cmbrose/cs-cp-profile

Add `--profile` option to `gh cs cp`
This commit is contained in:
Caleb Brose 2022-03-14 07:10:02 -05:00 committed by GitHub
commit ca98aec535
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,6 +379,7 @@ func newCpCmd(app *App) *cobra.Command {
cpCmd.Flags().BoolVarP(&opts.recursive, "recursive", "r", false, "Recursively copy directories")
cpCmd.Flags().BoolVarP(&opts.expand, "expand", "e", false, "Expand remote file names on remote shell")
cpCmd.Flags().StringVarP(&opts.codespace, "codespace", "c", "", "Name of the codespace")
cpCmd.Flags().StringVarP(&opts.profile, "profile", "p", "", "Name of the SSH profile to use")
return cpCmd
}