[cli] fix ba state
output and conversion of state to string (#9433)
#1401
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention