I’m working on packaging my first yunohost app. Working on packaging archivebox (https://archivebox.io/).
To test my work, on the CLI, I am using yunohost app install
/path/to/myapp, however this requires I enter 5 arguments (domain, admin, etc.).
Is there an easy way to run this script non-interactively, supplying these arguments on the CLI as part of the command, to speed up testing?
I tried writing a script which defines environment variable before calling install directly, but I get the error:
line 46: YNH_STDINFO: unbound variable
What should be the value of YNH_STDINFO? Or is there an easier way to do this?