[cli] add -J argument to state_goto