Home Forums Kamanja Forums Features & Releases New Command Line Kamanja

This topic contains 0 replies, has 1 voice, and was last updated by  Dr. Hariharane S. Ramasamy 1 year, 4 months ago.

  • Author
    Posts
  • #15949 Reply

    Kamanja Command Line Options – Proposal

    kama

    Option

    Choices

    Notes

    <action>

     

    ·      add

    ·      update

    ·      get

    ·      remove

    ·      activate

    ·      deactivate

    ·      dump

    ·      load

    ·      watch

    ·      create

    ·      push

    ·      start

    ·      stop

    ·      version

    ·      list (new)

     

     

     

     -o / –object

    ·      message

    ·      model

    ·      container

    ·      type

    ·      function

    ·      concept

    ·      node

    ·      adapter

    ·      queue

    ·      cluster

    ·      metadata

    ·      engine

     

    -t / –tenantid

    <alpha numeric>

     

    -l / –lang

    ·      pmml

    ·      kpmml

    ·      java

    ·      scala

    (model)

    -n / –name

    -v / –ver

    -m / –mname

    <name>

    nn.nn.nn

    <message name>

    (pmml/kpmml model)

    -f / –file (load / add )

    <filename>

    (load / add)

    -t / –type

    ·      input

    ·      output

    ·      status

    ·      failed

    ·      config

    watch

    -v / –ver 

     

    For start action , this represents verbose mode

     

    -d / –debug

     

    Debug mode

    -h / –help

     

    Usage

     

     

     

     

    Kamanja Old and New Comamnd Line Samples

     

    Old

    New (short version)

    Kamanja watch input queue

    Kamanja watch –o queue –t input

    Kamanja add message filename

    Kamanja add  –o message –f filename

    Kamanja get all messages

    Kamanja get  –o message

    Kamanja update concepts input

    Kamanja –update  –o concept –f <filename>

    Kamanja dump all nodes

    Kamanja dump  –o node

    Kamana add pmml input modelname namespace.name modelversion nn.nn.nn messagename namespace.name TENANTID <tenantID>

    Kamanja add –o pmml –f <filename> -n <moddelname> -m <messagename> -v nn.nn.nn –t <tenant id>

    Kamanja add model scala <input filename> TENANTID <tenant id>

    Kamanja add –o model –l scala –f <filename> -t <tenant id>

    Kamanja activate model <input filename>

    Kamanja activate –o model –f <filename>

    Kamanja get all containers

    Kamanja get -o container

     

     

     

    Software Framework

     

    Framework

    Notes

    Vote

    Jcommander

    http://jcommander.org/

     

    Argot-master

    https://github.com/bmc/argot

     

    joptsimple

    (https://pholser.github.io/jopt-simple/examples.html )

     

     

    Scala Simple Option Parsing

    https://github.com/scopt/scopt

     

    Scalaop

    Used in JTM

     

     

     

     

Reply To: New Command Line Kamanja
Your information: