Skip to main content

make index.html

Project description

Install

  • pip install dirindex
  • dirindex --help
  • or ... docker run ghcr.io/wtnb75/dirindex --help

Usage

# dirindex --help
Usage: dirindex [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  make
  read-resource

make directory index

# dirindex make --help
Usage: dirindex make [OPTIONS] DIRECTORY

Options:
  --verbose / --no-verbose
  --template TEXT
  --dry / --no-dry              [default: False]
  --recursive / --no-recursive  [default: False]
  --single / --no-single        [default: False]
  --pattern TEXT                [default: *]
  --hide TEXT
  --filename TEXT               [default: index.html]
  --help                        Show this message and exit.

create Apache style directory index

  • dirindex make --template apache /path/to/directory
  • open /path/to/directory/index.html
  • built-in styles
  • template
    • Jinja2
    • arguments... dirindex make --dry --template /dev/null /path/to/directory --filename - --verbose

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dirindex-0.4-py3-none-any.whl (11.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page