minor cli refactoring
actions_test file, no tests yet
minor cli refactoring
cli tests