File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -86,18 +86,6 @@ def from_session(
86
86
then_launch (operations .from_session , profile , session_path = session_path , ** kwargs )
87
87
88
88
89
- @main .command ()
90
- @click .argument ("profile_name" )
91
- @click .pass_obj
92
- def desktop (
93
- profile_dir : Path ,
94
- profile_name : str ,
95
- ) -> None :
96
- """Create a desktop file for an existing profile."""
97
- profile = Profile (profile_name , profile_dir )
98
- exit_with (operations .desktop (profile ))
99
-
100
-
101
89
@main .command (context_settings = {"ignore_unknown_options" : True })
102
90
@click .argument ("profile_name" )
103
91
@click .argument ("qb_args" , nargs = - 1 , type = click .UNPROCESSED )
@@ -155,6 +143,18 @@ def list_(profile_dir: Path) -> None:
155
143
print (profile .name )
156
144
157
145
146
+ @main .command ()
147
+ @click .argument ("profile_name" )
148
+ @click .pass_obj
149
+ def desktop (
150
+ profile_dir : Path ,
151
+ profile_name : str ,
152
+ ) -> None :
153
+ """Create a desktop file for an existing profile."""
154
+ profile = Profile (profile_name , profile_dir )
155
+ exit_with (operations .desktop (profile ))
156
+
157
+
158
158
@main .command ()
159
159
@click .argument ("profile_name" )
160
160
@click .argument ("icon" )
You can’t perform that action at this time.
0 commit comments