use cli call other funtions

i would like to use cli call all funtions(like create spec) in p21 app not only validation.and i once see those command lines,but i can’t find them now.could you please send it to me again? thanks!