So if you run discourse restore with no arguments, it prints something like this:
You must provide a filename to restore. Did you mean one of the following?
script/discourse restore ipb-import-2017-08-23-165728-v20170605014820.tar.gz
script/discourse restore ipb-import-2017-08-22-180715-v20170605014820.tar.gz
And then if you copy-paste on of those, it runs script/discourse rather tahn discourse, and that doesn’t work.
And I was so excited about the “copy this line” feature.
I’ll submit a PR Real Soon Now.