d0f8cd9e78
refs https://github.com/TryGhost/Ghost/pull/11539 - The script helps to migrate CSV exports from Substack to Ghost-compatible ones
832 B
832 B
Substack Ghost Csv Converter
Allows converting CSV export from Substack to CSV compatible with Ghost.
Install
npm install @tryghost/substack-ghost-csv-converter --save
or
yarn add @tryghost/substack-ghost-csv-converter
Usage
To convert the CSV file provide a path to in as a first parameter and the output csv file path as second parameter: subghost <csv_input> <csv_output>
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2020 Ghost Foundation - Released under the MIT license.