Skip to content

Commit 754a531

Browse files
Change full options blocks to collapsibles
1 parent 62feccd commit 754a531

File tree

3 files changed

+220
-4
lines changed

3 files changed

+220
-4
lines changed

docs-src/astra-cli-core/modules/ROOT/pages/administration.adoc

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Manage your Astra organization with the {product}
22
:navtitle: Astra administration
33

4-
Use the {product} to manage your Astra organization's users, roles, and tokens.
4+
Use the {product} to manage your Astra organization.
55

66
== Get organization details
77

@@ -28,6 +28,9 @@ astra org
2828

2929
=== `org` options
3030

31+
.Expand to see all `org` options
32+
[%collapsible]
33+
====
3134
[source,console]
3235
----
3336
NAME
@@ -42,6 +45,7 @@ SYNOPSIS
4245
Where * indicates the default command(s)
4346
See 'astra help org <command>' for more information on a specific command.
4447
----
48+
====
4549

4650
== List users
4751

@@ -69,6 +73,9 @@ astra user list
6973

7074
=== `user list` options
7175

76+
.Expand to see all `user list` options
77+
[%collapsible]
78+
====
7279
[source,console]
7380
----
7481
NAME
@@ -102,6 +109,7 @@ OPTIONS
102109
-v, --verbose
103110
Verbose mode with log in console
104111
----
112+
====
105113

106114
== Add a user
107115

@@ -128,6 +136,9 @@ If you don't specify a role when inviting a user, the user is automatically assi
128136

129137
=== `user invite` options
130138

139+
.Expand to see all `user invite` options
140+
[%collapsible]
141+
====
131142
[source,console]
132143
----
133144
NAME
@@ -173,6 +184,7 @@ OPTIONS
173184
<EMAIL>
174185
User Email
175186
----
187+
====
176188

177189
Use the `-r`/`--role` option to specify a role when inviting a user:
178190

@@ -240,6 +252,9 @@ Replace `**USER**` with the email address or ID of the user you want to get info
240252

241253
=== `user get` options
242254

255+
.Expand to see all `user get` options
256+
[%collapsible]
257+
====
243258
[source,console]
244259
----
245260
NAME
@@ -281,9 +296,13 @@ OPTIONS
281296
<EMAIL>
282297
User Email
283298
----
299+
====
284300

285301
=== `user describe` options
286302

303+
.Expand to see all `user describe` options
304+
[%collapsible]
305+
====
287306
[source,console]
288307
----
289308
NAME
@@ -325,6 +344,7 @@ OPTIONS
325344
<EMAIL>
326345
User Email
327346
----
347+
====
328348

329349
== Remove a user
330350

@@ -358,6 +378,9 @@ Replace `**USER**` with the email address or ID of the user you want to delete.
358378

359379
=== `user delete` options
360380

381+
.Expand to see all `user delete` options
382+
[%collapsible]
383+
====
361384
[source,console]
362385
----
363386
NAME
@@ -399,6 +422,7 @@ OPTIONS
399422
<EMAIL>
400423
User email or identifier
401424
----
425+
====
402426

403427
[#list-roles]
404428
== List roles
@@ -441,6 +465,9 @@ astra role list
441465

442466
=== `role list` options
443467

468+
.Expand to see all `role list` options
469+
[%collapsible]
470+
====
444471
[source,console]
445472
----
446473
NAME
@@ -474,6 +501,7 @@ OPTIONS
474501
-v, --verbose
475502
Verbose mode with log in console
476503
----
504+
====
477505

478506
== Get role details
479507

@@ -555,6 +583,9 @@ Replace `**ROLE**` with the name or ID of the role you want to get information a
555583

556584
=== `role get` options
557585

586+
.Expand to see all `role get` options
587+
[%collapsible]
588+
====
558589
[source,console]
559590
----
560591
NAME
@@ -596,9 +627,13 @@ OPTIONS
596627
<ROLE>
597628
Role name or identifier
598629
----
630+
====
599631

600632
=== `role describe` options
601633

634+
.Expand to see all `role describe` options
635+
[%collapsible]
636+
====
602637
[source,console]
603638
----
604639
NAME
@@ -640,6 +675,7 @@ OPTIONS
640675
<ROLE>
641676
Role name or identifier
642677
----
678+
====
643679

644680
[#list-tokens]
645681
== Get a list of tokens
@@ -665,6 +701,9 @@ astra token list
665701

666702
=== `token list` options
667703

704+
.Expand to see all `token list` options
705+
[%collapsible]
706+
====
668707
[source,console]
669708
----
670709
NAME
@@ -698,6 +737,7 @@ OPTIONS
698737
-v, --verbose
699738
Verbose mode with log in console
700739
----
740+
====
701741

702742
== Create an application token
703743

@@ -728,6 +768,9 @@ Replace `**ROLE**` with the name or ID of the role you want to assign to the tok
728768

729769
=== `token create` options
730770

771+
.Expand to see all `token create` options
772+
[%collapsible]
773+
====
731774
[source,console]
732775
----
733776
NAME
@@ -765,6 +808,7 @@ OPTIONS
765808
-v, --verbose
766809
Verbose mode with log in console
767810
----
811+
====
768812

769813
== Show the current token
770814

@@ -786,6 +830,9 @@ AstraCS:FZmCtRdyzJkYidnmlzwcwJWc:f51d3ee8fce90b28a7681a1e1bc3fa0d69cb770b0219aa9
786830

787831
=== `token get` options
788832

833+
.Expand to see all `token get` options
834+
[%collapsible]
835+
====
789836
[source,console]
790837
----
791838
NAME
@@ -819,6 +866,7 @@ OPTIONS
819866
-v, --verbose
820867
Verbose mode with log in console
821868
----
869+
====
822870

823871
== Delete an application token
824872

@@ -853,6 +901,9 @@ To get a token's client ID, see <<list-tokens>>.
853901

854902
=== `token delete` options
855903

904+
.Expand to see all `token delete` options
905+
[%collapsible]
906+
====
856907
[source,console]
857908
----
858909
NAME
@@ -894,9 +945,13 @@ OPTIONS
894945
<TOKEN>
895946
token identifier
896947
----
948+
====
897949

898950
=== `token revoke` options
899951

952+
.Expand to see all `token revoke` options
953+
[%collapsible]
954+
====
900955
[source,console]
901956
----
902957
NAME
@@ -938,3 +993,4 @@ OPTIONS
938993
<TOKEN>
939994
token identifier
940995
----
996+
====

0 commit comments

Comments
 (0)