Skip to content

Commit 1fbc66c

Browse files
committed
[cli] feat: add long options for ssh file and key selector
1 parent bfa4af4 commit 1fbc66c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cli/src/User/Requester/Options.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ import OptEnvConf
3131
, commands
3232
, env
3333
, help
34+
, long
3435
, metavar
36+
, option
3537
, reader
3638
, setting
3739
, str
@@ -145,6 +147,8 @@ keySelectorOption =
145147
, help "Which key selector to use from the SSH file"
146148
, metavar "STRING"
147149
, reader str
150+
, long "ssh-key-selector"
151+
, option
148152
]
149153

150154
keyFileOption :: Parser FilePath
@@ -154,6 +158,8 @@ keyFileOption =
154158
, help "Path to the SSH private key file"
155159
, metavar "FILEPATH"
156160
, reader str
161+
, long "ssh-key-file"
162+
, option
157163
]
158164

159165
keyPasswordOption :: Parser String

0 commit comments

Comments
 (0)