Skip to content

Commit

Permalink
Merge pull request #11 from kiraum/kiraum/docs_10
Browse files Browse the repository at this point in the history
docs: updating README with -d/--debug (enable debug logging)
  • Loading branch information
kiraum authored Dec 23, 2024
2 parents 4980288 + 0fa4a92 commit ef23bb9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,23 @@ irrexplorer asn AS22548
```
![](https://raw.githubusercontent.com/kiraum/irrexplorer-cli/refs/heads/main/docs/images/irrexplorer_asn.png)

The `-f` or `--format` flag allows you to specify the output format:
The following flags customize the output:

* `json`: Output results in JSON format
* `csv`: Output results in CSV format
* Default format is human-readable text
* `-f` or `--format`: Specify output format
* `json`: Output results in JSON format
* `csv`: Output results in CSV format
* Default format is human-readable text

The `-u` or `--url` flag allows you to specify a custom base URL for the IRR Explorer API:
* `-u` or `--url`: Specify a custom base URL for the IRR Explorer API
```bash
irrexplorer --url https://custom-irrexplorer.example.com prefix 200.160.4.153
```

* `-d` or `--debug`: Enable debug logging for troubleshooting
```bash
irrexplorer --debug prefix 200.160.4.153
```

## Requirements

* Python 3.13+
Expand Down

0 comments on commit ef23bb9

Please sign in to comment.