如自述文件中所示,我需要设置什么才能将此作为 CLI 运行?
What do I need to set up to be able to run this as a CLI as shown in the readme?
https://github.com/slang800/instagram-screen-scrape
在其中一个示例中,它显示作者将其用作终端内的 CLI,但我无法这样做。
$ instagram-screen-scrape posts --username carrotcreative
需要做什么才能运行如图所示?
显然,所有必要的就是使用 npm
安装它(为了方便,我最终在全球范围内安装了它)。
$ npm install instagram-screen-scrape -g
https://github.com/slang800/instagram-screen-scrape
在其中一个示例中,它显示作者将其用作终端内的 CLI,但我无法这样做。
$ instagram-screen-scrape posts --username carrotcreative
需要做什么才能运行如图所示?
显然,所有必要的就是使用 npm
安装它(为了方便,我最终在全球范围内安装了它)。
$ npm install instagram-screen-scrape -g