prasmussen / chrome-cli

Control Google Chrome from the command line
MIT License
2.61k stars 89 forks source link

Feature request: name window #90

Open equiman opened 5 months ago

equiman commented 5 months ago

Would it be possible to add an option to name a window on opening a new window?

Something like this:

chrome-cli open <url> -n  [<name>] (Open url in new window)
chrome-cli open <url> -i  [<name>] (Open url in new incognito window)

I know it's possible using the CLI args using --window-name flag:

open -na "Google Chrome" --args --window-name="br" --new-window --incognito