@@ -8,7 +8,7 @@ Astra Shell is a standalone command line interface proposing functions to operat
8
8
9
9
<img src =" https://github.com/datastax/astra-sdk-java/blob/main/docs/img/astra-shell.png?raw=true " align =" right " width =" 400px " />
10
10
11
- 1 . [ Installation] ( #1-objectives )
11
+ 1 . [ Installation] ( #1-installation )
12
12
2 . [ Configuration Management] ( #2-acknowledgements )
13
13
3 . [ Working with Databases] ( #3-frequently-asked-questions )
14
14
4 . [ Working with Users] ( #4-materials-for-the-session )
@@ -57,7 +57,7 @@ astra --version
57
57
astra help
58
58
```
59
59
60
- ## B. Working with configurations
60
+ ## 2. Configuration Management
61
61
62
62
- ** List Configurations**
63
63
@@ -118,7 +118,7 @@ astra config delete dev
118
118
astra config list
119
119
```
120
120
121
- ## C . Working with Databases
121
+ ## 3 . Working with Databases
122
122
123
123
- ** List Databases** :
124
124
@@ -223,7 +223,7 @@ quit;
223
223
astra db cqlsh demo -e "describe keyspaces;"
224
224
```
225
225
226
- ## D. Interactive mode
226
+ ### D. Interactive mode
227
227
228
228
Commands we used so far are stateless, no connection is maintained after the execution. What if you need more an interactive shell than a cli ?
229
229
@@ -273,7 +273,7 @@ Now quit:
273
273
quit;
274
274
```
275
275
276
- ## E . Working with Users
276
+ ## 4 . Working with Users
277
277
278
278
- List your users
279
279
@@ -294,11 +294,19 @@ astra db list
294
294
astra user delete [email protected]
295
295
```
296
296
297
+ ## 5. Working with Roles
297
298
299
+ - List your users
298
300
301
+ ```
302
+ astra role list
303
+ ```
299
304
300
- ## F. Working with Roles
305
+ - Delete a user
301
306
307
+ ```
308
+ astra role get "Organization Administrator"
309
+ ```
302
310
303
311
304
312
0 commit comments