CLI should validate any Darknodes provided as inputs
jazg opened this issue · 0 comments
jazg commented
Currently if I run darknode stop non-existent-darknode
I get:
failed to systemctl --user stop darknode [non-existent-darknode]: open ~/.darknode/darknodes/non-existent-darknode/ssh_keypair: no such file or directory
open ~/.darknode/darknodes/non-existent-darknode/ssh_keypair: no such file or directory
And if I run darknode ssh non-existent-darknode
I just get:
exit status 1
Might be better to return something like:
[non-existent-darknode] not found