First steps of the cli command.