USAGE:(1)

πŸ“¦
version 4.11.0 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– USAGE:(1) πŸ’–

ok so bestie. you found the man page for usage: β€” it's filed under User Commands in the manual, and honestly? it's giving "tool that imports your whole blogging era into Pelican." let's get into it 🫢


✨ NAME ✨

usage: β€” import from a feed, Wordpress, or Dotclear files


🌸 DESCRIPTION 🌸

okay so here's the whole vibe. this is the manual page for usage:, and the actual program you're running is this:

usage: pelican-import [-h] [--blogger] [--dotclear] [--medium]
[--tumblr]

[--wpfile] [--feed] [-o OUTPUT] [-m MARKUP] [--dir-cat]
       [--dir-page] [--filter-author AUTHOR] [--strip-raw]
       [--wp-custpost] [--wp-attach] [--disable-slugs] [-b BLOGNAME]
       input

what does it do? it transforms feed, Blogger, Dotclear, Tumblr, or WordPress files into reST (rst) or Markdown (md) files. no cap. πŸ’…

🚨 bestie listen β€” be sure to have pandoc installed. it's not optional, it's the whole personality of this tool.

πŸŽ€ positional arguments

  • input β€” the input file to read. that's the thing you're feeding in, babes.

πŸ’… options

  • -h, --help β€” show this help message and exit. the classic. the icon. ✨
  • --blogger β€” Blogger XML export (default: False)
  • --dotclear β€” Dotclear export (default: False)
  • --medium β€” Medium export (default: False)
  • --tumblr β€” Tumblr export (default: False)
  • --wpfile β€” Wordpress XML export (default: False)
  • --feed β€” Feed to parse (default: False)
  • -o OUTPUT, --output OUTPUT β€” output path (default: content)
  • -m MARKUP, --markup MARKUP β€” output markup format (supports rst & markdown) (default: rst)
  • --dir-cat β€” put files in directories with categories name (default: False)
  • --dir-page β€” put files recognised as pages in "pages/" subdirectory (blogger and wordpress import only) (default: False)
  • --filter-author AUTHOR β€” import only post from the specified author (default: None)
  • --strip-raw β€” strip raw HTML code that can't be converted to markup such as flash embeds or iframes (wordpress import only) (default: False)
  • --wp-custpost β€” put wordpress custom post types in directories. if used with the --dir-cat option, directories will be created as /post_type/category/ (wordpress import only) (default: False)
  • --wp-attach β€” (wordpress import only) download files uploaded to wordpress as attachments. files will be added to posts as a list in the post header. all files will be downloaded, even if they aren't associated with a post. files will be downloaded with their original path inside the output directory. e.g. output/wpuploads/date/postname/file.jpg β€” requires an internet connection β€” (default: False)
  • --disable-slugs β€” disable storing slugs from imported posts within output. with this disabled, your Pelican URLs may not be consistent with your original posts. (default: False)
  • -b BLOGNAME, --blogname BLOGNAME β€” blog name (Tumblr import only) (default: None)

πŸ¦‹ the little repeat block

so this section in the original literally just re-prints the same argument soup again β€” iconic behaviour honestly, it ate:

[--wpfile] [--feed] [-o OUTPUT] [-m MARKUP] [--dir-cat]
       [--dir-page] [--filter-author AUTHOR] [--strip-raw]
       [--wp-custpost] [--wp-attach] [--disable-slugs] [-b BLOGNAME]
       input

and if you forget your input, you get this absolute mood:

pelican-import: error: the following arguments are required: input
😭 not the tool calling you out for not passing an argument. it's giving "you had ONE job." anyway, pass input. periodt.

and that's the whole page bestie!! this was USAGE:(1) from User Commands, version-y bits reading usage: pelican-import [-h] [--..., dated January 2025, filed back under USAGE:(1). mwah, go import something cute πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from