This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new 4a048d9 Update NCCli.scala
4a048d9 is described below
commit 4a048d9298b764cf5e034c244506d4a3ae64b937
Author: Aaron Radzinski <[email protected]>
AuthorDate: Fri Jan 8 19:36:49 2021 -0800
Update NCCli.scala
---
.../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
index d98ea8c..ffe900b 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
@@ -2199,7 +2199,7 @@ object NCCli extends App {
for {
child ← children
- (v1, v2) = if (child != children.last) ("├── ", "│ ")
else ("└── ", " ")
+ (v1, v2) = if (child != children.last) (s"${g("+")}-- ",
s"${r("|")} ") else (s"${g("+")}-- ", " ")
sub = get(child)
} {
buf += sub.head.insert(0, v1)
@@ -2227,7 +2227,7 @@ object NCCli extends App {
case _ ⇒ throw new IllegalArgumentException(s"Unsupported
combination of '${c(lang)}' and '${c(buildTool)}'.")
}
- logln(s"Project created: ${c(dst.getCanonicalPath)}")
+ logln(s"Project created in: ${c(dst.getCanonicalPath)}")
logln(folder2String(dst))
}
catch {