You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/05/01 15:41:58 UTC

[incubator-nlpcraft] branch NLPCRAFT-312 updated: Update NCCli.scala

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-312
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-312 by this push:
     new 0030b7b  Update NCCli.scala
0030b7b is described below

commit 0030b7b571002ed08915ef0e921087c9005b7cfd
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Sat May 1 08:41:47 2021 -0700

    Update NCCli.scala
---
 .../scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala     | 8 ++++++--
 1 file changed, 6 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 6b7975a..ddf675e 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
@@ -434,7 +434,9 @@ object NCCli extends NCCliBase {
                 new File(SystemUtils.getUserHome, s".nlpcraft/.pid_${srvPid}_tstamp_$logTstamp").createNewFile()
             }
 
-            logln(s"Server output: ${c(output.getAbsolutePath)}")
+            logln(s"Server:")
+            logln(s"  ${y("|--")} log: ${c(output.getAbsolutePath)}")
+            logln(s"  ${y("+--")} cmd: \n      ${c(srvArgs.mkString("\n        "))}")
 
             /**
              *
@@ -708,7 +710,9 @@ object NCCli extends NCCliBase {
                 new File(SystemUtils.getUserHome, s".nlpcraft/.pid_${prbPid}_tstamp_$logTstamp").createNewFile()
             }
 
-            logln(s"Probe output: ${c(output.getAbsolutePath)}")
+            logln(s"Probe:")
+            logln(s"  ${y("|--")} log: ${c(output.getAbsolutePath)}")
+            logln(s"  ${y("+--")} cmd: \n      ${c(prbArgs.mkString("\n        "))}")
 
             /**
              *