Open rmannibucau opened 10 years ago
+1
Here what we need to support:
┌( rmannibu @ work )─( 1.7.0_67 -:- 3.2.3 )
└( ~/dev/sqf-incubator )·> java -jar ~/Téléchargements/batchee-cli-0.2-incubating-bundle.jar help
usage: batchee <command> [<args>]
The most commonly used batchee commands are:
abandon abandon a batch from its id
executions list executions
help Display help information
instances list instances
names list known batches
restart restart a batch
running list running batches
start start a batch
status list last batches statuses
stop stop a batch from its id
See 'batchee help <command>' for more information on a specific command.
┌( rmannibu @ work )─( 1.7.0_67 -:- 3.2.3 )
└( ~/dev/sqf-incubator )·> for i in abandon executions help instances names restart running start status stop; do java -jar ~/Téléchargements/batchee-cli-0.2-incubating-bundle.jar help $i; done
NAME
batchee abandon - abandon a batch from its id
SYNOPSIS
batchee abandon [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>] -id <id>
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-socket <adminSocket>] [-sslContextType <sslContextType>]
[-timeout <timeout>] [-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-wait <wait>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-id <id>
id of the batch to abandon
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-socket <adminSocket>
socket listening for stop/abandon commands
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-timeout <timeout>
timeout for socket case
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-wait <wait>
should wait the end of the batch
-work <work>
work directory (default to java.io.tmp/work)
NAME
batchee executions - list executions
SYNOPSIS
batchee executions [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>] -id <id>
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-sslContextType <sslContextType>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-id <id>
instance id
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-work <work>
work directory (default to java.io.tmp/work)
NAME
batchee help - Display help information
SYNOPSIS
batchee help [--] [<command>...]
OPTIONS
--
This option can be used to separate command-line options from the
list of argument, (useful when arguments might be mistaken for
command-line options
<command>
NAME
batchee instances - list instances
SYNOPSIS
batchee instances [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-count <count>] [-hostnameVerifier <hostnameVerifier>]
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
-name <name> [-password <password>] [-shared-libs <sharedLibs>]
[-sslContextType <sslContextType>] [-start <start>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-count <count>
number of instance to query
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-name <name>
name of the batch to start
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-start <start>
start of the list of job instance to query
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-work <work>
work directory (default to java.io.tmp/work)
NAME
batchee names - list known batches
SYNOPSIS
batchee names [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>]
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-sslContextType <sslContextType>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-work <work>
work directory (default to java.io.tmp/work)
NAME
batchee restart - restart a batch
SYNOPSIS
batchee restart [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>] -id <id>
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-socket <adminSocket>] [-sslContextType <sslContextType>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-wait <wait>] [-work <work>] [--] [<properties>...]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-id <id>
id of the failed batch
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-socket <adminSocket>
socket listening for stop/abandon commands
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-wait <wait>
should wait the end of the batch
-work <work>
work directory (default to java.io.tmp/work)
--
This option can be used to separate command-line options from the
list of argument, (useful when arguments might be mistaken for
command-line options
<properties>
properties to pass to the batch
NAME
batchee running - list running batches
SYNOPSIS
batchee running [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>]
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-sslContextType <sslContextType>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-work <work>
work directory (default to java.io.tmp/work)
NAME
batchee start - start a batch
SYNOPSIS
batchee start [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>]
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
-name <name> [-password <password>] [-shared-libs <sharedLibs>]
[-socket <adminSocket>] [-sslContextType <sslContextType>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-wait <wait>] [-work <work>] [--] [<properties>...]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-name <name>
name of the batch to start
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-socket <adminSocket>
socket listening for stop/abandon commands
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-wait <wait>
should wait the end of the batch
-work <work>
work directory (default to java.io.tmp/work)
--
This option can be used to separate command-line options from the
list of argument, (useful when arguments might be mistaken for
command-line options
<properties>
properties to pass to the batch
NAME
batchee status - list last batches statuses
SYNOPSIS
batchee status [-add-folder-to-loader] [-archive <archive>]
[-auth <type>] [-hostnameVerifier <hostnameVerifier>]
[-json <jsonProvider>] [-keyManagerPath <keyManagerPath>]
[-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-sslContextType <sslContextType>]
[-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-work <work>
work directory (default to java.io.tmp/work)
NAME
batchee stop - stop a batch from its id
SYNOPSIS
batchee stop [-add-folder-to-loader] [-archive <archive>] [-auth <type>]
[-hostnameVerifier <hostnameVerifier>] -id <id> [-json <jsonProvider>]
[-keyManagerPath <keyManagerPath>] [-keyManagerType <keyManagerType>]
[-keystorePassword <keystorePassword>] [-keystorePath <keystorePath>]
[-keystoreType <keystoreType>] [-libs <libs>] [-lifecycle <lifecycle>]
[-password <password>] [-shared-libs <sharedLibs>]
[-socket <adminSocket>] [-sslContextType <sslContextType>]
[-timeout <timeout>] [-trustManagerAlgorithm <trustManagerAlgorithm>]
[-trustManagerProvider <trustManagerProvider>] [-url <baseUrl>]
[-user <username>] [-wait <wait>] [-work <work>]
OPTIONS
-add-folder-to-loader
force shared lib and libs folders to be added to the classloader
-archive <archive>
a bar archive
-auth <type>
when using JAXRS the authentication type (Basic)
-hostnameVerifier <hostnameVerifier>
when using JAXRS the hostname verifier
-id <id>
id of the batch to stop
-json <jsonProvider>
when using JAXRS the json provider
-keyManagerPath <keyManagerPath>
when using JAXRS the keyManagerPath
-keyManagerType <keyManagerType>
when using JAXRS the keyManagerType (SunX509)
-keystorePassword <keystorePassword>
when using JAXRS the keystorePassword
-keystorePath <keystorePath>
when using JAXRS the keystorePath
-keystoreType <keystoreType>
when using JAXRS the keystoreType (JKS)
-libs <libs>
folder containing additional libraries, the folder is added too to
the loader
-lifecycle <lifecycle>
the lifecycle class to use
-password <password>
when using JAXRS the password
-shared-libs <sharedLibs>
folder containing shared libraries, the folder is added too to the
loader
-socket <adminSocket>
socket listening for stop/abandon commands
-sslContextType <sslContextType>
when using JAXRS the sslContextType (TLS)
-timeout <timeout>
timeout for socket case
-trustManagerAlgorithm <trustManagerAlgorithm>
when using JAXRS the trustManagerAlgorithm
-trustManagerProvider <trustManagerProvider>
when using JAXRS the trustManagerProvider
-url <baseUrl>
when using JAXRS the batchee resource url
-user <username>
when using JAXRS the username
-wait <wait>
should wait the end of the batch
-work <work>
work directory (default to java.io.tmp/work)
As you can see we need option with a single dash but a word behind and not double dashes
Airlift supports a single dash??
I'm very surprised by that.
On Wed, Aug 27, 2014 at 2:36 AM, Romain Manni-Bucau < notifications@github.com> wrote:
Here what we need to support: [source]
┌( rmannibu @ work )─( 1.7.0_67 -:- 3.2.3 ) └( ~/dev/sqf-incubator )·> java -jar ~/Téléchargements/batchee-cli-0.2-incubating-bundle.jar help usage: batchee []
The most commonly used batchee commands are: abandon abandon a batch from its id executions list executions help Display help information instances list instances names list known batches restart restart a batch running list running batches start start a batch status list last batches statuses stop stop a batch from its id
See 'batchee help ' for more information on a specific command.
┌( rmannibu @ work )─( 1.7.0_67 -:- 3.2.3 ) └( ~/dev/sqf-incubator )·> for i in abandon executions help instances names restart running start status stop; do java -jar ~/Téléchargements/batchee-cli-0.2-incubating-bundle.jar help $i; done NAME batchee abandon - abandon a batch from its id
SYNOPSIS batchee abandon [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-timeout ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -id <id> id of the batch to abandon -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -socket <adminSocket> socket listening for stop/abandon commands -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -timeout <timeout> timeout for socket case -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -wait <wait> should wait the end of the batch -work <work> work directory (default to java.io.tmp/work)
NAME batchee executions - list executions
SYNOPSIS batchee executions [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -id <id> instance id -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -work <work> work directory (default to java.io.tmp/work)
NAME batchee help - Display help information
SYNOPSIS batchee help [--] [...]
OPTIONS
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<command>
NAME batchee instances - list instances
SYNOPSIS batchee instances [-add-folder-to-loader] [-archive ] [-auth ] [-count ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] -name [-password ] [-shared-libs ] [-sslContextType ] [-start ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -count <count> number of instance to query -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -name <name> name of the batch to start -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -start <start> start of the list of job instance to query -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -work <work> work directory (default to java.io.tmp/work)
NAME batchee names - list known batches
SYNOPSIS batchee names [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -work <work> work directory (default to java.io.tmp/work)
NAME batchee restart - restart a batch
SYNOPSIS batchee restart [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ] [--] [...]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -id <id> id of the failed batch -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -socket <adminSocket> socket listening for stop/abandon commands -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -wait <wait> should wait the end of the batch -work <work> work directory (default to java.io.tmp/work) -- This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options <properties> properties to pass to the batch
NAME batchee running - list running batches
SYNOPSIS batchee running [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -work <work> work directory (default to java.io.tmp/work)
NAME batchee start - start a batch
SYNOPSIS batchee start [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] -name [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ] [--] [...]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -name <name> name of the batch to start -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -socket <adminSocket> socket listening for stop/abandon commands -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -wait <wait> should wait the end of the batch -work <work> work directory (default to java.io.tmp/work) -- This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options <properties> properties to pass to the batch
NAME batchee status - list last batches statuses
SYNOPSIS batchee status [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -work <work> work directory (default to java.io.tmp/work)
NAME batchee stop - stop a batch from its id
SYNOPSIS batchee stop [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-timeout ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive <archive> a bar archive -auth <type> when using JAXRS the authentication type (Basic) -hostnameVerifier <hostnameVerifier> when using JAXRS the hostname verifier -id <id> id of the batch to stop -json <jsonProvider> when using JAXRS the json provider -keyManagerPath <keyManagerPath> when using JAXRS the keyManagerPath -keyManagerType <keyManagerType> when using JAXRS the keyManagerType (SunX509) -keystorePassword <keystorePassword> when using JAXRS the keystorePassword -keystorePath <keystorePath> when using JAXRS the keystorePath -keystoreType <keystoreType> when using JAXRS the keystoreType (JKS) -libs <libs> folder containing additional libraries, the folder is added too to the loader -lifecycle <lifecycle> the lifecycle class to use -password <password> when using JAXRS the password -shared-libs <sharedLibs> folder containing shared libraries, the folder is added too to the loader -socket <adminSocket> socket listening for stop/abandon commands -sslContextType <sslContextType> when using JAXRS the sslContextType (TLS) -timeout <timeout> timeout for socket case -trustManagerAlgorithm <trustManagerAlgorithm> when using JAXRS the trustManagerAlgorithm -trustManagerProvider <trustManagerProvider> when using JAXRS the trustManagerProvider -url <baseUrl> when using JAXRS the batchee resource url -user <username> when using JAXRS the username -wait <wait> should wait the end of the batch -work <work> work directory (default to java.io.tmp/work)
As you can see we need option with a single dash but a word behind and not double dashes
— Reply to this email directly or view it on GitHub https://github.com/tomitribe/crest/issues/20#issuecomment-53546899.
I see. Airline allows you to hang yourself. On the surface looks like it would support "+++foo=bar" if you wanted. We're definitely doing that. I'll see if I can hack in some sort of non-intrusive compatibility.
David Blevins http://twitter.com/dblevins http://www.tomitribe.com 310-633-3852
On Aug 27, 2014, at 11:13 AM, David Blevins notifications@github.com wrote:
Airlift supports a single dash??
I'm very surprised by that.
On Wed, Aug 27, 2014 at 2:36 AM, Romain Manni-Bucau < notifications@github.com> wrote:
Here what we need to support: [source]
┌( rmannibu @ work )─( 1.7.0_67 -:- 3.2.3 ) └( ~/dev/sqf-incubator )·> java -jar ~/Téléchargements/batchee-cli-0.2-incubating-bundle.jar help usage: batchee []
The most commonly used batchee commands are: abandon abandon a batch from its id executions list executions help Display help information instances list instances names list known batches restart restart a batch running list running batches start start a batch status list last batches statuses stop stop a batch from its id
See 'batchee help ' for more information on a specific command.
┌( rmannibu @ work )─( 1.7.0_67 -:- 3.2.3 ) └( ~/dev/sqf-incubator )·> for i in abandon executions help instances names restart running start status stop; do java -jar ~/Téléchargements/batchee-cli-0.2-incubating-bundle.jar help $i; done NAME batchee abandon - abandon a batch from its id
SYNOPSIS batchee abandon [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-timeout ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive
a bar archive -auth
when using JAXRS the authentication type (Basic) -hostnameVerifier
when using JAXRS the hostname verifier -id
id of the batch to abandon -json
when using JAXRS the json provider -keyManagerPath
when using JAXRS the keyManagerPath -keyManagerType
when using JAXRS the keyManagerType (SunX509) -keystorePassword
when using JAXRS the keystorePassword -keystorePath
when using JAXRS the keystorePath -keystoreType
when using JAXRS the keystoreType (JKS) -libs
folder containing additional libraries, the folder is added too to the loader -lifecycle
the lifecycle class to use -password
when using JAXRS the password -shared-libs
folder containing shared libraries, the folder is added too to the loader -socket
socket listening for stop/abandon commands -sslContextType
when using JAXRS the sslContextType (TLS) -timeout
timeout for socket case -trustManagerAlgorithm
when using JAXRS the trustManagerAlgorithm -trustManagerProvider
when using JAXRS the trustManagerProvider -url
when using JAXRS the batchee resource url -user
when using JAXRS the username -wait
should wait the end of the batch -work
work directory (default to java.io.tmp/work) NAME batchee executions - list executions
SYNOPSIS batchee executions [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive
a bar archive -auth
when using JAXRS the authentication type (Basic) -hostnameVerifier
when using JAXRS the hostname verifier -id
instance id -json
when using JAXRS the json provider -keyManagerPath
when using JAXRS the keyManagerPath -keyManagerType
when using JAXRS the keyManagerType (SunX509) -keystorePassword
when using JAXRS the keystorePassword -keystorePath
when using JAXRS the keystorePath -keystoreType
when using JAXRS the keystoreType (JKS) -libs
folder containing additional libraries, the folder is added too to the loader -lifecycle
the lifecycle class to use -password
when using JAXRS the password -shared-libs
folder containing shared libraries, the folder is added too to the loader -sslContextType
when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm
when using JAXRS the trustManagerAlgorithm -trustManagerProvider
when using JAXRS the trustManagerProvider -url
when using JAXRS the batchee resource url -user
when using JAXRS the username -work
work directory (default to java.io.tmp/work) NAME batchee help - Display help information
SYNOPSIS batchee help [--] [...]
OPTIONS
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
NAME batchee instances - list instances
SYNOPSIS batchee instances [-add-folder-to-loader] [-archive ] [-auth ] [-count ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] -name [-password ] [-shared-libs ] [-sslContextType ] [-start ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive
a bar archive -auth
when using JAXRS the authentication type (Basic) -count
number of instance to query -hostnameVerifier
when using JAXRS the hostname verifier -json
when using JAXRS the json provider -keyManagerPath
when using JAXRS the keyManagerPath -keyManagerType
when using JAXRS the keyManagerType (SunX509) -keystorePassword
when using JAXRS the keystorePassword -keystorePath
when using JAXRS the keystorePath -keystoreType
when using JAXRS the keystoreType (JKS) -libs
folder containing additional libraries, the folder is added too to the loader -lifecycle
the lifecycle class to use -name
name of the batch to start -password
when using JAXRS the password -shared-libs
folder containing shared libraries, the folder is added too to the loader -sslContextType
when using JAXRS the sslContextType (TLS) -start
start of the list of job instance to query -trustManagerAlgorithm
when using JAXRS the trustManagerAlgorithm -trustManagerProvider
when using JAXRS the trustManagerProvider -url
when using JAXRS the batchee resource url -user
when using JAXRS the username -work
work directory (default to java.io.tmp/work) NAME batchee names - list known batches
SYNOPSIS batchee names [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive
a bar archive -auth
when using JAXRS the authentication type (Basic) -hostnameVerifier
when using JAXRS the hostname verifier -json
when using JAXRS the json provider -keyManagerPath
when using JAXRS the keyManagerPath -keyManagerType
when using JAXRS the keyManagerType (SunX509) -keystorePassword
when using JAXRS the keystorePassword -keystorePath
when using JAXRS the keystorePath -keystoreType
when using JAXRS the keystoreType (JKS) -libs
folder containing additional libraries, the folder is added too to the loader -lifecycle
the lifecycle class to use -password
when using JAXRS the password -shared-libs
folder containing shared libraries, the folder is added too to the loader -sslContextType
when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm
when using JAXRS the trustManagerAlgorithm -trustManagerProvider
when using JAXRS the trustManagerProvider -url
when using JAXRS the batchee resource url -user
when using JAXRS the username -work
work directory (default to java.io.tmp/work) NAME batchee restart - restart a batch
SYNOPSIS batchee restart [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ] [--] [...]
OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader
-archive
a bar archive -auth
when using JAXRS the authentication type (Basic) -hostnameVerifier
when using JAXRS the hostname verifier -id
id of the failed batch -json
when using JAXRS the json provider -keyManagerPath
when using JAXRS the keyManagerPath -keyManagerType
when using JAXRS the keyManagerType (SunX509) -keystorePassword
when using JAXRS the keystorePassword -keystorePath
when using JAXRS the keystorePath -keystoreType
when using JAXRS the keystoreType (JKS) -libs
folder containing additional libraries, the folder is added too to the loader -lifecycle
the lifecycle class to use -password
when using JAXRS the password -shared-libs
folder containing shared libraries, the folder is added too to the loader -socket
socket listening for stop/abandon commands -sslContextType
when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm
when using JAXRS the trustManagerAlgorithm -trustManagerProvider
when using JAXRS the trustManagerProvider -url
when using JAXRS the batchee resource url -user
when using JAXRS the username -wait
should wait the end of the batch -work
work directory (default to java.io.tmp/work) This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
properties to pass to the batch NAME batchee running - list running batches SYNOPSIS batchee running [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ] OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader -archive a bar archive -auth when using JAXRS the authentication type (Basic) -hostnameVerifier when using JAXRS the hostname verifier -json when using JAXRS the json provider -keyManagerPath when using JAXRS the keyManagerPath -keyManagerType when using JAXRS the keyManagerType (SunX509) -keystorePassword when using JAXRS the keystorePassword -keystorePath when using JAXRS the keystorePath -keystoreType when using JAXRS the keystoreType (JKS) -libs folder containing additional libraries, the folder is added too to the loader -lifecycle the lifecycle class to use -password when using JAXRS the password -shared-libs folder containing shared libraries, the folder is added too to the loader -sslContextType when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm when using JAXRS the trustManagerAlgorithm -trustManagerProvider when using JAXRS the trustManagerProvider -url when using JAXRS the batchee resource url -user when using JAXRS the username -work work directory (default to java.io.tmp/work) NAME batchee start - start a batch SYNOPSIS batchee start [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] -name [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ] [--] [...] OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader -archive a bar archive -auth when using JAXRS the authentication type (Basic) -hostnameVerifier when using JAXRS the hostname verifier -json when using JAXRS the json provider -keyManagerPath when using JAXRS the keyManagerPath -keyManagerType when using JAXRS the keyManagerType (SunX509) -keystorePassword when using JAXRS the keystorePassword -keystorePath when using JAXRS the keystorePath -keystoreType when using JAXRS the keystoreType (JKS) -libs folder containing additional libraries, the folder is added too to the loader -lifecycle the lifecycle class to use -name name of the batch to start -password when using JAXRS the password -shared-libs folder containing shared libraries, the folder is added too to the loader -socket socket listening for stop/abandon commands -sslContextType when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm when using JAXRS the trustManagerAlgorithm -trustManagerProvider when using JAXRS the trustManagerProvider -url when using JAXRS the batchee resource url -user when using JAXRS the username -wait should wait the end of the batch -work work directory (default to java.io.tmp/work) ## This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options properties to pass to the batch NAME batchee status - list last batches statuses SYNOPSIS batchee status [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-sslContextType ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-work ] OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader -archive a bar archive -auth when using JAXRS the authentication type (Basic) -hostnameVerifier when using JAXRS the hostname verifier -json when using JAXRS the json provider -keyManagerPath when using JAXRS the keyManagerPath -keyManagerType when using JAXRS the keyManagerType (SunX509) -keystorePassword when using JAXRS the keystorePassword -keystorePath when using JAXRS the keystorePath -keystoreType when using JAXRS the keystoreType (JKS) -libs folder containing additional libraries, the folder is added too to the loader -lifecycle the lifecycle class to use -password when using JAXRS the password -shared-libs folder containing shared libraries, the folder is added too to the loader -sslContextType when using JAXRS the sslContextType (TLS) -trustManagerAlgorithm when using JAXRS the trustManagerAlgorithm -trustManagerProvider when using JAXRS the trustManagerProvider -url when using JAXRS the batchee resource url -user when using JAXRS the username -work work directory (default to java.io.tmp/work) NAME batchee stop - stop a batch from its id SYNOPSIS batchee stop [-add-folder-to-loader] [-archive ] [-auth ] [-hostnameVerifier ] -id [-json ] [-keyManagerPath ] [-keyManagerType ] [-keystorePassword ] [-keystorePath ] [-keystoreType ] [-libs ] [-lifecycle ] [-password ] [-shared-libs ] [-socket ] [-sslContextType ] [-timeout ] [-trustManagerAlgorithm ] [-trustManagerProvider ] [-url ] [-user ] [-wait ] [-work ] OPTIONS -add-folder-to-loader force shared lib and libs folders to be added to the classloader -archive a bar archive -auth when using JAXRS the authentication type (Basic) -hostnameVerifier when using JAXRS the hostname verifier -id id of the batch to stop -json when using JAXRS the json provider -keyManagerPath when using JAXRS the keyManagerPath -keyManagerType when using JAXRS the keyManagerType (SunX509) -keystorePassword when using JAXRS the keystorePassword -keystorePath when using JAXRS the keystorePath -keystoreType when using JAXRS the keystoreType (JKS) -libs folder containing additional libraries, the folder is added too to the loader -lifecycle the lifecycle class to use -password when using JAXRS the password -shared-libs folder containing shared libraries, the folder is added too to the loader -socket socket listening for stop/abandon commands -sslContextType when using JAXRS the sslContextType (TLS) -timeout timeout for socket case -trustManagerAlgorithm when using JAXRS the trustManagerAlgorithm -trustManagerProvider when using JAXRS the trustManagerProvider -url when using JAXRS the batchee resource url -user when using JAXRS the username -wait should wait the end of the batch -work work directory (default to java.io.tmp/work) --- As you can see we need option with a single dash but a word behind and not double dashes — Reply to this email directly or view it on GitHub https://github.com/tomitribe/crest/issues/20#issuecomment-53546899. — Reply to this email directly or view it on GitHub.
I didn't understand. Airlift ? Airline? Oo
https://github.com/airlift/airline
Written by friends. Slightly different style for the annotations. Great features, but makes you create lots of command objects. I prefer JAX-RS style to consuming parameters rather than Servlet "one big object with everything" style. You spend time pulling the data back out.
On Aug 27, 2014, at 12:23 PM, "Daniel Cunha (soro)" notifications@github.com wrote:
I didn't understand. Airlift ? Airline? Oo
— Reply to this email directly or view it on GitHub.
Well only issue of airline is it brings the world to work
Adding automatically - or -- in crest was an error imo (think i already said it): restrict what you can do. Other point is -foo=bar versus -foo bar.
Last feature helping here: class bean parameter injection (for jaxrs config).
It makes at least 3 features ;).
If one doesnt match crest goal please let me know ill do something easier for batchee.
Single dash for long parameters is fine, it just means those commands will not be able to support Posix type actions like:
tar -xzvf ... zip -cvf ... rsync -av ...
Posix will remain the default and those commands will not require additional steps. Additional config or annotations would be required for commands that want to deviate.
Supporting space instead of '=' would be nice. Just will take some work.
David Blevins http://twitter.com/dblevins http://www.tomitribe.com
On Aug 27, 2014, at 1:31 PM, Romain Manni-Bucau notifications@github.com wrote:
Well only issue of airline is it brings the world to work
Adding automatically - or -- in crest was an error imo (think i already said it): restrict what you can do. Other point is -foo=bar versus -foo bar.
Last feature helping here: class bean parameter injection (for jaxrs config).
It makes at least 3 features ;).
If one doesnt match crest goal please let me know ill do something easier for batchee.
— Reply to this email directly or view it on GitHub.
isn't it easy? if first char not a alphanum then don't prefix :)
If you're referring to '--foo bar' being the same as '--foo=bar', go for it. Just make sure there are several tests and a couple that try and create some confusing scenarios.
When you dig into the code you'll see it's not quite as trivial as you imagined. Currently, all parameters have values. When not specified we default.
We haven't released 1.0 yet, so we can change some of the behavior which we might have to do.
David Blevins http://twitter.com/dblevins http://www.tomitribe.com
On Aug 27, 2014, at 10:06 PM, Romain Manni-Bucau notifications@github.com wrote:
isn't it easy? if first char not a alphanum then don't prefix :)
— Reply to this email directly or view it on GitHub.
pushed just prefix handling: if option already starts with - then keep it this way (easy to support + later if needed)
for =/space that's harder cause you need to count what's after to see what the user did
Add more tests. The "--no-" logic was updated, so that should be tested. Also help is not tested for this new style. We should also test what happens if short prefixes are used in the same command as long -- should Posix stringing be supported which relies on "-" vs "--"? Should we allow "----foo" to be different/same as "---foo" as "--foo" ?
David Blevins http://twitter.com/dblevins http://www.tomitribe.com
On Aug 27, 2014, at 10:57 PM, Romain Manni-Bucau notifications@github.com wrote:
pushed just prefix handling: if option already starts with - then keep it this way (easy to support + later if needed)
— Reply to this email directly or view it on GitHub.
help is tested
no is not since it will not respect the style (at least one - more) so that's a not important stuff for now
in my tes -value != ----value and would be != --value
we have to support short in long prefixes for List at least
willl try to go ahead later with all requirements
PS: what about: 1) options without values? 2) aggregation of short options? (xxx -abc for xxx -a -b -c)
I'd say let's not support "------foo". There is such a thing as ruing a perfectly good library because support for invaluable features were added and then cannot be removed for backwards compatibility reasons. Every feature has a cost in flexibility to change in the future, so they better be valuable and worth the future restrictions they'll bring. For example if "=" is used as the prefix, that clearly creates a complete mess. We haven't tested it or considered it and it really isn't worth our time.
For now let's stick to just '-foo", no infinite dashes or any other prefix. Further let's not allow mixing of "--foo" and "-foo". Say some day we wanted to automatically support a rest service with @PathParam("foo") as a command that had a "--foo" option, we'll be put in the situation where we'll have to decide for them to use "-" or "--". Currently the answer would be obvious since (intentionally) we don't include dashes and similar in the command's parameters. The Posix standards will always be the default. If a user wants something else they could simply add an option on the @Command or a new complementary annotation.
On #2, this should be supported as of Jon's earlier commit.
On Wed, Aug 27, 2014 at 11:39 PM, Romain Manni-Bucau < notifications@github.com> wrote:
help is tested
no is not since it will not respect the style (at least one - more) so that's a not important stuff for now
in my tes -value != ----value and would be != --value
we have to support short in long prefixes for List at least
willl try to go ahead later with all requirements
PS: what about: 1) options without values? 2) aggregation of short options? (xxx -abc for xxx -a -b -c)
— Reply to this email directly or view it on GitHub https://github.com/tomitribe/crest/issues/20#issuecomment-53679092.
Hmm
ok so surely better to revert my commit.
I'll go with something custom in batchee
That's fine too.
I'm sure it wouldn't be that hard to support "-foo" in crest cleanly and consider the edge cases. Not 15 minutes, but not 2 weeks either.
The majority of Crest and the 150~ tests were done in 4 days.
David Blevins http://twitter.com/dblevins http://www.tomitribe.com
On Aug 28, 2014, at 12:13 AM, Romain Manni-Bucau notifications@github.com wrote:
Hmm
ok so surely better to revert my commit.
I'll go with something custom in batchee
— Reply to this email directly or view it on GitHub.
Well on my side issue is bigger since +xxx is a good cli API (think to chmod) but not more blocking you can close this issue then.
That's a really good point. Hadn't considered chmod style commands.
Looking at the chmod style, it also appears collapsable, like posix short dash options. So for example, these two are equivalent:
chmod +g=x,+o=x foo.txt chmod +go=x foo.txt
It also appears chmod supports still the posix single dash collapsing, so these two are the same:
chmod -fhv go=x foo.txt chmod -f -h -v g=x,o=x foo.txt
As I keep saying, any functionality is good provided it has value, is well thought out and is thoroughly tested. This is a good discussion, so no reason to close the issue so quickly.
David Blevins http://twitter.com/dblevins http://www.tomitribe.com
On Aug 28, 2014, at 1:18 AM, Romain Manni-Bucau notifications@github.com wrote:
Well on my side issue is bigger since +xxx is a good cli API (think to chmod) but not more blocking you can close this issue then.
— Reply to this email directly or view it on GitHub.
means implementing in java http://code.woboq.org/userspace/glibc/posix/getopt.c.html
but the space/equal separator stays an issue. That said if we parse the line char by char (so it means we need a parser for a dynamic grammar, yeah ;)) we can handle it if that's a parameter of @Option
PS: why not backing our impl with [cli]? Just doing a annotation layer on top of it?
using crest instead of airline for batchee would help removing a bunch of undesired dependencies but today it can't replace it 100% AFAIK, would be great to support it
here is the module https://git-wip-us.apache.org/repos/asf?p=incubator-batchee.git;a=tree;f=tools/cli;h=99ec46928e0edf824d2a9d8e3a3f7461185331b2;hb=e62c3ee54cb448e9d8086c7a2940523b0f0332a7