From the comment in Chromium's source code about "--force-app-mode" I was under the impression that it could be used to install a PWA from the command line:
// Forces application mode. This hides certain system UI elements and forces
// the app to be installed if it hasn't been already.
const char kForceAppMode = "force-app-mode";
... but after trying a few different combinations of switches (such as app, app-id, app-url, profile-directory, etc) I wasn't able to do so - at least not with an URL referring to https://localhost:5001.
Is it possible to install a PWA from the command line?