Add version command
- Add new styling system which works around concept that you use tags to request jline styles where tags comes from an activated theme. - There is a default theme with options to add custom ones and change it via property. - Add templating system which uses antlr stringtemplate which allows to write output with a template instead of manually crafting code. - Add version command which integrates to Boot's BuildProperties and GitProperties. Only version field is visible on default and others can be enabled/disable via properties. - Fixes #352 - Fixes #353
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
"includes": [
|
||||
{
|
||||
"pattern": "completion/.*"
|
||||
},
|
||||
{
|
||||
"pattern": "template/.*.st"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<if(buildVersion)>
|
||||
<("Build Version"); format="list-key">: <buildVersion; format="list-value">
|
||||
<endif>
|
||||
<if(buildGroup)>
|
||||
<("Build Group"); format="list-key">: <buildGroup; format="list-value">
|
||||
<endif>
|
||||
<if(buildArtifact)>
|
||||
<("Build Artifact"); format="list-key">: <buildArtifact; format="list-value">
|
||||
<endif>
|
||||
<if(buildName)>
|
||||
<("Build Name"); format="list-key">: <buildName; format="list-value">
|
||||
<endif>
|
||||
<if(buildTime)>
|
||||
<("Build Time"); format="list-key">: <buildTime; format="list-value">
|
||||
<endif>
|
||||
<if(gitShortCommitId)>
|
||||
<("Git Short Commit Id"); format="list-key">: <gitShortCommitId; format="list-value">
|
||||
<endif>
|
||||
<if(gitCommitId)>
|
||||
<("Git Commit Id"); format="list-key">: <gitCommitId; format="list-value">
|
||||
<endif>
|
||||
<if(gitBranch)>
|
||||
<("Git Branch"); format="list-key">: <gitBranch; format="list-value">
|
||||
<endif>
|
||||
<if(gitCommitTime)>
|
||||
<("Git Commit Time"); format="list-key">: <gitCommitTime; format="list-value">
|
||||
<endif>
|
||||
Reference in New Issue
Block a user