John where do you sit with the idea that ghst could download/upload routes and redirects?
I understand they are probably still in the ‘labs’ area for a reason, but would be really helpful during site development to have programmatic access to this, in the same way that theme watching is really helpful.
It’s mostly during site development, so I’m doing this against a local docker container at the same time as theme development. In the past this has been a kind of exploratory loop where I’m seeing what’s possible.
Sometimes the site has already gone live, so you might need to do a simultaneous theme upload, routes change, and navigation settings change. It would just be handy to batch these so you minimise any inconsistent state users might see.
I can’t run this on my Arch based server, it complains about credential storage, even when I pass the flag to use insecure storage
ghst auth login
Ghost URL (e.g. https://example.com): https://sathyabh.at
------------------------------------------------------------
Continue In Ghost Admin
------------------------------------------------------------
Copy the staff access token from your profile, then return here to continue.
Press Enter to Continue...
Opening Ghost Admin in your browser: https://sathyabh.at/ghost/#/my-profile
Warning: could not open browser automatically. Open this URL manually: https://sathyabh.at/ghost/#/my-profile
Reason: Failed to open browser with 'gio' (exit 2)
Ghost Staff Access Token: 69a0xxxxxx
Error: Failed to store credential in Secret Service: secret-tool: The name is not activatable
ghst auth login --url https://sathyabh.at --staff-token 69a0xxxx --insecure-storage
------------------------------------------------------------
Continue In Ghost Admin
------------------------------------------------------------
Copy the staff access token from your profile, then return here to continue.
Press Enter to Continue...
Opening Ghost Admin in your browser: https://sathyabh.at/ghost/#/my-profile
Warning: could not open browser automatically. Open this URL manually: https://sathyabh.at/ghost/#/my-profile
Reason: Failed to open browser with 'gio' (exit 2)
Error: Failed to store credential in Secret Service: secret-tool: The name is not activatable