Skip to content

Commit 73d568d

Browse files
BrianHenryIEswissspidydanielbachhuber
authored
Refactor into get_file_paths_and_names() function (#81)
* Refactor into `get_file_paths_and_names()` function * Add default `filename-format` in PhpDoc * Update doc (whitespace, order, optional, type) * Use ternary for `$destination_dir_path` * Use ternary for `$archive_file_name` * Use word "template" not "parameter" in comment * Fix return array type * Add missing closing `---` * Regenerate README --------- Co-authored-by: Pascal Birchler <[email protected]> Co-authored-by: Daniel Bachhuber <[email protected]>
1 parent 926c9eb commit 73d568d

File tree

2 files changed

+176
-147
lines changed

2 files changed

+176
-147
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ script in each project.
5757
---
5858

5959
[--filename-format=<filename-format>]
60-
Use a custom format for archive filename. Defaults to '{name}.{version}'.
61-
This is ignored if a custom filename is provided or version does not exist.
60+
Use a custom format for archive filename. Available substitutions: {name}, {version}.
61+
This is ignored if the <target> parameter is provided or the version cannot be determined.
62+
---
63+
default: "{name}.{version}"
64+
---
6265

6366
## Installing
6467

0 commit comments

Comments
 (0)