Changes
- templates:
choco_bintray/install
to show a snippet to install the app from bintray using chocolateylinux/bintray_repo
to show a snippet to install the app from bintrayapt/dnf
repository.
Contributors
- mh-cbon
Released by mh-cbon, Tue 29 Aug 2017 - see the diff
Changes
- toc: fix link generator to remove colon
- close #26: avoid fatal error when a path is not recognized
- appveyor: close #28: fix badge urls
Contributors
- mh-cbon
- solvingJ
Released by mh-cbon, Thu 24 Aug 2017 - see the diff
Changes
-
cli:
- ensure data passed on the command line overwrites everthing else, fix #19.
-
dep:
- fixed glide lock, needed an update.
-
dev:
- Add provider tests
Contributors
- mh-cbon
Released by mh-cbon, Wed 10 May 2017 - see the diff
Changes
-
CLI:
- Fix an issue in argument handling.
-
Path detection: #17
- The mechanism to detect and extract information from the path, is improved to work with anything that matches src/[provider]/[user]/[repo]/[path...]
-
Temaplate func helpers:
- pkg_doc: won t panic anymore if the default
main.go
file is not yet created.
- pkg_doc: won t panic anymore if the default
-
Temaplates: #16
- Fix templates output to avoid double
/
.
- Fix templates output to avoid double
-
dev:
- Largely improved tests.
Contributors
- mh-cbon
- suntong
Released by mh-cbon, Sun 07 May 2017 - see the diff
Changes
-
CLI:
- new
init
command: Writes a basicREADME.e.md
frile to get started gen
: removed useless confirmation message on successful operation.stdin
: emd can now receives the input template from STDIN.- verbosity: Added support for verbosity with env variable
VERBOSE=y
.
- new
-
Predefined data:
- New api is introduced to better detect predefined data.
- ProjectPath is better handled when its a symlink outside of
GOPATH
(#15 thanks suntong)
-
Prelude data:
- It is now possible to override predefined data within the prelude. This should allow the end user to recover from a buggy implementation in the pre defined variables declaration.
-
TOC:
- #16 Improve link generator to handle
[]|',
- Multiple fixes to properly render the TOC level of each header.
- #16 Improve link generator to handle
-
Template: added multiple new functions to help to work with templates
- set(name string, x interface{}): Save given value
x
asname
on dot.
. - link(url string, text ...string) string: Prints markdown link.
- img(url string, alt ...string) string: Prints markdown image.
- concat(x ...string) string: Concat given arguments.
- pathjoin(x ...string) string: Join given arguments with
/
.
- set(name string, x interface{}): Save given value
-
dev:
- added small test suites into
test.sh
- added small test suites into
Contributors
- mh-cbon
- suntong
Released by mh-cbon, Sat 06 May 2017 - see the diff
Changes
- CLI:
- new
init
command: Writes a basicREADME.e.md
frile to get started gen
: removed useless confirmation message on successful operation.
- new
- Predefined data:
- New api is introduced to better detect predefined data.
- Prelude data:
- It is now possible to override predefined data within the prelude. This should allow the end user to recover from a buggy implementation in the pre defined variables declaration.
- TOC:
- #16 Improve link generator to handle
[]|',
- Multiple fixes to properly render the TOC level of each header.
- #16 Improve link generator to handle
- Template: added multiple new functions to help to work with templates
- set(name string, x interface{}): Save given value
x
asname
on dot.
. - link(url string, text ...string) string: Prints markdown link.
- img(url string, alt ...string) string: Prints markdown image.
- concat(x ...string) string: Concat given arguments.
- pathjoin(x ...string) string: Join given arguments with
/
.
- set(name string, x interface{}): Save given value
Contributors
- mh-cbon
Released by mh-cbon, Mon 24 Apr 2017 - see the diff
Changes
- feature #10: Emd file can define a prelude block of
yaml
data to inject into the template processing. - cli fix: Before the -in argument was mandatory. It was not possible to use the default template.
- feature installer: Fixed apt/rpm repositories.
- feature #8: ensure an errored command line execution displays correctly.
- feature: added new template functions
- yaml(file string, keypaths ...string): parses and build new yaml content of given file.
- preline(pre , content string): prepends pre for every lines of content.
- echo(s ...string): echo every string s.
- read(file string): returns file content.
- cat(file string): to display the file content.
- exec(bin string, args ...string): to exec a program.
- shell(s string): to exec a command line on the underlying shell (it is not cross compatible).
- color(color string, content string): to embed content in a block code with color.
- gotest(rpkg string, run string, args ...string): exec
go test <rpkg> -v -run <run> <args...>
. - toc(maximportance string, title string): display a TOC.
- feature: added new badge templates
- license/shields: show a license badge
- badge/codeship: show a codeship badge
- deprecation #7: some template functions were deprecated to avoid pre defined formatting,
old behavior can be reset via new options defined into the prelude data. See also the new color function.
- file is dprecated for cat
- cli is dprecated for exec
- badges fix #14: removed useless whitespace
- dev: Added support for glide, it was required to handle yaml.
- dev: updated tests
- dev: godoc documentation improvements.
Contributors
- suntong
- mh-cbon
Released by mh-cbon, Sat 22 Apr 2017 - see the diff
Changes
- fix default reading of the md file
Contributors
- mh-cbon
Released by mh-cbon, Tue 18 Apr 2017 - see the diff
Changes
- fix #15: properly handle symbolic links
- fix cli: it was not possible to use the default template
Contributors
- mh-cbon
Released by mh-cbon, Tue 18 Apr 2017 - see the diff
Changes
- fix wrong import path
Contributors
- mh-cbon
Released by mh-cbon, Mon 17 Apr 2017 - see the diff
Changes
- ci: fix scripts to add glide support
Contributors
- mh-cbon
Released by mh-cbon, Mon 17 Apr 2017 - see the diff
Changes
- new functions:
- yaml(file string, keypaths ...string): parses and build new yaml content of given file.
- preline(pre , content string): prepends pre for every lines of content.
- echo(s ...string): echo every string s.
- read(file string): returns file content.
- toc: multiple fixes,
- it properly handles duplicated title by appending an increment
- fix handling of !; in links generator
- fix line counting when extracting markdown titles
- fix md title selection starting at line N
- prelude:
- fix read of quoted values
- prelude data is now read on all templates added, not only file
- fix last eol handling
- codeship fix #2: proper project url
- bump script: added new utils/ tests
- glide: init versionned dependencies to handle yaml files.
- godoc: refactoring to improve documentation
Contributors
- mh-cbon
Released by mh-cbon, Mon 17 Apr 2017 - see the diff
Changes
- toc: improve toc parser, refactored, added tests
Contributors
- mh-cbon
Released by mh-cbon, Fri 14 Apr 2017 - see the diff
Changes
- fix #13: add new template to show a license badge.
- prelude: trim leading whitespaces of unquoted values.
- fix #14: improved badge output, removed useless whitespace.
- fix #2: codeship badge template, added a CsProjectID parameter.
- exec/shell/cat/gotest: avoid pre defined formatting, old behavior can be reset via new options defined into the prelude data.
- toc: fixed some corner cases while parsing/generating the TOC.
Contributors
- mh-cbon
Released by mh-cbon, Fri 14 Apr 2017 - see the diff
Changes
- fix some bugs in TOC title evaluation and generation
- fix apt repository!
Contributors
- mh-cbon
Released by mh-cbon, Thu 13 Apr 2017 - see the diff
Changes
- deprecation: improve error messages
Contributors
- mh-cbon
Released by mh-cbon, Wed 12 Apr 2017 - see the diff
Changes
-
close #10: added feature to read, decode and registers the prelude data
It is now possible to define a prelude block of
yaml
data in your README file to register new data. -
added cat/exec/shell/color/gotest/toc func
- cat(file string): to display the file content.
- exec(bin string, args ...string): to exec a program.
- shell(s string): to exec a command line on the underlying shell (it is not cross compatible).
- color(color string, content string): to embed content in a block code with color.
- gotest(rpkg string, run string, args ...string): exec
go test <rpkg> -v -run <run> <args...>
. - toc(maximportance string, title string): display a TOC.
-
close #7: deprecated file/cli func
Those two functions are deprecated in flavor of their new equivalents, cat/exec.
The new functions does not returns a triple backquuotes block code. They returns the response body only. A new function helper color is a added to create a block code.
-
close #8: improved cli error output
Before the output error was not displaying the command line entirely when it was too long. Now the error is updated to always display the command line with full length.
-
close #9: add new gotest helper func
-
close #12: add toc func
-
close #10: ensure unquoted strings are read properly
-
close #11: add shell func helper.
Contributors
- mh-cbon
Released by mh-cbon, Wed 12 Apr 2017 - see the diff
Changes
- fix goreport badge template
Contributors
- mh-cbon
Released by mh-cbon, Sun 12 Mar 2017 - see the diff
Changes
- improve template documentation
- goreport: add template (fixes #4)
Contributors
- mh-cbon
Released by mh-cbon, Sun 12 Mar 2017 - see the diff
Changes
- template functions (std): add a new render template function to define additional values (fixes #2)
- template function (std): file takes a new argument to define the colorizer (fixes #1)
- emd: add new methods to access template, out and data
- release: fix missing version to the emd build
- README: multiple improvements.
Contributors
- mh-cbon
Released by mh-cbon, Mon 06 Mar 2017 - see the diff
Changes
- badges: add codeship
- Funcs cli/file: changed the MD template to add support for html anchors (before they was using bold tag, now they use a title tag)
- command gen: prints success message only if out is not stdout
- README: added a section to show HTML generation, and a recipe to bump the package.
- release: change bump script format
Contributors
- mh-cbon
Released by mh-cbon, Mon 06 Mar 2017 - see the diff
Changes
- changelog: typos
- README: add template helpers documentation
Contributors
- mh-cbon
Released by mh-cbon, Wed 22 Feb 2017 - see the diff
Changes
- travis(token): update ghtoken
Contributors
- mh-cbon
Released by mh-cbon, Wed 22 Feb 2017 - see the diff
Changes
- README: fix appveyor badge
- badge(update): fix url
- README: fix appveyor badge
- badge(fix): fix appveyor badge
- README: add appveyor badge
- badge(update): update text displayed in ci badges
- README(fix): use correct bin path
- bump(fix): emd gen command was wrong
Contributors
- mh-cbon
Released by mh-cbon, Wed 22 Feb 2017 - see the diff
Changes
- project initialization
Contributors
- mh-cbon
Released by mh-cbon, Wed 22 Feb 2017 - see the diff