From 21a1059f7cf75c6b0e96ce323ef25c6675663029 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 10 Mar 2022 19:01:55 -0600 Subject: [PATCH] Add `--profile` option to `gh cs cp` --- pkg/cmd/codespace/ssh.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/codespace/ssh.go b/pkg/cmd/codespace/ssh.go index 726f2152f..6ce783f2f 100644 --- a/pkg/cmd/codespace/ssh.go +++ b/pkg/cmd/codespace/ssh.go @@ -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 }