API de Talend CommandLine
L'aide exhaustive vous permet d'obtenir toutes les commandes disponibles, lorsque vous saisissez la commande -help
dans votre application Talend CommandLine.
Si vous n'utilisez pas la dernière version de Talend CommandLine, certaines des commandes suivantes peuvent être indisponibles. Nous vous recommandons de consulter la commande help
de votre version de Talend CommandLine.
Commandes
+--------------------------------------------------------------------------------------------------+
|Talend Commandline Plugin : |
| * arguments can be surrounded by (") or (') characters |
| * the semi-colon (;) character can be used to separate commands from each other |
| * special characters (space \ " ' ;) can be escaped using the character (\) |
+--------------------------------------------------------------------------------------------------+
|Unexpected -help while processing |
|stopServer|helpFilter|listExecutionServer|listItem|initLocal|initRemote|logoffProject|logonProject|
||executeAllJob|exportAllJob|executeJob|deleteItems|changeVersion|changeStatus|importDatabaseMetada|
|ta|importDelimitedMetadata|showVersion|help|createJob|listService|exportService|publishService|mig|
|rationCheck|listRoute|exportRoute|buildRoute|executeRoute|publishRoute|publishAction|listCloudWork|
|spaces|executeReport|populateAudit|generateAuditReport|populateAndGenerateReport|exportJob|buildJo|
|b|setUserComponentPath|getCommandStatus|listProject|listCommand|importItems|listJob|exportItems|st|
|artGroup|stopGroup|cancelGroup|executeJobOnServer|deployJobToServer|createProject|createTask|expor|
|tAsCWM|checkAndUpdate|publishJob|buildItemSources|changeMavenVersion|addReference|deleteReference||
|regenerateAllPoms|generateMigrationReport |
+--------------------------------------------------------------------------------------------------+
|Usage: |
| [stopServer -f helpFilter listExecutionServer listItem -if <filterExpr>|-m initLocal initRemote |
|<adminUrl> -ul <login>|-up <password> logoffProject logonProject -pn <technical name>|-ul |
|<login>|-up <password>|-gt|-br <branch>|-ro executeAllJob -i <path>|-jc <context name>|-jcp |
|<key=value1> [<key=value2> ...]|-jrdd <path>|-jt <time (in sec)>|-jactc|-if <filterExpr> |
|exportAllJob -dd <path>|-jc <context name>|-jall <log4j level name>|-jactc|-if <filterExpr> |
|executeJob <jobName> -i <path>|-jv <version>|-jc <context name>|-jcp <key=value1> [<key=value2> |
|...]|-jrdd <path>|-jt <time (in sec)>|-jactc deleteItems -if <filterExpr> changeVersion |
|<newVersion (x.x | nextMajor | nextMinor)> -flv|-d|-if <filterExpr> changeStatus <newStatusCode> |
|-d|-if <filterExpr> importDatabaseMetadata <filePath> importDelimitedMetadata <filePath> |
|showVersion help <commandName> createJob <jobName> -sf <file path>|-o listService exportService |
|<serviceName> -dd <path>|-sv <version>|-af <filename>|-maven publishService <serviceName> -r |
|<url>|-u <username>|-p <password>|-rt <repository-type>|-v <version>|-pv <version>|-g <group>|-a |
|<artifactId>|-s migrationCheck -dp <dataPath (dir)> listRoute exportRoute <routeName> -dd |
|<path>|-jv <version>|-jc <context name>|-af <filename>|-jactc|-jstats|-maven|-bt <build | |type>|-az|-od buildRoute <routeName> -dd <path>|-jv <version>|-jc <context name>|-af |
|<filename>|-jactc|-jstats|-maven|-bt <build type>|-az|-od executeRoute <routeName> -i <path>|-jv |
|<version1> [<version2> ...]|-jc <context name>|-jcp <context param1> [<context param2> ...]|-jrdd |
|<path>|-jt <time out>|-jactc publishRoute <routeName> -r <url>|-u <username>|-p <password>|-rt |
|<repository-type>|-v <version>|-pv <version>|-g <group>|-a <artifactId>|-s publishAction |
|<actionName> -v <version>|-u <username>|-p <password>|-r <url>|-i|-na|-w <workspace> |
|listCloudWorkspaces -u <username>|-p <password>|-r <url>|-n <name> executeReport -n <name>|-p |
|<path>|-pc <context name> populateAudit -ju <jdbc_url>|-dd <driver>|-du <user>|-up <password> |
|generateAuditReport <auditId> -fp <filePath>|-t <template> populateAndGenerateReport -ju |
|<jdbc_url>|-dd <driver>|-du <user>|-up <password>|-fp <filePath>|-t <template> exportJob |
|<jobName> -dd <path>|-af <filename>|-jc <context name>|-jall <log4j level name>|-jv |
|<version>|-jactc|-jstats|-eo|-ant|-maven buildJob <jobName> -dd <path>|-af <filename>|-jc |
|<context name>|-jall <log4j level name>|-jv <version>|-jt |
|<type>|-jactc|-jstats|-eo|-tc|-ant|-maven|-il|-ic|-ijs|-its|-et|-bin|-bt <build type>|-az|-od |
|setUserComponentPath -up <path>|-c getCommandStatus <commandId> -ci <index> listProject -b |
|listCommand -a|-q|-r importItems <source (dir|.zip)> -if <filterExpr>|-o|-s|-sl|-im listJob |
|exportItems <destination (dir|.zip)> -d|-if <filterExpr> startGroup -o <infor> stopGroup |
|cancelGroup executeJobOnServer <jobName> -es <name>|-jv <version>|-jc <context name>|-jcp |
|<key=value1> [<key=value2> ...]|-jsp <port>|-jtp <port>|-jactc|-useSSL|-un <username>|-pd |
|<password>|-jrrd <jobResultDestDir>|-jall <level>|-ra <runas> deployJobToServer <jobName> -es |
|<name>|-jv <version>|-jc <context name>|-jactc|-useSSL|-un <username>|-pd <password>|-jall |
|<level>|-sp <port>|-tp <port> createProject -pn <technical name>|-pd <description>|-pl <language | |(java/perl)>|-pa <author login>|-pap <password> createTask <taskName> -pn <project name>|-d |
|<description>|-a|-b <branch name>|-jn <job name>|-jv <job version>|-jc <job | |context>|-jactc|-rjc|-esn <execution server>|-ouj <on unavailable jobserver>|-ese|-asce|-ousj |
|<unknown state job> exportAsCWM <dbConnectionName> -dd <path> checkAndUpdate -tu <user>|-tup |
|<password> publishJob <jobName> -r <url>|-u <username>|-p <password>|-rt <repository-type>|-v |
|<version>|-pv <version>|-g <group>|-a <artifactId>|-s|-t <exportType>|-jc <contextName>|-jactc |
|buildItemSources <item-id> -iv <item-version> changeMavenVersion <maven-version> -ss|-sj|-if |
|<filterExpr> addReference -ref <references> deleteReference -ref <references> regenerateAllPoms |
|-if <filterExpr> generateMigrationReport -dp <dataPath (dir)>|-rp <reportPath (dir)>|-from |
|<from_version>|-to <to_version1> [<to_version2> ...]|-ps <projects>] |
+--------------------------------------------------------------------------------------------------+
| stopServer stops server |
| -f (--force) don't wait for queued |
| commands |
| helpFilter shows filter help |
| listExecutionServer lists [virtual] execution |
| servers |
| listItem lists items |
| -if (--item-filter) filterExpr item filter expression |
| -m (--metadata) show item's metadata |
| initLocal init local repository |
| initRemote adminUrl init remote repository |
| -ul (--user-login) login user login |
| -up (--user-password) password user password |
| logoffProject logs off |
| logonProject logs on a project |
| -pn (--project-name) technical name project name |
| -ul (--user-login) login user login |
| -up (--user-password) password user password |
| -gt (--generate-templates) generate templates |
| -br (--branch) branch branches/<branchName> , |
| tags/<tagName> |
| -ro (--readOnly) readOnly on current project |
| executeAllJob executes all |
| -i (--interpreter) path perl/java interpreter path |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-param) key=value [key=value ...] provides a job context param |
| -jrdd (--job-result-destination-dir) path job execution result |
| destination dir |
| -jt (--job-timeout) time (in sec) timeout of execution |
| -jactc (--job-apply-context-to-children) apply context to children |
| -if (--item-filter) filterExpr item filter expression |
| exportAllJob exports all |
| -dd (--destination-directory) path destination directory |
| -jc (--job-context) context name chooses a job context |
| -jall (--job-add-log4j-level) log4j level name generate with the log4j |
| levels |
| -jactc (--job-apply-context-to-children) apply context to children |
| -if (--item-filter) filterExpr item filter expression |
| executeJob jobName executes |
| -i (--interpreter) path perl/java interpreter path |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-param) key=value [key=value ...] provides a job context param |
| -jrdd (--job-result-destination-dir) path job execution result |
| destination dir |
| -jt (--job-timeout) time (in sec) timeout of execution |
| -jactc (--job-apply-context-to-children) apply context to children |
| deleteItems delete items |
| -if (--item-filter) filterExpr item filter expression |
| changeVersion newVersion (x.x | nextMajor | nextMinor) changes items version |
| Note: If you use the "-d" arg |
| with the item filter |
| together, we will do the |
| filter first and then get the |
| dependences of the filter |
| items, finally change all of |
| them. |
| -flv (--fix-latest-version) fixing latest version |
| -d (--dependencies) update the dependencies |
| -if (--item-filter) filterExpr item filter expression |
| changeStatus newStatusCode changes items status |
| Note: If you use the "-d" arg |
| with the item filter |
| together, we will do the |
| filter first and then get the |
| dependences of the filter |
| items, finally change all of |
| them. |
| -d (--dependencies) update the dependencies |
| -if (--item-filter) filterExpr item filter expression |
| importDatabaseMetadata filePath imports database metadata |
| importDelimitedMetadata filePath imports delimited metadata |
| showVersion shows product version |
| help commandName shows help or detailed help |
| createJob jobName create job from script file |
| -sf (--script_file) file path job of script file |
| -o (--over_write) to overwrite if job existed |
| listService lists services |
| exportService serviceName export service |
| -dd (--destination-directory) path destination directory |
| -sv (--service-version) version chooses a service version |
| -af (--archive-filename) filename archive filename without |
| extension |
| -maven (--add-maven-script) export service with maven |
| build script |
| publishService serviceName publish service to Artifact |
| Repository |
| -r (--artifact-repository) url artifact repository |
| -u (--username) username username |
| -p (--password) password password |
| -rt (--repository-type) repository-type nexus2/nexus3 (nexus3 by |
| default) |
| -v (--version) version chooses a service version |
| -pv (--publish-version) version chooses a publish version |
| -g (--group) group chooses a service group |
| -a (--artifactId) artifactId published artifactId |
| -s (--snapshot) publish as SNAPSHOT version |
| migrationCheck Migration check for upgrade |
| safe guarding |
| -dp (--data-path) dataPath (dir) a valid dir to save migration |
| check data |
| listRoute lists routes |
| exportRoute routeName export routes (deprecated) |
| -dd (--destination-directory) path destination directory |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -af (--archive-filename) filename archive filename without |
| extension |
| -jactc (--job-apply-context-to-children) apply context to children |
| -jstats (--job-add-statistics-code) generate with the statistics |
| instructions |
| -maven (--add-maven-script) export job with maven build |
| script |
| -bt (--build-type) build type select job build type |
| (Runtime by default) |
| argument:Runtime|Microservice |
| -az (--export-as-zip) export microservice as zip |
| -od (--export-only-default-context) microservice only export the |
| default context |
| buildRoute routeName build routes |
| -dd (--destination-directory) path destination directory |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -af (--archive-filename) filename archive filename without |
| extension |
| -jactc (--job-apply-context-to-children) apply context to children |
| -jstats (--job-add-statistics-code) generate with the statistics |
| instructions |
| -maven (--add-maven-script) export job with maven build |
| script |
| -bt (--build-type) build type select job build type |
| (Runtime by default) |
| argument:Runtime|Microservice |
| -az (--export-as-zip) export microservice as zip |
| -od (--export-only-default-context) microservice only export the |
| default context |
| executeRoute routeName executeRoute |
| -i (--interpreter) path perl/java interpreter path |
| -jv (--job-version) version [version ...] chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-para) context param [context param ...] provides a job context param |
| -jrdd (--job-result-destination-dir) path job execution result |
| destination dir |
| -jt (--job-timeout) time out timeout of execution |
| -jactc (--job-apply-context-to-children) apply context to children |
| publishRoute routeName publish route to Artifact |
| Repository |
| -r (--artifact-repository) url artifact repository |
| -u (--username) username username |
| -p (--password) password password |
| -rt (--repository-type) repository-type nexus2/nexus3 (nexus3 by |
| default) |
| -v (--version) version chooses a route version |
| -pv (--publish-version) version chooses a publish version |
| -g (--group) group chooses a route group |
| -a (--artifactId) artifactId published artifactId |
| -s (--snapshot) publish as SNAPSHOT version |
| publishAction actionName publish action into cloud |
| workspace (deprecated) |
| -v (--version) version action publishing version |
| -u (--username) username cloud user login name |
| -p (--password) password cloud user password |
| -r (--url) url inventory service URL |
| -i (--image) publish action with |
| screenshot |
| -na (--not_accelerate) don't accelerate the publish |
| -w (--workspace) workspace target workspace |
| listCloudWorkspaces list all available workspaces |
| for user (and action) |
| (deprecated) |
| -u (--username) username cloud user login name |
| -p (--password) password cloud user password |
| -r (--url) url inventory service URL |
| -n (--name) name action name |
| executeReport Execute reports |
| -n (--name) name Report names |
| -p (--path) path Report file pathes (relative |
| path, e.g. /Project/TDQ_Data |
| Profiling/Reports/File). |
| -pc (--report-context) context name chooses a report context |
| populateAudit Populate data into database |
| -ju (--jdbc-url) jdbc_url jdbc url for database |
| -dd (--db-driver) driver the driver of database |
| -du (--db-user) user the user of database |
| -up (--user-password) password user password |
| generateAuditReport auditId Generate the audit report |
| -fp (--filePath) filePath filePath |
| -t (--template) template Template of Audit |
| populateAndGenerateReport Populate and generate audit |
| report |
| -ju (--jdbc-url) jdbc_url jdbc url for database |
| -dd (--db-driver) driver the driver of database |
| -du (--db-user) user the user of database |
| -up (--user-password) password user password |
| -fp (--filePath) filePath filePath |
| -t (--template) template Template of Audit |
| exportJob jobName exportJob in commandline |
| (deprecated) |
| -dd (--destination-directory) path destination directory |
| -af (--archive-filename) filename archive filename without |
| extension |
| -jc (--job-context) context name chooses a job context |
| -jall (--job-add-log4j-level) log4j level name generate with the log4j |
| levels |
| -jv (--job-version) version chooses a job version |
| -jactc (--job-apply-context-to-children) apply context to children |
| -jstats (--job-add-statistics-code) generate with the statistics |
| instructions |
| -eo (--export-osgi) export job to osgi system |
| -ant (--add-ant-script) export job with ant build |
| script |
| -maven (--add-maven-script) export job with maven build |
| script |
| buildJob jobName buildJob in commandline |
| -dd (--destination-directory) path destination directory |
| -af (--archive-filename) filename archive filename without |
| extension |
| -jc (--job-context) context name chooses a job context |
| -jall (--job-add-log4j-level) log4j level name generate with the log4j |
| levels |
| -jv (--job-version) version chooses a job version |
| -jt (--job-type) type export the type of job |
| (PROCESS by default) |
| -jactc (--job-apply-context-to-children) apply context to children |
| -jstats (--job-add-statistics-code) generate with the statistics |
| instructions(deprecated) |
| -eo (--export-osgi) export job to osgi system |
| -tc (--add-test-containers) export job with test |
| cases(deprecated) |
| -ant (--add-ant-script) export job with ant build |
| script(deprecated) |
| -maven (--add-maven-script) export job with maven build |
| script(deprecated) |
| -il (--include-libs) include libs when building |
| job with maven(deprecated) |
| -ic (--include-context) include context when building |
| job with maven(deprecated) |
| -ijs (--include-java-source) include java source codes |
| when building job with maven |
| -its (--include-test-source) include test source codes |
| when building job with |
| maven(deprecated) |
| -et (--execute-tests) execute tests when building |
| job with maven |
| -bin (--binaries) export binaries when building |
| job with maven(deprecated) |
| -bt (--build-type) build type select job build type (Job by |
| default) |
| argument:Job|Microservice |
| -az (--export-as-zip) export microservice as zip |
| -od (--export-only-default-context) microservice only export the |
| default context |
| setUserComponentPath Set user component path |
| -up (--userComponentPath) path user component path |
| -c (--clear) clear the user component path |
| getCommandStatus commandId gets command status |
| -ci (--childIndex) index child index in Group Command |
| (if other commands, will be |
| ignore) |
| listProject lists available projects |
| -b (--branch) Show branch projects in svn |
| listCommand lists commands |
| -a (--all) lists all commands |
| -q (--queue) lists queue(waitting) |
| commands |
| -r (--run) lists running commands |
| importItems source (dir|.zip) imports items |
| -if (--item-filter) filterExpr item filter expression |
| -o (--overwrite) overwrite existing items |
| -s (--status) import the status |
| -sl (--statslogs) import stats & logs params |
| -im (--implicit) import implicit |
| listJob lists jobs |
| exportItems destination (dir|.zip) exports items |
| -d (--dependencies) include dependencies |
| -if (--item-filter) filterExpr item filter expression |
| startGroup start command group |
| -o (--origin) infor add some origin informations |
| stopGroup stop command group |
| cancelGroup cancel command group |
| executeJobOnServer jobName executes on server |
| -es (--execution-server) name execution [virtual] server |
| name |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -jcp (--job-context-param) key=value [key=value ...] provides a job context param |
| -jsp (--job-statistics-port) port setup the statistics port |
| -jtp (--job-trace-port) port setup the trace port |
| -jactc (--job-apply-context-to-children) apply context to children |
| -useSSL (--use-ssl-option) use ssl Protocol or not |
| -un (--jobserver-username) username jobserver username |
| -pd (--jobserver-password) password jobserver password |
| -jrrd (--job-result-destination-dir) jobResultDestDir job execution result |
| destination dir |
| -jall (--job-log4j-level) level log4j level |
| -ra (--run-as-user) runas run as user |
| deployJobToServer jobName Deploy job to server |
| -es (--execution-server) name execution [virtual] server |
| name |
| -jv (--job-version) version chooses a job version |
| -jc (--job-context) context name chooses a job context |
| -jactc (--job-apply-context-to-children) apply context to children |
| -useSSL (--use-ssl-option) use ssl Protocol or not |
| -un (--jobserver-username) username jobserver username |
| -pd (--jobserver-password) password jobserver password |
| -jall (--job-log4j-level) level log4j level |
| -sp (--statistics-port) port statistics port |
| -tp (--trace-port) port trace port |
| createProject creates a project |
| -pn (--project-name) technical name project name |
| -pd (--project-description) description project description |
| -pl (--project-language) language (java/perl) project language |
| -pa (--project-author) author login project author (email) |
| -pap (--project-author-password) password password of author |
| createTask taskName |
| -pn (--project-name) project name project name |
| -d (--description) description project description |
| -a (--active) active |
| -b (--project-branch) branch name project branch |
| -jn (--job-name) job name job name |
| -jv (--job-version) job version job-version |
| -jc (--job-context) job context job-context |
| -jactc (--job-apply-context-to-children) apply context to children |
| -rjc (--regenerate-job-on-change) regenerate job on change |
| -esn (--excution-server) execution server execution server |
| -ouj (--on-unavailable-jobserver) on unavailable jobserver |
| -ese (--execStatisticsEnabled) statistic enable |
| -asce (--add-statistics-code-enable) enabled statistics code |
| -ousj (--on-unknown-state-job) unknown state job provide the unknown state job |
| exportAsCWM dbConnectionName export a db metadata as CWM |
| -dd (--destination-directory) path destination directory |
| checkAndUpdate update from archiva server |
| which returnd by a specific |
| TAC |
| -tu (--tac-user-name) user name of a tac user |
| -tup (--tac-user-password) password password of a tac user |
| publishJob jobName publish job to Artifact |
| Repository |
| -r (--artifact-repository) url artifact repository |
| -u (--username) username username |
| -p (--password) password password |
| -rt (--repository-type) repository-type nexus2/nexus3 (nexus3 by |
| default) |
| -v (--version) version chooses a job version |
| -pv (--publish-version) version chooses a publish version |
| -g (--group) group chooses a job group |
| -a (--artifactId) artifactId published artifactId |
| -s (--snapshot) publish as SNAPSHOT version |
| -t (--type) exportType set export type, can be [osgi |
| | standalone (or std)]; osgi |
| by default |
| -jc (--job-context) contextName specify which job context you |
| want to use through inputing |
| the job context name |
| -jactc (--job-apply-context-to-children) specify this parameter if you |
| want to apply context to |
| children |
| buildItemSources item-id Build the source code of one |
| job or route from it's |
| internal id |
| -iv (--item-version) item-version Version of the item needed |
| changeMavenVersion maven-version Change Maven version of jobs |
| -ss (--snapshot) Use Snapshot |
| -sj (--subjobs) Include all sub jobs |
| -if (--item-filter) filterExpr item filter expression |
| addReference Create project reference |
| -ref (--references) references projectName/branches(tags)/bra|
| nchName(tagName), '|' as |
| separator if add many |
| projects |
| deleteReference Delete project reference |
| -ref (--references) references projectName, '|' as separator |
| if add many projects |
| regenerateAllPoms Regenerate all poms |
| -if (--item-filter) filterExpr item filter expression |
| generateMigrationReport Generate migration check |
| report for upgrade safe |
| guarding |
| -dp (--data-path) dataPath (dir) a valid dir to load migration |
| check data |
| -rp (--report-path) reportPath (dir) report path |
| -from (--from-version) from_version migration check report source |
| product version |
| -to (--to-version) to_version [to_version ...] migration check report target |
| product version |
| -ps (--projects) projects migration check report |
| projects sepereated by | |
+--------------------------------------------------------------------------------------------------+
| Copyright (C) 2006-2018 Talend - www.talend.com |
+--------------------------------------------------------------------------------------------------+