Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/azurecoder/dexcmd
Browse files Browse the repository at this point in the history
  • Loading branch information
azurecoder committed Jun 21, 2020
2 parents 95ca821 + 582d089 commit 0c8ffe1
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ For information on creating a App Registration:

Key features

| Feature | Command | Link |
|-------------------|:-----------------:|------------------------------:|
| List Database | --list-databases | ![ADX](docs/ListDatabases.md) |
| List Tables | --list-tables | ![ADX](docs/ListTables.md) |
| Add User | --add-user | ![ADX](docs/AddUser.md) |


| Feature | Command | Link |
|-------------------|:-----------------:|----------------------------------------:|
| List Database | --list-databases | [List Databases](docs/ListDatabases.md) |
| List Tables | --list-tables | [List Tables](docs/ListTables.md) |
| Add User | --add-user | [Add Users](docs/AddUser.md) |
13 changes: 13 additions & 0 deletions docs/AddUser.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Add User

Users can be added through dexcmd to a table in a database. In order to run the command the following is needed:

* Username
* Tablename
* Database name

The command should be run as follows:

```
dexcmd --add-user --databaseName {example database} --tableName {example table} --userName {user name}
```
9 changes: 9 additions & 0 deletions docs/ListDatabases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# List Databases

This lists all of the databases in a cluster.

The command should be run as follows:

```
dexcmd --list-databases
```
11 changes: 11 additions & 0 deletions docs/ListTables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# List Tables

Tables can be listed using dexcmd. In order to run the command the following is needed:

* Database name

The command should be run as follows:

```
dexcmd --list-tables --databaseName {example database}
```

0 comments on commit 0c8ffe1

Please sign in to comment.