Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: implement quiet flag -q to request minimal output #304

Closed
btc opened this issue Nov 12, 2014 · 2 comments
Closed

cli: implement quiet flag -q to request minimal output #304

btc opened this issue Nov 12, 2014 · 2 comments
Labels
help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature

Comments

@btc
Copy link
Contributor

btc commented Nov 12, 2014

executed normally

go-ipfs (cmd-ref-part2) λ. ipfs add Makefile
added QmeFnQFXKk2BHUSZZMtcGyhFbFY376M7h63iWp9DEobEUH /Users/btc/Dropbox/src2/go/src/github.com/jbenet/go-ipfs/Makefile

executed with quiet flag

go-ipfs (cmd-ref-part2) λ. ipfs add -q Makefile
QmeFnQFXKk2BHUSZZMtcGyhFbFY376M7h63iWp9DEobEUH
@btc btc added kind/enhancement A net-new feature or improvement to an existing feature help wanted Seeking public contribution on this issue labels Nov 12, 2014
@jbenet
Copy link
Member

jbenet commented Nov 12, 2014

So, -r add would be:

// ipfs add -r test/
added QmTz3oc4gdpRMKP2sdGUPZTAGRngqjsi99BPoztyP53JMM test/bar
added QmTz3oc4gdpRMKP2sdGUPZTAGRngqjsi99BPoztyP53JMM test/baz/b
added QmYNmQKp6SuaVrpgWRsPTgCQCnpxUYGq76YEKBXuj2N4H6 test/baz/f
added QmX1ebVUtfY11ZCpVmqyE5mDoN62SpLd8eLPpg5GGV1ABt test/baz
added QmYNmQKp6SuaVrpgWRsPTgCQCnpxUYGq76YEKBXuj2N4H6 test/foo
added QmNtpA5TBNqHrKf3cLQ1AiUKXiE4JmUodbG5gXrajg8wdv test

// ipfs add -q -r test/
QmTz3oc4gdpRMKP2sdGUPZTAGRngqjsi99BPoztyP53JMM
QmTz3oc4gdpRMKP2sdGUPZTAGRngqjsi99BPoztyP53JMM
QmYNmQKp6SuaVrpgWRsPTgCQCnpxUYGq76YEKBXuj2N4H6
QmX1ebVUtfY11ZCpVmqyE5mDoN62SpLd8eLPpg5GGV1ABt
QmYNmQKp6SuaVrpgWRsPTgCQCnpxUYGq76YEKBXuj2N4H6
QmNtpA5TBNqHrKf3cLQ1AiUKXiE4JmUodbG5gXrajg8wdv

@mappum
Copy link
Contributor

mappum commented Nov 12, 2014

This could be implemented as either a global option (in the root command), or could be added as an option of the specific commands that handle it.

chriscool added a commit to chriscool/go-ipfs that referenced this issue Nov 22, 2014
This implements issue ipfs#304.

It was done as much as possible in the same way as the
-r or --recursive flag.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
chriscool added a commit to chriscool/go-ipfs that referenced this issue Nov 22, 2014
This implements issue ipfs#304.

It was done as much as possible in the same way as the
-r or --recursive flag.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
chriscool added a commit to chriscool/go-ipfs that referenced this issue Nov 23, 2014
This implements issue ipfs#304.

It was done as much as possible in the same way as the
-r or --recursive flag.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
@jbenet jbenet closed this as completed Mar 28, 2015
@aschmahmann aschmahmann mentioned this issue Dec 8, 2021
80 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Seeking public contribution on this issue kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants