SSITE(1)

πŸ“¦
version 2.5 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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 .py configuration 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. Overrides settings.THEME
  • --content CONTENT β€” content directory location. Overrides settings.CONTENT
  • --archetypes ARCHETYPES β€” archetypes directory location. Override settings.ARCHETYPES
  • -o OUTPUT, --output OUTPUT β€” output directory location. Override settings.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. Overrides settings.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