USAGE:(1)
π 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 (supportsrst&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-catoption, 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
- debian trixie: pelican 4.11.0+dfsg-1 Β· AGPL-3.0-only
- ubuntu questing: pelican 4.11.0+dfsg-1
- ubuntu resolute: pelican 4.11.0+dfsg-2 Β· AGPL-3.0-only
- ubuntu stonking: pelican 4.11.0+dfsg-2 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms