Releases: metanorma/metanorma-cli
v1.2.7
v1.2.6
v1.2.5
v1.2.4
- Major versions of metanorma gems
- Separate out private supported gems: #104
There are couple of private gems includes in our supported gem list
and this also make it bit harder to identify those private gems, so
this commit separate out those gems and silently ignores the loading
issue for those private gems.
In the future, we might also consider having those as configuration
so user can specify those private gems & require those as necessary
- Disable git http authentication: #107
Running the test suite prompt the git http authentication dialog
and it hangs there until we actually provide some input. But in
reality we are only using public repo for the test suite, so lets
disable the http authentication for now.
So, from now on our test suite won't prompt http authentication
dialog anymore, even if the user doesn't have anything configured
This commit also adds a metanorma specific errors when user didn't
provide a valid file, so now we can be very specific in our rescue
block and only handle metanorma raised issues.
v1.2.3
- Do not exclude dofiles during packaging: #91
Currently, our gemspec is excluding all dotfiles, so whenever we
try to use the bundled version then it doesn't generate those file.
This commit explicitly include those dotfiles so it should work as
expected.
There are some inconsistency in the version
interface, one of
command shows version for default backend, but other doesn't.
This commit changes this, so if the user doesn't provide any
type, it will display versions for all supported dependencies.
But user can also retrieve a specific version by adding it to
the type option.
v1.2.2
There was some major migration in the CLI lately, but we kept
some of the existing codes as there was an way to switch back
to that one using an environment variable.
But since the new version has been published for a while now
and it is stable, so this commit removes those existing code
form the library.
This also removes the bundler/setup
from the executable
v1.2.1
- Add interface to store template repository: #66
Currently, we are allowing user to use their template repo to
generate a new document, but they need to provide the repo details
every time they want to create a new document using a template.
Which is quite repetitive for some user, so this commit tries
to simplify that process, and now they can store those template
repository and later they will only need to provide the name and
metanorma will automatically find the other details.
This commit only added the configuration setup for now, up next
we are actually gonna use this configuration during generation.
metanorma template-repo add my-iso https://github.com/you/my-iso-template
v1.2.0
v1.1.8
Include dot files in the base templates:
Currently, we do not include dot files in the base templates, but
we actually do want to include those in document we generate, so
this commit add those common files in this repo and this also do
some modification do support this dot files.
Fixes #51
Fix travis file & check for all base templates …
- Remove unnecessary step from the .travis.yml file
- Clean up the spec to validate the base templates
Gracefully fail for invalid commands
Since, we have invoked our custom command as root command, so
every single command is going through our main compile command
and this shouting out loud in the console.
This commit changes this behavior, so if user pass an invalid
command or that's not a document name then it will show the
error and suggest them to use the metanorma help
instead.
Fixes #52
Move templates directory out of gem directory to ~/.metanorma/templates
Add support local templates
Fix the broken test, and clean up stuffs
- Clean up some of code in the document generator
- Simplify permission checking for template directory
- Remove re-redundant test to check if templates are empty
Related: #57
Update base template for new document
This commit updates the base templates as described in issue - #60