Pack¶
pkglite.pack
¶
pack(input_dirs, output_file=Path('pkglite.txt'), quiet=False)
¶
Pack files from one or multiple directories into a text file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input_dirs
|
str | Path | list[str | Path]
|
Path or sequence of paths to the directories to pack. |
required |
output_file
|
str | Path
|
Path to the output file. Default is 'pkglite.txt'. |
Path('pkglite.txt')
|
quiet
|
bool
|
If True, suppress output messages. |
False
|