zap icon indicating copy to clipboard operation
zap copied to clipboard

README.md / Example fails / appname is not provided

Open Semnodime opened this issue 2 years ago • 3 comments

zap install --from https://f.sed.lol/wow.AppImage ->

appname is not provided

Blame: https://github.com/srevinsaju/zap/commit/1b58636550acb97d1cfec115f6b067ad2b731839

Semnodime avatar Feb 19 '22 11:02 Semnodime

I'd be great if zap would prompt the user:

The appname has not been specified.
Shall I name it `wow`? (y/N)

and if no is selected

Aborted. Nothing has been installed.
You can specify the appname via the next positional argument.

Example: This will install the appimage as `custom-appname`
zap install --from https://f.sed.lol/wow.AppImage custom-appname

Semnodime avatar Feb 19 '22 11:02 Semnodime

Tell me if you like this idea, maybe I'll find some time to open a PR.

Semnodime avatar Feb 19 '22 11:02 Semnodime

Yes! this would be a great feature to have, I like this idea :sparkles:

srevinsaju avatar Feb 19 '22 14:02 srevinsaju