From ba73d815c1e7411203d0f5b5a3d8bc153596ca2c Mon Sep 17 00:00:00 2001 From: Nikita Stupin <18281368+nikitastupin@users.noreply.github.com> Date: Fri, 12 Aug 2022 19:17:16 +0300 Subject: [PATCH] Update the Usage section --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index efcde37..e308819 100644 --- a/README.md +++ b/README.md @@ -8,24 +8,25 @@ Clairvoyance allows us to get GraphQL API schema when introspection is disabled. Thanks to [Swan](https://github.com/c3b5aw) from [Escape-Technologies](https://github.com/Escape-Technologies) for 2.0 version. -## Installation +## Usage + +### From Python interpreter ```bash git clone https://github.com/nikitastupin/clairvoyance.git cd clairvoyance -pip3 install -r requirements.txt +pip install poetry +poetry config virtualenvs.in-project true +poetry install --no-dev +source .venv/bin/activate ``` -## Usage - -### From Python interpreter - ```bash python3 -m clairvoyance --help ``` ```bash -python3 -m clairvoyance -vv -o /path/to/schema.json -w /path/to/wordlist.txt https://swapi-graphql.netlify.app/.netlify/functions/index +python3 -m clairvoyance -o /path/to/schema.json https://swapi-graphql.netlify.app/.netlify/functions/index ``` ### From Docker Image