Running externally within docker environment ends up with this:
$ docker exec -it bookstack_lsiodev php /app/www/bookstack-system-cli backup
WARNING: This CLI is in early alpha testing.
There's a high chance of running into bugs, and the CLI API is subject to change.
An error occurred when attempting to run a command:
Could not find a valid BookStack installation
Same when testing in-container, when running from via /app/www/bookstack-system-cli backup.
Have not yet re-tested that using phar in non-docker environment.
It finds the installation when accessing the docker container and running the CLI from the app directory.
Running externally within docker environment ends up with this:
Same when testing in-container, when running from via
/app/www/bookstack-system-cli backup
. Have not yet re-tested that using phar in non-docker environment. It finds the installation when accessing the docker container and running the CLI from the app directory.