mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Print "No items found" when there are no packages for llisting
This commit is contained in:
@ -277,6 +277,8 @@ def lib_list(ctx, json_output):
|
||||
else:
|
||||
for item in sorted(items, key=lambda i: i['name']):
|
||||
print_lib_item(item)
|
||||
else:
|
||||
click.echo("No items found")
|
||||
|
||||
if json_output:
|
||||
return click.echo(
|
||||
|
Reference in New Issue
Block a user