Open
Description
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:
> hyp create drive
Drive Created: hyper://87f05a94b1916674fb00d4cf4da0ed3ae9d9491ebd706afbb01e2a83332f4a4e
Seeding hyperdrive
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:
hyp create drive 2>&1 | grep -oE "hyper://\w+"
An -o
/--only
option (like grep) or -q
/--quiet
option (like many tools) that makes hyp output only the hyper://…
url could be helpful.
Metadata
Metadata
Assignees
Labels
No labels