gctools
gctools copied to clipboard
Add check to validate API urls
The Ghost Admin API client needs the base URL for a site. If a path like example.ghost.io/ghost/api/admin is added, the tools fail.
A validation step should be added in both the interactive prompt and CLI to ensure a supplied URL is valid before continuing.