Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124634
D7147.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
487 B
Subscribers
None
D7147.diff
View Options
diff --git a/swh/loader/cli.py b/swh/loader/cli.py
--- a/swh/loader/cli.py
+++ b/swh/loader/cli.py
@@ -103,7 +103,11 @@
loader = get_loader(type, url=url, storage=conf["storage"], **kw)
result = loader.load()
- click.echo(result)
+ msg = f"{result} for origin '{url}'"
+ directory = kw.get("directory")
+ if directory:
+ msg = msg + f" and directory '{directory}'"
+ click.echo(msg)
@loader.command(name="list", context_settings=CONTEXT_SETTINGS)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 3:14 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221873
Attached To
D7147: Add URL and directory to CLI loader status echo
Event Timeline
Log In to Comment