Add CLI with init and check commands.