Skip to content

Commit 5574f7a

Browse files
committed
readme
1 parent 20f3236 commit 5574f7a

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

astra-shell/README.MD

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Astra Shell is a standalone command line interface proposing functions to operat
88

99
<img src="https://github.com/datastax/astra-sdk-java/blob/main/docs/img/astra-shell.png?raw=true" align="right" width="400px"/>
1010

11-
1. [Installation](#1-objectives)
11+
1. [Installation](#1-installation)
1212
2. [Configuration Management](#2-acknowledgements)
1313
3. [Working with Databases](#3-frequently-asked-questions)
1414
4. [Working with Users](#4-materials-for-the-session)
@@ -57,7 +57,7 @@ astra --version
5757
astra help
5858
```
5959

60-
## B. Working with configurations
60+
## 2. Configuration Management
6161

6262
- **List Configurations**
6363

@@ -118,7 +118,7 @@ astra config delete dev
118118
astra config list
119119
```
120120

121-
## C. Working with Databases
121+
## 3. Working with Databases
122122

123123
- **List Databases**:
124124

@@ -223,7 +223,7 @@ quit;
223223
astra db cqlsh demo -e "describe keyspaces;"
224224
```
225225

226-
## D. Interactive mode
226+
### D. Interactive mode
227227

228228
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 ?
229229

@@ -273,7 +273,7 @@ Now quit:
273273
quit;
274274
```
275275

276-
## E. Working with Users
276+
## 4. Working with Users
277277

278278
- List your users
279279

@@ -294,11 +294,19 @@ astra db list
294294
astra user delete [email protected]
295295
```
296296

297+
## 5. Working with Roles
297298

299+
- List your users
298300

301+
```
302+
astra role list
303+
```
299304

300-
## F. Working with Roles
305+
- Delete a user
301306

307+
```
308+
astra role get "Organization Administrator"
309+
```
302310

303311

304312

0 commit comments

Comments
 (0)