First of all, thank you for creating this CLI.
It is an enthusiast's dream to have this + local API to experiment with.
A few small behavior modifications for consideration:
-
When only 1 Bond Bridge exists and no bond is currently selected, running bond discover or bond select (without any params) could subsequently prompt the user to select that lone bridge. If this is not desired, bond list could at least print a small helper message to remind the user about the select command if they have none selected.
-
Output of bond list should show which Bond is currently selected.
-
Running bond select without any params causes it to exit without error or any clarifying output. I believe it might be due to this if statement not having an else to handle the case where bond_id is not provided.
Please let me know if these types of items are worth bringing up in issues or not so I don't create noise for your team.
First of all, thank you for creating this CLI.
It is an enthusiast's dream to have this + local API to experiment with.
A few small behavior modifications for consideration:
When only 1 Bond Bridge exists and no bond is currently selected, running
bond discoverorbond select(without any params) could subsequently prompt the user to select that lone bridge. If this is not desired,bond listcould at least print a small helper message to remind the user about theselectcommand if they have none selected.Output of
bond listshould show which Bond is currentlyselected.Running
bond selectwithout any params causes it to exit without error or any clarifying output. I believe it might be due to thisifstatement not having anelseto handle the case wherebond_idis not provided.Please let me know if these types of items are worth bringing up in issues or not so I don't create noise for your team.