Skip to content

Commit

Permalink
Merge pull request #16 from DENICeG/rri-v5
Browse files Browse the repository at this point in the history
WIP: RRI V5 Support
  • Loading branch information
Nerzal authored Dec 9, 2024
2 parents db81280 + 1ed41e7 commit a720a91
Show file tree
Hide file tree
Showing 67 changed files with 3,412 additions and 2,003 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ cover.out
# editors and local settings
.vscode
.idea
queries
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ unit-test:

run:
@go run . --insecure

install-vulncheck:
go install golang.org/x/vuln/cmd/govulncheck@latest

run-vulncheck:
govulncheck ./...
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ go-rriclient
| `--user {username}` | `-u` | RRI username to log in. |
| `--pass {password}` | `-p` | RRI password to log in. |
| `--file {file}` | `-f` | File containing RRI queries to process. |
| `--preset` | `-P` | Enter preset mode |
| `--env {alias name}` | `-e` | Name of the environment to create or use. |
| `--delete-env {alias name}` | | Delete an existing environment. |
| `--list-env` | | Display a list of all environments. |
Expand All @@ -95,6 +96,9 @@ go-rriclient

## RRI Commands

Note: These commands are deprecated and will be removed in a future version.
Please use the preset command instead.

You can use the following commands in file mode and interactive mode:

| Command and Parameter | Description |
Expand All @@ -119,9 +123,15 @@ You can use the following commands in file mode and interactive mode:
| `raw` | Enter a raw query and send to RRI. |
| `raw {command}` | Send a command like `version: 3.0\naction: queue-read` |
| `file {path}` | Process a query file as accepted by flag `--file`. |
| `xml` | Toggle XML mode. **NOT implemented yet** |
| `preset {path}` | Preview, edit and send a query file. |
| `verbose` | Toggle verbose mode. |

## Preset Mode

The Preset Mode allows you to chose from predefined request templates to edit and fire the query.
Preset mode supports tab completion.


## RRI Request Examples

**Create Domain/Update Domain**
Expand Down
Loading

0 comments on commit a720a91

Please sign in to comment.