前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
check stdin is terminal or pipe. if read from terminal interactive printf help message.