prettier help on CLI, slight refactoring of init logic