Skip to content

Commit a5a3a60

Browse files
committed
LPD-73748 lec.sh: adds flag to help text
1 parent c45e700 commit a5a3a60

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

scripts/cli/lec.sh

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,21 @@ _printHelpAndExit() {
109109
lec <command>
110110
111111
${C_BOLD}COMMANDS:${C_RESET}
112-
init [<ticket>] [<version>] Create a new Composer project
113-
start Start a Composer project
114-
stop Stop a Composer project
115-
clean Stop a Composer project and remove Docker volumes
116-
exportData Export container data for a Composer project
117-
remove Completely tear down and remove one or more Composer projects
118-
share [--export] Save a Composer workspace for sharing. The "--export" flag exports the container data before saving the workspace.
119-
update [--unstable] Check for updates to Composer and lec. The "--unstable" flag updates to latest master branch.
120-
version Prints the current version of lec
121-
122-
importDLStructure <sourceDir> Import a Document Library (file structure only, no content) into configs/common/data/document_library
112+
init [<ticket>] [<version>] Create a new Composer project
113+
start Start a Composer project
114+
stop Stop a Composer project
115+
clean Stop a Composer project and remove Docker volumes
116+
exportData Export container data for a Composer project
117+
remove Completely tear down and remove one or more Composer projects
118+
share [--export] Save a Composer workspace for sharing. The "--export" flag exports the container data before saving the workspace.
119+
update [--unstable] Check for updates to Composer and lec. The "--unstable" flag updates to latest master branch.
120+
version Prints the current version of lec
121+
122+
importDLStructure <sourceDir> Import a Document Library (file structure only, no content) into configs/common/data/document_library
123+
124+
${C_BOLD}FLAGS:${C_RESET}
125+
-p, --project PROJECT_IDENTIFIER Pass in a project directory or name to commands that operate on a project. If not provided, the current working
126+
is used. Supported commands are: clean, exportData, importDLStructure, share, start, and stop.
123127
124128
${C_BOLD}JUMP TO A PROJECT:${C_RESET}
125129
lecd [project name]

0 commit comments

Comments
 (0)