jekyll / jekyll-import

:inbox_tray: The "jekyll import" command for importing from various blogs to Jekyll format.
https://import.jekyllrb.com
MIT License
515 stars 316 forks source link

Add jekyll-import command #532

Closed parkr closed 9 months ago

parkr commented 10 months ago

We have been asking folks to run jekyll import for a while, but it requires a Gemfile. Not everyone wants to have a Gemfile or knows how to set one up. I'd like to be a bit more independent of Jekyll and its not-always-entirely-working system for external subcommands.

This commit adds a new top-level 'jekyll-import' command so that this gem can handle importing without requiring a Gemfile with :jekyll_plugins.

The flow is still rather tedious:

  1. Run jekyll-import to see subcommands
  2. Run jekyll-import <subcommand> --help to see options
  3. Run jekyll-import <subcommand> <options> but get a dependency-not-found error
  4. Run gem install <dependency1> to install
  5. Re-run jekyll-import <subcommand> <options> but get another dependency-not-found error.
  6. Run gem install <dependency_N> to install. Repeat 5 and 6 until all dependencies are satisfied.
  7. Finally, re-run jekyll-import <subcommand> <options> and observe your output site (assuming to bugs in the importer)

Fixes #530.

parkr commented 9 months ago

@jekyllbot: merge +minor