Process args as well as piped input in CLI mode.