To facilitate interaction with substack
Add it to your computer npm install substack-site-cli -g or yarn add substack-site-cli -g
To ensure subc is installed properly, run the following command:
substack -VAnd you will see the version of the current txc installation:
my-user@my-machine:~/$ txc -V
0.0.1After installation the application will be available through the command substack and will provide the next set of commands:
This command will initialize the CLI so you can execute other commands:
substack init --cookie "<copy and paste the substack cookie here>" --domain "<your newsletter site domain>"This command will allow you to export your subscribers as CSV or JSON, you will be prompted several questions
substack subcribers