aleph-im / aleph-client

Lightweight Python Client library for the Aleph.im network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should commands only print the generated item_hash by default ?

hoh opened this issue · comments

This would be useful for bash scripts.

Sure, I think an according change to the CLI code should suffice @mrhouzlane

We can preserve the current way of printing return results by introducing a flag --verbose (-v) to each command of the CLI.

I suspect that more users would be using it manually than from scripts (you can always just import it from Python to script it), so defaulting to a human output would be more adequate.