-
Notifications
You must be signed in to change notification settings - Fork 18
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
--only/--quiet/… option for hyp create #43
Comments
depending on distro/version this is might not produce expected result,
|
i can see the value for it will create new empty drive with unknown address and start seeding.. emptiness? |
I suggested the two as alternative names for this option, not as two different options. Like with some other software, a single |
it's probably not entirely universal either: $ docker ps -a -q
0169d163346e
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0169d163346e analogic/poste.io "/init" 18 minutes ago Up 18 minutes (healthy) 110/tcp, 143/tcp, 465/tcp, 0.0.0.0:25->25/tcp, :::25->25/tcp, 587/tcp, 995/tcp, 0.0.0.0:993->993/tcp, :::993->993/tcp, 4190/tcp, 0.0.0.0:12080->80/tcp, :::12080->80/tcp, 0.0.0.0:12443->443/tcp, :::12443->443/tcp mailserver
$ docker ps -q
0169d163346e
$ docker ps -qq
0169d163346e
$ docker ps -q -q
0169d163346e
$ docker ps -qqq
0169d163346e
$ docker ps -q -q -q
0169d163346e |
For use in shell scripts or to pipe hyp’s output into other commands, it would be practical to have an option to only get the address of the created drive/bee from
hyp create
. Example output, currently:The line containing the address appears to be output via stderr, not stdout, so currently some juggling like this is required to read only the
hyper://…
address:An
-o
/--only
option (like grep) or-q
/--quiet
option (like many tools) that makes hyp output only thehyper://…
url could be helpful.The text was updated successfully, but these errors were encountered: