File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22"zmk download" command.
33"""
44
5+ import webbrowser
6+
57import typer
68
79from ..config import get_config
@@ -16,7 +18,7 @@ def download(ctx: typer.Context) -> None:
1618
1719 actions_url = _get_actions_url (repo )
1820
19- typer . launch (actions_url )
21+ webbrowser . open (actions_url )
2022
2123
2224def _get_actions_url (repo : Repo ):
Original file line number Diff line number Diff line change 55import platform
66import shutil
77import subprocess
8+ import webbrowser
89from pathlib import Path
910from urllib .parse import urlparse
1011
@@ -115,7 +116,7 @@ def _get_repo_url():
115116 width = TEXT_WIDTH ,
116117 )
117118 input ()
118- typer . launch (TEMPLATE_URL )
119+ webbrowser . open (TEMPLATE_URL )
119120
120121 url = UrlPrompt .ask ("Repository URL" )
121122 return url
You can’t perform that action at this time.
0 commit comments