@@ -225,7 +225,13 @@ def cmd_profile_edit():
225
225
raise AuthException ("Function not implemented" )
226
226
227
227
228
- @cmd_profile .command ("copy" )
228
+ # Separte help since the docstring here is developer oriented, not user oriented.
229
+ @cmd_profile .command (
230
+ "copy" ,
231
+ help = "Copy an existing profile to create a new profile. Only the persistent"
232
+ " profile configuration will be copied. User access tokens initialized"
233
+ " via a call to `login` will not be copied." ,
234
+ )
229
235
@click .argument ("src" )
230
236
@click .argument ("dst" )
231
237
@opt_sops ()
@@ -234,18 +240,20 @@ def cmd_profile_copy(sops, src, dst):
234
240
"""
235
241
Copy an existing profile to create a new profile. Only the persistent
236
242
profile configuration will be copied. User access tokens initialized
237
- via a call to `login` will not be copied. Note: Depending on the
238
- type of [planet_auth.AuthClient] configured in the source profile,
239
- the new profile may have long term credentials (e.g. OAuth
240
- client credential secrets, API keys. etc.). External support files,
241
- such as public/private keypair files, are not copied.
243
+ via a call to `login` will not be copied.
244
+
245
+ Note: Depending on the type of [planet_auth.AuthClient] configured in
246
+ the source profile, the new profile may have long term credentials
247
+ (e.g. OAuth client credential secrets, API keys. etc.).
248
+
249
+ Note: External support files, such as public/private keypair files,
250
+ are not copied.
242
251
243
252
This command will work with built-in as well as custom profiles,
244
253
so it is possible to bootstrap profiles to manage multiple user
245
254
identities with an otherwise default client profile:
246
255
```
247
- profile copy default <my_new_profile>
248
- profile copy legacy <my_new_profile>
256
+ profile copy my_app_builtin_default <my_new_profile>
249
257
```
250
258
251
259
"""
0 commit comments