liuzhiguo
8805562e2d
更改包名
6 months ago
liuzhiguo
066e4f1194
更新包名
6 months ago
TP Honey
179042472c
Merge pull request #31 from tphoney/doc_param_expansions
...
(maint) document supported functions
3 years ago
TP Honey
0e3780c840
(maint) cleanup docs
3 years ago
Mikhail Katychev
f1799c34de
document supported functions
...
left,right -> start,end
max length
3 years ago
TP Honey
7bf45dbf53
Merge pull request #20 from car409/master
...
Fix nil panic in toSubstr
3 years ago
Brad Rydzewski
490366e43a
Merge pull request #27 from jsturtevant/escape-issue
...
Escapes outside of variable substitution
3 years ago
James Sturtevant
dee93fe400
Bump go module version to 2.0
3 years ago
James Sturtevant
4984f7a96c
Handle different escape characters
3 years ago
James Sturtevant
3b2c8d38b6
Run tests in framework to ease individual testing
3 years ago
Brad Rydzewski
58bc65f696
Merge pull request #24 from wfernandes/error-msgs
...
Define specific parsing errors
4 years ago
Warren Fernandes
52fb8b8b92
Define specific parsing errors
4 years ago
Brad Rydzewski
aa43e1c1a6
fix typo in funcs_test.go [ci skip]
4 years ago
Brad Rydzewski
efdb65b94e
Merge pull request #23 from wfernandes/support-default-variables
...
Parse default variables
4 years ago
Warren Fernandes
0be7a13216
Parse default variables
...
Parse variables that are defined in default functions. For example,
${var=prefix-${default_var}-suffix}.
4 years ago
Brad Rydzewski
8d47715ad7
Merge pull request #22 from wfernandes/fix-test
...
Fix default not used Eval test
4 years ago
Warren Fernandes
236799c553
Fix default not used Eval test
4 years ago
Brad Rydzewski
a79604a7a2
fix spelling [CI SKIP]
4 years ago
Charles Reich
f67247b544
Fix nil panic in toSubstr
...
pos < len(s) needs to be checked in ${FOO:pos:len} just like it is checked in ${FOO:pos}.
Unit test for ${FOO:pos:len} when pos > len(s) the string of ${FOO}
4 years ago
Brad Rydzewski
1a55fbfd45
Merge pull request #13 from c2h5oh/master
...
Handle negative offsets in substrings
4 years ago
Brad Rydzewski
da100df92e
Merge pull request #17 from foosinn/cli-command
...
add envsubst cli command
5 years ago
Brad Rydzewski
179810b49a
Merge pull request #15 from asbjornu/feature/markdown [ci skip]
...
Convert readme to Markdown
5 years ago
Stefan Schwarz
9b0c9ec111
add envsubst cli command
5 years ago
Asbjørn Ulsberg
ffc51647e6
Slight rewording of the introduction
5 years ago
Asbjørn Ulsberg
5192168a3f
Changed contents of readme to Markdown format
5 years ago
Asbjørn Ulsberg
d1346d7adc
Rename README to readme.md
5 years ago
Brad Rydzewski
5a78055244
Merge remote-tracking branch 'origin/master'
5 years ago
Brad Rydzewski
51d574837f
update yaml
5 years ago
Maciej Lisiewski
736061d560
Handle negative offsets in substrings
5 years ago
Brad Rydzewski
15e3f9b7e1
Merge pull request #12 from tboerger/fix-11
...
Fix substr function if length is too high
6 years ago
Thomas Boerger
b060643b2a
Fix substr function if length is too high
...
With this fix the substr function behaves more like the bash
functionality, if the string is only 5 chars long and you call `${var:0:8}` it resulted in an empty string, now it correctly returns the 5 chars. Besides that I have also added some basic tests to make sure it behaves correctly.
6 years ago
Brad Rydzewski
611f114088
added missing path file
6 years ago
Brad Rydzewski
27180b1b92
add go.sum
6 years ago
Brad Rydzewski
54bdb865ff
added go.mod file
6 years ago
Brad Rydzewski
61a82b2e65
add gomod
6 years ago
Brad Rydzewski
f4d1a8ef86
use testing.T.Log
7 years ago
Brad Rydzewski
5d496cfa6d
handle blank substitution string
7 years ago
Brad Rydzewski
86d87cde5c
remove piping test results to file [ci skip]
7 years ago
Brad Rydzewski
110c044ed2
Merge pull request #6 from 0ff/patch-1
...
Accept escaped strings in replacement
7 years ago
Brad Rydzewski
6de7f843dd
Enable test reporting
7 years ago
Brad Rydzewski
4e8a9e5986
Merge pull request #7 from jmccann/more_matching
...
Copy path.Match and modify to not handle '/' specially
7 years ago
Jacob McCann
6efe81f098
Copy path.Match and modify to not handle '/' specially
7 years ago
Fabian Off
f0096321b4
Accept escaped strings in replacement
7 years ago
Fabian Off
b0f18283c7
Add breaking test for escaped strings in replacement
7 years ago
Brad Rydzewski
523de92ea4
Merge pull request #5 from jmccann/matching
...
Add pattern matching to prefix/suffix shortest/longest
7 years ago
Jacob McCann
b72e20964c
Add pattern matching to prefix/suffix shortest/longest
7 years ago
Brad Rydzewski
bd6c6b89d3
added unit test for branch substitution with slashes
7 years ago
Brad Rydzewski
d0876d3176
added a few more test cases for escaping behavior
7 years ago
Brad Rydzewski
dc05b3dcfd
Merge pull request #4 from execjosh/escape-dollar-sign
...
Escape dollar sign
7 years ago
execjosh
736698ebda
Test evaluation of double dollar sign escaping
7 years ago