We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a22b9 commit 492f529Copy full SHA for 492f529
scripts/cli/lec.sh
@@ -88,6 +88,7 @@ _printHelpAndExit() {
88
clean Stop a Composer project and remove Docker volumes
89
remove Completely tear down and remove a Composer project
90
update [--unstable] Check for updates to Composer and lec. The "--unstable" flag updates to latest master branch.
91
+ version Prints the current version of lec
92
93
importDLStructure <sourceDir> Import a Document Library (file structure only, no content) into configs/common/data/document_library
94
@@ -611,6 +612,9 @@ cmd_update() {
611
612
613
_print_success "Updated to newer version ${C_BLUE}${latest_tag}${C_NC}"
614
}
615
+cmd_version() {
616
+ _git describe --tags --abbrev=0 2>/dev/null
617
+}
618
619
#
620
# GO
0 commit comments