fuzzyworld

Last 218 commits

2026-10-2798e28fa✓ Rename .gitlab-ci.yml to .fw-ci.yml, and links to itPavel Safronov
2026-05-0187f56c4fix CI: update image to golang:1.26, move goreleaser to tools/releasePavel Safronov
2026-05-019d506c3fix CI: add cmd/template/main.go missing due to .gitignore patternPavel Safronov
2026-05-01cd48b06fix build breaksPavel Safronov
2026-05-0151fece6more improvementsPavel Safronov
2026-05-01ecad293improved test coveragePavel Safronov
2026-05-0137160b8improvements to the repo, 1-5Pavel Safronov
2026-04-300498955mod updatesPavel Safronov
2026-04-306e0dbceadding plan of near-future improvementsPavel Safronov
2026-01-314137df0Brew formula update for template version v0.2.6Pavel Safronov
2026-01-31ef54025update goreleaser config to v2, as per https://goreleaser.com/deprecations/Pavel Safronov
2026-01-31d0ee3e8use version 2 of goreleaserPavel Safronov
2026-01-307add499include indices in `template list`, and no longer init on installPavel Safronov
2026-01-1605c3043added init docsPavel Safronov
2026-01-16e579336adding template init this only write the global template config if it's not already therePavel Safronov
2026-01-164988983use go 1.25 in gitlabPavel Safronov
2026-01-1583f1238lint fixes and upgrades to latest linter and releaser, and all packages, and go itselfPavel Safronov
2026-01-150621dedminor doc updatePavel Safronov
2023-09-20a5a4200Brew formula update for template version v0.2.5Pavel Safronov
2023-09-200d2cf77Removing obsolete goreleaser yaml config.Pavel Safronov
2023-09-146962cd0Added `create` command, which creates a hard-coded profile from a file or directory. The generated profile can then be copy-pasted into the global or the user profile, for customization/parameterization and testing.Pavel Safronov
2023-08-298678718`make clean` now removes file `dev-setup`, which was used to denote that the dev setup process has completed.Pavel Safronov
2023-08-296028269Use latest version of go, 1.21Pavel Safronov
2023-08-29bd9c08bMinor README update.Pavel Safronov
2023-04-20d9af1e6Brew formula update for template version v0.2.3Pavel Safronov
2023-04-20c77cfe0Minor reorg of .gitignorePavel Safronov
2023-04-20de118dcAdded two requests to readme.Pavel Safronov
2023-04-2031de1f7Remove .idea files.Pavel Safronov
2023-04-115ef2926Brew formula update for template version v0.2.2Pavel Safronov
2023-04-11c140b8eAdded dolt profile to defaults.Pavel Safronov
2023-04-107491132Updated the readme with some AI-generated intro text.Pavel Safronov
2023-04-02fd0a444Consolidated template creation. Added --script parameter, allowing templating of a script method: template --script "echo {{.YYYY_MM_DD}}" Minor test change.Pavel Safronov
2023-04-028ede968Brew formula update for template version v0.2.1Pavel Safronov
2023-04-022105a1dAdding two new patterns: YYYY_MM_DD and YYYY_MM_DD_HH_MM_SS, which produce sortable kebab-case date/datetime strings. Minor test updates and a bit of a refactor. Update the readme to include go uninstall instructions.Pavel Safronov
2023-03-295e13293Minor readme update.Pavel Safronov
2023-03-29ae65debSlight makefile change.Pavel Safronov
2023-03-2967c2176Brew formula update for template version v0.2.0Pavel Safronov
2023-03-298fc7c45Added support for explicit file and folder templating. Updated tests and readme.Pavel Safronov
2023-02-18d3c36d2Add go installation instructions.Pavel Safronov
2023-02-188514c39Brew formula update for template version v0.1.42Pavel Safronov
2023-02-189e650a2Remove unnecessary docker stuff from gitlab-ci.Pavel Safronov
2023-02-18757eefeRun dev setup once.Pavel Safronov
2023-02-185c08eb8Minor readme update.Pavel Safronov
2023-02-185d5991fMerge branch 'choco' into 'main'Pavel S
2023-02-18e5da478Use go image, remove more PS stuff.Pavel Safronov
2023-02-1854338efRemove PS stuff.Pavel Safronov
2023-02-18ef0e43cRemoving all choco stuff.Pavel Safronov
2023-02-18fc856b2ExperimentingPavel Safronov
2023-02-187b1abeaPastaPavel Safronov
2023-02-188eeb737Splitting out the dev setup from the build phase.Pavel Safronov
2023-02-11f9aee93random changesPavel Safronov
2023-02-11310c8bdtestingPavel Safronov
2023-02-116e7ee13Cleaning before the build.Pavel Safronov
2023-02-11fbec29cMoving some one-time actions out of the daily path.Pavel Safronov
2023-02-11221c596Random choco additions to makefile.Pavel Safronov
2023-02-09ce07bf9Making some suggested updates and temporarily publishing from main.Pavel Safronov
2023-02-09e223e26Brew formula update for template version v0.1.37Pavel Safronov
2023-02-09e496232CI pasta time!Pavel Safronov
2023-02-094137a7bMoved windows-specific script into the release job.Pavel Safronov
2023-02-091c66e9fUpgrade chocolatey at the start of the release. Only release uses windows.Pavel Safronov
2023-02-09423c7cbBrew formula update for template version v0.1.34Pavel Safronov
2023-02-096b8b320Brew formula update for template version v0.1.33Pavel Safronov
2023-02-095cdbcf6Revert go.mod changes during release.Pavel Safronov
2023-02-08319e8bbTrying to get spacing to work, or something.Pavel Safronov
2023-02-08bd60e7fMake a non-change change.Pavel Safronov
2023-02-089f6e9b2Remove most stages.Pavel Safronov
2023-02-081f6b6c4Use make for release.Pavel Safronov
2023-02-08b731e23Removed unnecessary release code.Pavel Safronov
2023-02-08861e1f510 minute timeout for linter.Pavel Safronov
2023-02-0800bc772Slight cleanup and moving the key upgrade/install stuff to before_scriptPavel Safronov
2023-02-08d130b07Testing out possible fix.Pavel Safronov
2023-02-08cd93733More CI pasta.Pavel Safronov
2023-01-31b86d9a6Change tree params.Pavel Safronov
2023-01-318de2e1aLogging and stuff.Pavel Safronov
2023-01-31205b6c2More logging, removing "which".Pavel Safronov
2023-01-31e44bebcMore logging, moved make install further down the list.Pavel Safronov
2023-01-31fa60e24Adding logging statements.Pavel Safronov
2023-01-318eec03dCI pasta time. Cause a 10 minute dev loop is oodles of fun!Pavel Safronov
2023-01-312d40c78Refresh env?Pavel Safronov
2023-01-318e2576cAdd -y flag to choco upgrade command.Pavel Safronov
2023-01-31fef33aaTry upgrading golang.Pavel Safronov
2023-01-31f215242Trying to install latest go.Pavel Safronov
2023-01-31fdfb22aTrying to install make first.Pavel Safronov
2023-01-30abdfb73Testing windows ci.Pavel Safronov
2023-01-30f6b6f1cTrying to use windows runners.Pavel Safronov
2023-01-30d1afaafAttempting to add chocolatey support.Pavel Safronov
2023-01-31f4e7b18Brew formula update for template version v0.1.24Pavel Safronov
2023-01-306bc452cRenamed repo, rename everything. Added some comments into load config error.Pavel Safronov
2023-01-29c7bd231Docs update for current brew post-script issue.Pavel Safronov
2023-01-303fb6f72Brew formula update for template version v0.1.23Pavel Safronov
2023-01-29011f14dExperimenting with goreleaser post_install script.Pavel Safronov
2023-01-299b3d477Minor doc updates.Pavel Safronov
2023-01-30c65de1dBrew formula update for template version v0.1.22Pavel Safronov
2023-01-29f58f2e3Fixed issue where a weird character appeared after CLI output. Slight reformat of config loading code.Pavel Safronov
2023-01-295c6a534Slight doc update.Pavel Safronov
2023-01-2927c56f6"make" no longer installs by default, and a minor update.Pavel Safronov
2023-01-29fd93abcUpdating brew installation instructions.Pavel Safronov
2023-01-30ce9fe94Brew formula update for template version v0.1.21Pavel Safronov
2023-01-29fd5b119Trying to fix up ldflags in goreleaser config.Pavel Safronov
2023-01-303525a3bBrew formula update for template version v0.1.20Pavel Safronov
2023-01-292c12160Added ldflags to goreleaser config and install/uninstall instructions to readme.Pavel Safronov
2023-01-30a3439b6Brew formula update for template version v0.1.19Pavel Safronov
2023-01-29fbc7de0Removed brew dependencies section.Pavel Safronov
2023-01-292543ce0Adding package version.Pavel Safronov
2023-01-2977405b9Brew formula update for template version v0.1.18Pavel Safronov
2023-01-29e7f3391Attempting to add brew formula. (Testing on main is bad, kids. Only do it if there are no users of your hobby project.)Pavel Safronov
2023-01-092ef800fFix missing OSStat implementation.Pavel Safronov
2022-12-296543e94If profile.TargetDirectory does not exist, try to create it.Pavel Safronov
2022-12-1097bf176Added examples to readme.Pavel Safronov
2022-12-10ac140e8Minor readme update.Pavel Safronov
2022-12-10a8fc2c7Fixed up readme.Pavel Safronov
2022-12-10dc7227fFixed piping.Pavel Safronov
2022-12-1061ec185Merge branch 'direct-output' into 'main'Pavel S
2022-12-10bbd011dGot piping working, added example to the readme, and added piping test.Pavel Safronov
2022-12-09873846bStarting to implement direct profile type. This is a profile that will just output the templated text to the terminal.Pavel Safronov
2022-11-2049a90adMinor documentation changes.Pavel Safronov
2022-11-2083b0cc0Start using `.ProjectName | snakecase` in daily profile and document this usage, as well as sprig.Pavel Safronov
2022-11-20bbe6e16Merge branch 'ci-testing' into 'main'Pavel S
2022-11-20d98300cChange how the linter is installed, this simplifies things a lot. Also removed a bunch of crap documentation from gitlab ci script file.Pavel Safronov
2022-11-2021918c0Testing installing requirements using go.Pavel Safronov
2022-11-205c81baeAdded sprig (https://github.com/Masterminds/sprig/blob/master/docs/index.md) functions support for templated strings.Pavel Safronov
2022-11-194ed1650Do some actual cleanup in tests.Pavel Safronov
2022-11-18748e305Getting build passing irrespective of shell, getting tests working, not leaving behind lots of test files.Pavel Safronov
2022-11-189b0177bBuild now passes in Windows, hopefully this will work with CI as well.Pavel Safronov
2022-11-161993289Added info about makefile to Readme.Pavel Safronov
2022-11-16a2aa5f4Update readme/roadmap with GoReleaser docs.Pavel Safronov
2022-11-16b673c94Remove unnecessary script.Pavel Safronov
2022-11-16764109eBah.Pavel Safronov
2022-11-1642c8b54Test pasta.Pavel Safronov
2022-11-167efa1bcPasta never ends.Pavel Safronov
2022-11-16c439343Trying to use releaser from gitlab CI.Pavel Safronov
2022-11-15b3de39cStarting to add release capabilities.Pavel Safronov
2022-11-156c53be4Install linter during linting step.Pavel Safronov
2022-11-1565ce20fUse a newer version of go.Pavel Safronov
2022-11-155759787Maybe?Pavel Safronov
2022-11-155af7043Debug pasta.Pavel Safronov
2022-11-1514a9913CI pasta time!Pavel Safronov
2022-11-15b954384Pasta time!Pavel Safronov
2022-11-15447bec3Add prep stage of CI that pulls down the linter.Pavel Safronov
2022-11-15de8e51dRemoving some crap.Pavel Safronov
2022-11-152d11cb6Readme updates.Pavel Safronov
2022-11-15d6bf603Setting image for CI.Pavel Safronov
2022-11-1575a066bAdding linting to the project. This relies on `golangci-lint`, which has to be installed first.Pavel Safronov
2022-11-16afe2bedUpdate .gitlab-ci.yml filePavel S
2022-11-159573ca0Adding tests, getting code coverage to be reasonable for most files (main.go is at 0%), and might be there for a bit.Pavel Safronov
2022-11-125e424f1Added a flag to use default config settings instead of loading from disk. Did a bit of reorg as well, to simplify. Creating subfiles' subfolders now.Pavel Safronov
2022-11-0752e9ad7Removed pwsh dependency from both the Makefile and the default profiles.Pavel Safronov
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-11-02e86c26aA few changes: - improving the YAML representation of configs: fields reorganized, empty fields excluded - change some log.Debug back to fmt.Printf calls, whenever the logged info is important to the user - minor readme updates - testing of config equality is now done by converting objects to YAML and comparing that textPavel Safronov
2022-11-02886f7faStarting to add logging, made a lot of reporting messages into debug logs.Pavel Safronov
2022-11-01c92ba9a Added some more info to the readme.Pavel Safronov
2022-11-01ae89a42Lots of small-ish changes: - Added support for user template files. This setting is exposed through a new parameter that has a default value of "~/.template.user.yaml". This file is combined with the "global" config: same-name profiles in user config replace profiles in global config. That's the merge. - Added more config validation in more places. - Standardized the name of the error variable to `err` across the project - Added a `make all` target that builds, runs tests, then installs the project locally - Added more information when a profile doesn't work on the current system - Postscript output is now captured and logged - Removed the no longer used (and "overloaded") findProfile functionPavel Safronov
2022-11-017985cf2Added note about this being mainly a CLI app, and not a go module.Pavel Safronov
2022-10-30b1ded4bRewired main a bit, this improves organization.Pavel Safronov
2022-10-306437e54Merge branch 'testing' into 'main'Pavel S
2022-10-30a5ad914Added a failure test and added version info to README.Pavel Safronov
2022-10-30c3fc7a2Adding tests and monkey-patching various OS operations.Pavel Safronov
2022-10-2811e8e4bSlight change to daily profile postscript: focus on the last file in the directory.Pavel 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-268179bb1Doc updates.Pavel Safronov
2022-10-26b67e39cCorrected the uninstall command.Pavel Safronov
2022-10-26b2333ccUpdated readme with install and uninstall information and more examples.Pavel Safronov
2022-10-2695a5c62Added uninstall command to the makefile.Pavel Safronov
2022-10-264ded421Removing TemplatePath. File templates are now loaded only from the config. Also made some simplifications and refactored where we calculate the full config path. Added a `reset` command (`template reset`) that will reset the config file to be the default config that's in the code.Pavel Safronov
2022-10-25d1ab623Added bash commands for symlinks.Pavel Safronov
2022-10-232e6330eAdding MIT license.Pavel Safronov
2022-10-23dd78994Updated docs and removed all mentions of Dropbox. The default locations are now all directly under ~. Added support for passing arguments to make. Added disambiguation to one of the errors.Pavel Safronov
2022-10-21a99ff07Merge branch 'files-in-folder' into 'main'Pavel S
2022-10-215e7795dAdded support for creating files within a folder.Pavel Safronov
2022-10-211a02ef4Added ParametrizedText type.Pavel Safronov
2022-10-21b058643Starting work on creating files inside a templated folder. This commit gets all tests working as well.Pavel Safronov
2022-10-20ad5348dAdding therapy profile to default configs.Pavel Safronov
2022-10-124709ec6Added better logging to clean-install.ps1 Modifying the work profile to be cross-platform.Pavel Safronov
2022-10-1174f1d4fA few small changes: - moved default config to its own file - added extras error logic to handle cases when extras file doesn't exist - removed "--default-config" switch from VSCode launch tasks (doesn't seem to play well with others)Pavel Safronov
2022-10-061e03fc6Removed unnecessary readme documentation.Pavel Safronov
2022-10-063a11ba1Removing gitlab-ci.yml for nowPavel Safronov
2022-10-0676ccd5bAdding tags to various gitlab CI stages.Pavel Safronov
2022-10-064d832fbAdding real steps to gitlab-ciPavel Safronov
2022-10-06312f37cSlight rewording of the Readme.Pavel Safronov
2022-10-065246d1dMerge branch 'makefile-tests' into 'main'Pavel S
2022-10-0605f9e8eAdded more tests.Pavel Safronov
2022-10-06a464255Adding more tests.Pavel Safronov
2022-10-051f7f34dCreating the test dir during testing.Pavel Safronov
2022-10-052a22335Slight changes to get make working on a mac.Pavel Safronov
2022-10-05763c260Adding a makefile and more tests.Pavel Safronov
2022-10-053203595Merge branch 'extras' into 'main'Pavel S
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-10-04185f54eStarting development on extras project: provide a way to pass in more properties by way of a YAML file. This will allow further templating of content.Pavel Safronov
2022-10-042c2e124Adding script execution type and other changes: - added a git profile - added a test profilePavel Safronov
2022-09-3029b941bExpanded a bit about the overall concept behind this CLI in the readme.Pavel Safronov
2022-09-301540cf7A few small changes: - updated "note" profile to write to Dropbox, don't think there's too much benefit to having "note" create files anywhere, one location is more appropriate for "note" profile - fixed some linting issues - slight reorder of cleanup logicPavel Safronov
2022-09-26ab595bbAdded a feature thought.Pavel Safronov
2022-09-260ec42a7Mostly readme updates.Pavel Safronov
2022-09-253f44cffAdded a feature idea to the readme.Pavel Safronov
2022-09-250caca64Expanded the readme a bit.Pavel Safronov
2022-09-25946fecdReadme cleanup.Pavel Safronov
2022-09-25fe139e4Added support for file template strings, instead of needing to have a file template.Pavel Safronov
2022-09-24d1bc130Fixed issue with post script needing to be split up. Now everything works as expected. Changes: - added "slices" package to do basic array checks (contains in this case) - made all post scripts []string, instead of [][]string - lowercased errors, because that's apparently the style - added Description to each profile - Description gets displayed when "template list" is run - started forbidding profile names that clash with actionsPavel Safronov
2022-09-244a7759dChanged a few things: - added folder profile, which creates a versioned folder in current location - added "create-react-app" profile, that creates a versioned folder in current locaiton and installs "create-react-app" there - added ability to have multiple script executions - added "template list" method: it lists the known profiles - added "template get XYZ" method: it shows XYZ profile as YAMLPavel Safronov
2022-09-23b65fb5eAdded some more profile validations: - profiles must have names - profiles must have script shell if postscript is set - treating OS="" as "All"Pavel 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
2022-09-2355d96f9Added tests for findProfile, as well as: - profiles are no longer stored as a map, it's a list now, and we can have multiple profiles with the same name - started adding basic config validation - still trying to figure out how to do installation stuff, might need to start using Make or somethingPavel Safronov
2022-09-23da15cf4Adding tests and a few small changes: - added basic tests for func createNewName - Path is now optional for profiles, new objects are created in cwd - added profile "note" that creates a note in cwd - removed all instances of "name", using explicit projectName and profileName nowPavel Safronov
2022-09-233f79b1fFix typo.Pavel Safronov
2022-09-232bc4bd6Added support of labeling profiles with a particular OS.Pavel Safronov
2022-09-231bfa421Using pwsh for executing post script and some VSCode stuff.Pavel Safronov
2022-09-23bfbd125Merge branch 'patterns' into 'main'Pavel S
2022-09-22ea896f4Added support for unique indexes. This is done by defining a special function, and checking if this function gets called. Other changes: - slight reformat - slight cleanup - added helpful VSCode tasks, like installing the app and removing its configPavel Safronov
2022-09-22319b8b3Got basic patterns working: - made IsDefault into a boolean property on the profiles. - if "extra" args are specified, use them as such: first arg is profileName, second arg is ProjectName - added some tasks to VSCode, including a cleanup taskPavel Safronov
2022-09-21230da3bGetting closer to working patterns.Pavel Safronov
2022-09-21d026838Starting work on patterns and generating new file/folder names.Pavel Safronov
2022-09-214a7361bAdded config type to the app, using this for creating a config file or reading a created one.Pavel Safronov
2022-09-21f819f80Current work: - using https://github.com/urfave/cli for cli stuff - implemented basic profile functionality - `template` - shows `profile: default` - `template work` - shows `profile: work` - `template --profile work` - shows `profile: work` - `template -p work` - shows `profile: work` - added a basic readmePavel Safronov
2022-09-21e3bd471Configure SAST in `.gitlab-ci.yml`, creating this file if it does not already existPavel S
2022-09-21c1a8148Initial commitPavel S