James Hodgkinson
ec644c7bf9
refactor: print errors instead of panicking ( #40 )
...
* minor tweaks and error handling
* adding quotes around messages
* restoring test
* Adding a 'sad path' test
* Reverting a change and updating a message.
1 year ago
sgoudham
6f5e421ffb
ci: improve `build.yml`
1 year ago
sgoudham
1999f1b700
feat: we nix now
1 year ago
Hamothy
c8d96bc435
build(version): Update version to v1.1.0
2 years ago
AlianBenabdallah
8a3928f0e7
Make `replace_template` and content of `utils.rs` public ( #6 )
2 years ago
sgoudham
5da7959545
refactor: Remove 'Default' from #derive[] & Log out error in sad path test
3 years ago
sgoudham
b779499d18
refactor: Remove 'Clone' from #derive[]
3 years ago
Hamothy
7263761e32
Merge pull request #4 from sgoudham/TEM-2
3 years ago
sgoudham
8214982640
[TEM #2 ] - Fix formatting
3 years ago
sgoudham
6c0f46ed1d
[TEM #2 ] - Fix links in TOC
3 years ago
sgoudham
1cb7e0373c
[TEM #2 ] - Add Github Actions
3 years ago
sgoudham
197bbcba3b
[TEM #2 ] - Add default-value example book
3 years ago
sgoudham
1743f24bd5
[TEM #2 ] - Update .gitignore
3 years ago
sgoudham
7951c02445
[TEM #2 ] - Add sad path test
3 years ago
sgoudham
050bd07ed5
[TEM #2 ] - Update version to v1.0.0
3 years ago
sgoudham
843021a0ca
[TEM #2 ] - Update Args::from_capture() comments
3 years ago
sgoudham
a10fba9607
[TEM #2 ] - Update formatting in README.md
3 years ago
sgoudham
816a888e7d
[TEM #2 ] - Update README.md
3 years ago
sgoudham
06a05457fe
[TEM #2 ] - Update README.md
3 years ago
sgoudham
29037ac545
[TEM #2 ] - Update README.md
3 years ago
sgoudham
a482d458f4
[TEM #2 ] - Add FileReader trait for testing
3 years ago
sgoudham
d0dbd9b2d5
[TEM #2 ] - Update default value syntax to `[[# .. ]]`
3 years ago
sgoudham
0839dceac1
[TEM #2 ] - Add happy path component tests, Improve regex, Add comments,
3 years ago
sgoudham
a6fc4c216b
[TEM #2 ] - Change default arg syntax to `{{$ ... }}`
3 years ago
sgoudham
14189f92ba
[TEM #2 ] - Remove TemplateArgsIter
3 years ago
sgoudham
be57f6c11b
[TEM #2 ] - Allow default values in template files
3 years ago
Hamothy
e743926df6
Merge pull request #3 from sgoudham/TEM-1
3 years ago
sgoudham
53da878bf3
[TEM #1 ] - Remove dependency on aha-corasick
3 years ago
sgoudham
913d8edd7a
[TEM #1 ] - Stop using Ahacorasick and now replace arguments manually
3 years ago
sgoudham
9c32fabb50
[TEM #1 ] - Rename method 'substitute_args_in_template' -> 'replace_args'
3 years ago
sgoudham
d405808a9b
[TEM #1 ] - Add TemplateArgsIter
3 years ago
sgoudham
00879a22d1
[TEM #1 ] - Refactor method 'replace' -> 'replace_template'
3 years ago
sgoudham
7088cc2c6e
[TEM #1 ] - Add ARGS regex and use HashMap<String, &str> instead of (Vec<String>, Vec<String>)
3 years ago
sgoudham
127f38b2e8
Update .gitignore
3 years ago
sgoudham
9ebf21a3b2
[v0.1.0] - Update description
3 years ago
sgoudham
f7ad95a44c
[v0.1.0] - Update metadata
3 years ago
sgoudham
3ab3c5ad59
[v0.1.0] - Exclude /examples dir for packaging
3 years ago
sgoudham
22f6981112
[v0.1.0] - Reformat
3 years ago
sgoudham
fd56fdf552
[v0.1.0] - Add Table of Contents
3 years ago
sgoudham
417a69affa
[v0.1.0] - Add Table of Contents
3 years ago
sgoudham
080defaadf
[v0.1.0] - Update README.md
3 years ago
sgoudham
48ebfca38b
[v0.1.0] - Update .gitignore
3 years ago
sgoudham
7fec0c9732
[v0.1.0] - Add readme-example
3 years ago
sgoudham
0783ed7aa0
[v0.1.0] - Update README.md
3 years ago
sgoudham
75e7609610
[v0.1.0] - Improve regex to capture newlines & add tests
3 years ago
sgoudham
cde3f454dc
[v0.1.0] - Add some tests
3 years ago
sgoudham
0a7e6fd504
[v0.1.0] - Separate all links logic into links.rs
3 years ago
sgoudham
b977874cab
[v0.1.0] - Add deploy.yml script
3 years ago
sgoudham
a159469f6d
[v0.1.0] - Add build.yml script
3 years ago
sgoudham
3484ad46cf
[v0.1.0] - Update permissions for linux systems
3 years ago