Wrapped program logic with CLI.