fuzzyworld

template / windows / files / name_pattern.go

Branch windows · default branch · all branches

name_pattern.go

Commits that changed this file, newest first · file

2022-11-0610676daA few minor changes: - added a way to have a disabled profile - added a few more tests - made the new name method more generic by supplying a validator functionPavel Safronov
2022-11-038c15a71Refactored a bit: - made list/get/reset into actual commands - reworked how command settings are parsed, so this can happen (mostly) in the same spot - added a few notes to the readme - test updates - added a new profile "therapy-open" that opens the therapy folderPavel Safronov
2022-10-28687d562Lots of internal changes: - simplified the pattern data to be of two types: pre-generation, post-generation, and this simplified a lot of things - simplifications and testing - added a way to run the postscripts even if the generation failed (for the 'daily' profile, this just opens VSCode in the destination folder)Pavel Safronov
2022-10-215e7795dAdded support for creating files within a folder.Pavel Safronov
2022-10-211a02ef4Added ParametrizedText type.Pavel Safronov
2022-10-0605f9e8eAdded more tests.Pavel Safronov
2022-10-0555c36f6Got extras working: - added support for "extra" template data being available from YAML - added tests for extras - added a flag to use the default config (this is a test-only setting) - added VSCode launch task to debug testsPavel Safronov
2022-09-230e962bbSome simplification and minor fixes: - removed some unnecessary functions - added tests for version presence - added logging for postscript execution - added postscript fixes for handling spaces in project namePavel Safronov
2022-09-2371bdf57Adding file templates support: - file profiles can specify a file template - template is templated with name, time, and project name - added install script that copies the templates to user directory - removed extraneous tasks and launch configs, no just using a single launch config to reinstall everything - added a good starting template for blog postsPavel Safronov
2022-09-23c62570eMinor reorganization: - put all name pattern stuff in one file - put all profile stuff in one file - split up the tests similarlyPavel Safronov