Skip to content

Commit 9d58dad

Browse files
committed
move desktop command down
1 parent 0b3e6dd commit 9d58dad

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

qbpm/main.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,6 @@ def from_session(
8686
then_launch(operations.from_session, profile, session_path=session_path, **kwargs)
8787

8888

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-
10189
@main.command(context_settings={"ignore_unknown_options": True})
10290
@click.argument("profile_name")
10391
@click.argument("qb_args", nargs=-1, type=click.UNPROCESSED)
@@ -155,6 +143,18 @@ def list_(profile_dir: Path) -> None:
155143
print(profile.name)
156144

157145

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+
158158
@main.command()
159159
@click.argument("profile_name")
160160
@click.argument("icon")

0 commit comments

Comments
 (0)