Skip to content

Commit

Permalink
fix: added icons to self-update, included new TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvandernoord committed Apr 10, 2024
1 parent 3920ab3 commit 637b21b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uvx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ def self_update(
for package, old_version in old.items():
new_version = new.get(package)
if new_version == old_version:
rich.print(f"[bold]'{package}'[/bold] not updated (version: [green]{old_version}[/green])")
rich.print(f"🌟 [bold]'{package}'[/bold] not updated (version: [green]{old_version}[/green])")
else:
rich.print(
f"[bold]'{package}'[/bold] updated from [red]{old_version}[/red] to [green]{new_version}[/green]"
f"🚀 [bold]'{package}'[/bold] updated from [red]{old_version}[/red] to [green]{new_version}[/green]"
)


Expand Down
1 change: 1 addition & 0 deletions src/uvx/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def uv(*args: typing.Any, **kwargs: str):
str: The result of the uv command.
"""
if kwargs:
# todo: Add to args: {'a': 1, 'longer': 2} -> ['-a', '1', '--longer', '2']
raise NotImplementedError("todo")

result: str = _uv(*args)
Expand Down

0 comments on commit 637b21b

Please sign in to comment.