Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Chrome profile flag for chrome-cli open #67

Open
amfarrell opened this issue Apr 18, 2022 · 2 comments
Open

Feature Request: Chrome profile flag for chrome-cli open #67

amfarrell opened this issue Apr 18, 2022 · 2 comments

Comments

@amfarrell
Copy link

As a chrome-cli user, I have multiple google chrome profiles: one for work and one for serous personal stuff and one for recreational personal stuff. I would like to be able to specify which profile I run chrome-cli open with.

It would also be nice for chrome-cli list profiles to list the names of the available google chrome profiles.

@amfarrell
Copy link
Author

amfarrell commented Apr 18, 2022

I imagine the interface could look like:

$ chrome-cli list profiles
[Default]
[Profile 2]

$ chrome-cli open https://xkcd.com/ -p 'Profile 2'

And be based on the profile folders in /Users/$USER/Library/Application Support/Google/Chrome

@evanrs
Copy link

evanrs commented May 3, 2023

Within the profile data you can recover the associated email — if the profile has one — and use that as the alias.

I use this already in a simple url router that sends links to the appropriate chrome profile on open.

Would love to see an interface like:

chrome-cli open https://xkcd.com/ -p '[email protected]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants