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 @@ -124,18 +124,6 @@ def from_session(
124
124
then_launch (operations .from_session , profile , session_path = session_path , ** kwargs )
125
125
126
126
127
- @main .command ()
128
- @click .argument ("profile_name" )
129
- @click .pass_obj
130
- def desktop (
131
- context : Context ,
132
- profile_name : str ,
133
- ) -> None :
134
- """Create a desktop file for an existing profile."""
135
- profile = Profile (profile_name , ** vars (context ))
136
- exit_with (operations .desktop (profile ))
137
-
138
-
139
127
@main .command (context_settings = {"ignore_unknown_options" : True })
140
128
@click .argument ("profile_name" )
141
129
@click .argument ("qb_args" , nargs = - 1 , type = click .UNPROCESSED )
@@ -192,6 +180,18 @@ def list_(context: Context) -> None:
192
180
print (profile .name )
193
181
194
182
183
+ @main .command ()
184
+ @click .argument ("profile_name" )
185
+ @click .pass_obj
186
+ def desktop (
187
+ context : Context ,
188
+ profile_name : str ,
189
+ ) -> None :
190
+ """Create a desktop file for an existing profile."""
191
+ profile = Profile (profile_name , ** vars (context ))
192
+ exit_with (operations .desktop (profile ))
193
+
194
+
195
195
def then_launch (
196
196
operation : Callable [..., bool ],
197
197
profile : Profile ,
You can’t perform that action at this time.
0 commit comments