@@ -12,7 +12,7 @@ export function registerOAuthClientsCommand(parent: Command): void {
1212 // oauth-clients list
1313 const list = oauthClients
1414 . command ( "list" )
15- . description ( "List all OAuth clients" )
15+ . description ( "List all registered OAuth clients and their configurations " )
1616 . action (
1717 withErrorHandler ( async ( _opts : unknown , cmd : Command ) => {
1818 const client = createClient ( cmd ) ;
@@ -27,12 +27,16 @@ export function registerOAuthClientsCommand(parent: Command): void {
2727 description : "List all OAuth clients" ,
2828 command : "geonic admin oauth-clients list" ,
2929 } ,
30+ {
31+ description : "List OAuth clients in table format" ,
32+ command : "geonic admin oauth-clients list --format table" ,
33+ } ,
3034 ] ) ;
3135
3236 // oauth-clients get
3337 const get = oauthClients
3438 . command ( "get <id>" )
35- . description ( "Get an OAuth client by ID " )
39+ . description ( "Get an OAuth client's details — name, client ID, policy, and redirect URIs " )
3640 . action (
3741 withErrorHandler ( async ( id : unknown , _opts : unknown , cmd : Command ) => {
3842 const client = createClient ( cmd ) ;
@@ -47,7 +51,7 @@ export function registerOAuthClientsCommand(parent: Command): void {
4751
4852 addExamples ( get , [
4953 {
50- description : "Get an OAuth client by ID " ,
54+ description : "Inspect an OAuth client's configuration " ,
5155 command : "geonic admin oauth-clients get <client-id>" ,
5256 } ,
5357 ] ) ;
@@ -134,7 +138,7 @@ export function registerOAuthClientsCommand(parent: Command): void {
134138 // oauth-clients delete
135139 const del = oauthClients
136140 . command ( "delete <id>" )
137- . description ( "Delete an OAuth client" )
141+ . description ( "Delete an OAuth client. Existing tokens issued by this client will be invalidated " )
138142 . action (
139143 withErrorHandler ( async ( id : unknown , _opts : unknown , cmd : Command ) => {
140144 const client = createClient ( cmd ) ;
@@ -148,7 +152,7 @@ export function registerOAuthClientsCommand(parent: Command): void {
148152
149153 addExamples ( del , [
150154 {
151- description : "Delete an OAuth client" ,
155+ description : "Delete an OAuth client by ID " ,
152156 command : "geonic admin oauth-clients delete <client-id>" ,
153157 } ,
154158 ] ) ;
@@ -157,12 +161,12 @@ export function registerOAuthClientsCommand(parent: Command): void {
157161export function registerCaddeCommand ( parent : Command ) : void {
158162 const cadde = parent
159163 . command ( "cadde" )
160- . description ( "Manage CADDE configuration" ) ;
164+ . description ( "Manage CADDE (data exchange) configuration for cross-platform data sharing " ) ;
161165
162166 // cadde get
163167 const caddeGet = cadde
164168 . command ( "get" )
165- . description ( "Get CADDE configuration" )
169+ . description ( "Get the current CADDE data exchange configuration (provider, endpoint, etc.) " )
166170 . action (
167171 withErrorHandler ( async ( _opts : unknown , cmd : Command ) => {
168172 const client = createClient ( cmd ) ;
@@ -174,9 +178,13 @@ export function registerCaddeCommand(parent: Command): void {
174178
175179 addExamples ( caddeGet , [
176180 {
177- description : "Get CADDE configuration" ,
181+ description : "View current CADDE configuration" ,
178182 command : "geonic admin cadde get" ,
179183 } ,
184+ {
185+ description : "View CADDE configuration in table format" ,
186+ command : "geonic admin cadde get --format table" ,
187+ } ,
180188 ] ) ;
181189
182190 // cadde set
@@ -221,7 +229,7 @@ export function registerCaddeCommand(parent: Command): void {
221229 // cadde delete
222230 const caddeDelete = cadde
223231 . command ( "delete" )
224- . description ( "Delete CADDE configuration" )
232+ . description ( "Remove the CADDE data exchange configuration, disabling cross-platform data sharing " )
225233 . action (
226234 withErrorHandler ( async ( _opts : unknown , cmd : Command ) => {
227235 const client = createClient ( cmd ) ;
@@ -232,7 +240,7 @@ export function registerCaddeCommand(parent: Command): void {
232240
233241 addExamples ( caddeDelete , [
234242 {
235- description : "Delete CADDE configuration" ,
243+ description : "Remove CADDE configuration" ,
236244 command : "geonic admin cadde delete" ,
237245 } ,
238246 ] ) ;
0 commit comments