Launch a Chrome app from command line
Answered thanks to @JacobVlijm .
To run a chrome app from command-line, use the following :
google-chrome --app-id=[app_id]
Assuming the path of google-chrome
is /opt/google/chrome/google-chrome
.
To retrieve the app id, search the first occurrence of the application name in /home/$USER/.local/share/applications
.
After all the stuff I have executed following command, worked for me and open postman
google-chrome --app-id=fhbjgbiflinjbdggehcddcbncdddomop
Assume default configurations
Pattern: google-chrome --app-id=<extensionID>
To get the extension ID:
- open
chrome://extensions/
in your chrome browser - click "Details" button of Postman extension
- view address on address bar, where url in format of
chrome://extensions/?id=<extensionID>
Copy extensionID from url and use it in command
In same way you can use any extension of google chrome