[
https://issues.apache.org/jira/browse/NLPCRAFT-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248511#comment-17248511
]
Aaron Radzinski edited comment on NLPCRAFT-170 at 12/13/20, 5:59 AM:
---------------------------------------------------------------------
--1. Drop restarts commands.--
--2. Add rest info schema - http.--
3. Check probe log `shutdown ok' - and don't wait for the timeout.
--4. Additional `signin` command (text response)--
--5. Example for usage own model class with classpath--
--6. Decrease probe timeout - 1 min---
*As far as p. 4:*
We don't need any special 'signin' command. I've added 'no-logo' command that
disables logo printing at the start. For example, you can the following
Unix/Linux script to get the access token from '/signin' REST call and assign
it to a variable in script, etc.:
bin/nlpcraft.sh no-logo no-ansi rest -p=signin -j='\{"email":
"[email protected]", "passwd": "admin"}' | tail -n +2 | jq -M '.acsTok' | tr -d
'"'
NOTE:
* Install 'jq' if you don't have it already
was (Author: aradzinski):
--1. Drop restarts commands.--
--2. Add rest info schema - http.--
3. Check probe log `shutdown ok' - and don't wait for the timeout.
--4. Additional `signin` command (text response)--
--5. Example for usage own model class with classpath--
--6. Decrease probe timeout - 1 min---
*As far as p. 4:*
We don't need any special 'signin' command. I've added 'no-logo' command that
disables logo printing at the start. For example, you can the following
Unix/Linux script to get the access token from '/signin' REST call and assign
it to a variable in script, etc.:
bin/nlpcraft.sh no-logo no-ansi rest -p=signin -j='{"email":
"[email protected]", "passwd": "admin"}' | tail -n +2 | jq -M '.acsTok' | tr -d
'"'
NOTE:
* Install 'jq' if you don't have it already
> new CLI commands
> -----------------
>
> Key: NLPCRAFT-170
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-170
> Project: NLPCraft
> Issue Type: Improvement
> Components: nlpcraft CLI
> Reporter: Sergey Kamov
> Assignee: Aaron Radzinski
> Priority: Major
> Fix For: 0.7.3
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)