prototype of a cli command, and struct visibility