bluesky-social / pds

Bluesky PDS (Personal Data Server) container image, compose file, and documentation
Other
1.38k stars 126 forks source link

Provide more information on pdsadmin error #50

Open Sigafoos opened 9 months ago

Sigafoos commented 9 months ago

When I was getting my test PDS set up I was confusing "you provided an invalid command" with "the resource on your PDS was not found". The error message was there, but my changes make it more clear to me. If you disagree feel free to close this!

It will now provide this help message:

bash pdsadmin.sh accdsddsd
curl: (22) The requested URL returned error: 404
ERROR: command 'pdsadmin.sh accdsddsd' not found
Run 'pdsadmin.sh help' for a list of commands

(with pdsadmin.sh being replaced by pdsadmin when run on a server, since it uses $0)