File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ def editor():
171171 """Launch concore-editor"""
172172 try :
173173 from .commands .editor import launch_editor
174+
174175 launch_editor ()
175176 except Exception as e :
176177 console .print (f"[red]Error:[/red] { str (e )} " )
Original file line number Diff line number Diff line change 1- import click
21import os
32import sys
43import shutil
54import subprocess
6- import urllib .parse
7- from pathlib import Path
85from rich .console import Console
96
107console = Console ()
118EDITOR_URL = "https://controlcore-project.github.io/concore-editor/"
129
10+
1311def open_editor_url (url ):
1412 try :
1513 if sys .platform == "win32" :
@@ -28,6 +26,7 @@ def open_editor_url(url):
2826 except Exception as e :
2927 console .print (f"unable to open browser for the concore editor. ({ e } )" )
3028
29+
3130def launch_editor ():
3231 console .print ("[cyan]Opening concore-editor...[/cyan]" )
3332 open_editor_url (EDITOR_URL )
You can’t perform that action at this time.
0 commit comments