Skip to main content

No project description provided

Project description

file-template

┌────────────────────────────────────────────────────┐ │░█▀▀░▀█▀░█░░░█▀▀░░░░░▀█▀░█▀▀░█▄█░█▀█░█░░░█▀█░▀█▀░█▀▀│ │░█▀▀░░█░░█░░░█▀▀░▄▄▄░░█░░█▀▀░█░█░█▀▀░█░░░█▀█░░█░░█▀▀│ │░▀░░░▀▀▀░▀▀▀░▀▀▀░░░░░░▀░░▀▀▀░▀░▀░▀░░░▀▀▀░▀░▀░░▀░░▀▀▀│ └────────────────────────────────────────────────────┘

Replaces keywords in a file with the contents of another file

Installation

pipx install file-template

CLI Usage

Usage: file-template [OPTIONS] KEYWORD FILE1 FILE2

  Replace KEYWORD in FILE1 with the contents of FILE2.

Options:
  -i, --inplace   Edit the file in place instead of outputting to stdout.
  -n, --no-strip  Do not strip FILE2 of leading or trailing blank characters.
  --help          Show this message and exit.

Author

License

AGPLv3+, see LICENSE.txt for more details.

URLs

Project details


Download files

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

Source Distribution

file-template-1.1.0.tar.gz (14.2 kB view hashes)

Uploaded Source

Built Distribution

file_template-1.1.0-py3-none-any.whl (14.6 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