Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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
- Alexandre Janvrin, penetration tester at Beijaflore (https://www.beijaflore.com/en/)
License
AGPLv3+, see LICENSE.txt for more details.
URLs
Release files for file-template 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| file-template-1.1.0.tar.gz | 14.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| file_template-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / file-template-1.1.0.tar.gz
| Download URL | file-template-1.1.0.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1e915e5b5f9a9abacb50910e3846155f6cf7b9a3ef37c2dac8d84fb685ffb85
|
|
BLAKE2b-256 checksum How to use checksums |
56ab4ef99bc3251980e49af28d335998f5b6ee5b66a82e3587d6681ddb8383a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.2 Linux/5.10.0-kali6-amd64
|
Release files / file_template-1.1.0-py3-none-any.whl
| Download URL | file_template-1.1.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aca54ab3c516cf45aaa648b552bbaf23644c0914262951ef33254bb7ff3b7544
|
|
BLAKE2b-256 checksum How to use checksums |
dcbdfaac32604378908e4068a1314637f2e178e117801fb8f3a875adf31894ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.2 Linux/5.10.0-kali6-amd64
|