[cli] Refactor bin/ module declarations.