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/01/06 22:00:27 UTC

[incubator-nlpcraft] branch master updated: Fix for NLPCRAFT-214.

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 647c82a  Fix for NLPCRAFT-214.
647c82a is described below

commit 647c82ae8920ed18fe62515ca886e4099f65e623
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Wed Jan 6 14:00:16 2021 -0800

    Fix for NLPCRAFT-214.
---
 .../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala   | 5 +++++
 1 file changed, 5 insertions(+)

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 1fc828f..d1dc34f 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
@@ -1729,6 +1729,11 @@ object NCCli extends App {
      * @param repl Whether or not executing from REPL.
      */
     private [cmdline] def cmdSqlGen(cmd: Command, args: Seq[Argument], repl: Boolean): Unit = {
+        getParam(cmd, args, "driver")
+        getParam(cmd, args, "schema")
+        getParam(cmd, args, "out")
+        getParam(cmd, args, "url")
+
         val nativeArgs = args.flatMap { arg ⇒
             val param = arg.parameter.names.head