diff --git a/README.md b/README.md index af86c2c..04bb7e7 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Today, it provides an emulator for Griptape Cloud Managed Structures, which allo ``` ```bash - pipx install ./griptape-cli + pipx install ./griptape-cli --force ``` 2. Verify installation ```bash diff --git a/griptapecli/commands/skatepark.py b/griptapecli/commands/skatepark.py index 0e6dc9f..0cc8645 100644 --- a/griptapecli/commands/skatepark.py +++ b/griptapecli/commands/skatepark.py @@ -88,7 +88,8 @@ def register( """Registers a Structure with Skatepark.""" url = f"http://{host}:{port}/api/structures" directory = os.path.abspath(directory) - click.echo(f"Registering Structure from {directory}/{main_file}") + if tldr is False: + click.echo(f"Registering Structure from {directory}/{main_file}") response = requests.post( url, json={ @@ -160,7 +161,7 @@ def list_structures( click.echo(f"HTTP Error: {e}") return - structures = response.json() + structures = response.json()["structures"] if structures: for structure in structures: structure_id = structure["structure_id"]