SSITE(1)
β¨ ssite(1) β User Commands, but make it cute π
okay bestie, sit down, hydrate, because this is the SSITE(1) page from the User Commands corner of the manual and we are doing the WHOLE thing. no skimming. every flag gets its moment. π¦
π NAME π
ssite β that's it. that's the name. ssite. short. iconic. no notes. π
πΈ DESCRIPTION πΈ
first thing on the page is the usage, and she is LONG:
usage: ssite [-h] [--version]
{check,dump,dump_meta,build,serve,show,new,edit,site,meta,shell}
...
and the actual description? Static site generator. that's the whole sentence and honestly it ate. π₯
π positional arguments π
{check,dump,dump_meta,build,serve,show,new,edit,site,meta,shell}β sub-command help
and here's the list of them, exactly as printed, no cap:
check dump dump_meta build serve show new edit site meta
Edit metadata for a file shell
π options π
-h,--helpβ show this help message and exit π«Ά--version,-Vβ show program's version number and exit
π₯ CHECK SUBCOMMAND π₯
usage, verbatim:
usage: ssite check [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft]
PROJECT
(yes the section is literally named PROJECT, we love a bold label π )
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future
π₯ DUMP SUBCOMMAND π₯
usage: ssite dump [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] (--fstree |
--nodes | --changes | --reference-documentation [destdir])
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future--fstreeβ dump information about the scanned directory trees--nodesβ dump information about the built site layout--changesβ dump information about pages that changed--reference-documentation [destdir]β regenerate reference documentation
π₯ DUMP_META SUBCOMMAND π₯
usage: ssite dump_meta [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft]
[-f FORMAT] [-p PAGES [PAGES ...]]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future-f FORMAT,--format FORMATβ format to use for output-p PAGES [PAGES ...],--pages PAGES [PAGES ...]β globs or regexps matching pages to show
π₯ BUILD SUBCOMMAND π₯
usage: ssite build [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [--type TYPE]
[--path PATH] [--fail-fast] [-f]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future--type TYPEβ render only pages of this type--path PATHβ render only pages under this path--fail-fastβ fail the first time a page gives an error in rendering-f,--fullβ always do a full rebuild
π₯ SERVE SUBCOMMAND π₯
usage: ssite serve [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [--port PORT]
[--host HOST]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future--port PORT,-p PORTβ port to use (default: 8000)--host HOSTβ host to bind to (default: localhost)
π₯ SHOW SUBCOMMAND π₯
usage: ssite show [-h] [-v] [--debug] [--theme THEME] [--draft]
[--no-start]
[--port PORT] [--host HOST]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future-a ARCHETYPE,--archetype ARCHETYPEβ page archetype-t TITLE,--title TITLEβ page title-n,--noeditβ do not run an editor, only output the file name of the new post--overwriteβ if a post already exists, overwrite it instead of reusing it
π₯ EDIT SUBCOMMAND π₯
usage: ssite edit [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [-n] [project]
[match ...]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)matchβ keywords used to look for the page to edit
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future-n,--noeditβ do not run an editor, only output the file name of the new post
π₯ SITE SUBCOMMAND π₯
usage: ssite site [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [--cmd ...]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future--cmd ...β site-specific command (try 'help')
π₯ META SUBCOMMAND π₯
usage: ssite meta [-h] [-v] [--debug] file
positional arguments
fileβ edit the metadata of this file
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output
π₯ SHELL SUBCOMMAND π₯
usage: ssite shell [-h] [-v] [--debug] [--theme THEME] [--content
CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft]
positional arguments
projectβ project directory or.pyconfiguration file (default: the current directory)
options
-h,--helpβ show this help message and exit-v,--verboseβ verbose output--debugβ debugging output--theme THEMEβ theme directory location. Overridessettings.THEME--content CONTENTβ content directory location. Overridessettings.CONTENT--archetypes ARCHETYPESβ archetypes directory location. Overridesettings.ARCHETYPES-o OUTPUT,--output OUTPUTβ output directory location. Overridesettings.OUTPUT--draftβ do not ignore pages with date in the future
and that's where part 1 wraps bestie β do NOT go anywhere, there is literally more of this page and it's coming πβ¨
β¨ positional arguments β¨
dirβ the directory you want to show, bestie πβοΈ (default: the current directory, aka wherever you're standing right now)
π options π
-h,--helpβ show this help message and exit. the classic. the icon. π-v,--verboseβ verbose output (it yaps more, affectionately)--debugβ debugging output π--theme THEMEβ theme directory location. Overridessettings.THEME, so yeah, this one wins, no cap--draftβ do not ignore pages with date in the future π°οΈβ¨--no-start,-nβ do not start a browser automatically, print the URL instead π--port PORT,-p PORTβ port to use (default: randomly allocated π²)--host HOSTβ host to bind to (default:localhost)
β¨ NEW SUBCOMMAND β¨
okay so the new subcommand gives you this usage line, and we are copying it exactly because that's the whole vibe π
usage: ssite new [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [-a ARCHETYPE]
[-t TITLE] [-n] [--overwrite]
that's every flag it takes, laid out in one gorgeous little block β -h, -v, --debug, --theme, --content, --archetypes, -o / OUTPUT, --draft, -a / ARCHETYPE, -t / TITLE, -n, and --overwrite π¦
and that's the page, bestie, we ate and left absolutely no crumbs π
the footer on this one says the source/version is ssite 2.4 and it's dated September 2023 β that's SSITE(1) for you, periodt π«ΆπΈ
π¦ where this page comes from
- debian trixie: staticsite 2.5-1 Β· GPL-3.0-or-later
- ubuntu noble: staticsite 2.4-1 Β· GPL-3.0-or-later
- ubuntu resolute: staticsite 2.5-1 Β· GPL-3.0-or-later
- ubuntu stonking: staticsite 2.5-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms