本文档翻译自:https://docs.conan.io/en/latest/reference/commands/misc/conan_build_info.html#conan-build-info-v2
$ conan_build_info --v2 [-h] {start,stop,create,update,publish} ...
Generates build-info from lockfiles informationpositional arguments:{start,stop,create,update,publish}sub-command helpstart Command to incorporate to the artifacts.properties thebuild name and numberstop Command to remove from the artifacts.properties thebuild name and numbercreate Command to generate a build info json from a lockfileupdate Command to update a build info json with another onepublish Command to publish the build info to Artifactoryoptional arguments:-h, --help show this help message and exit
start subcommand:
usage: conan_build_info --v2 start [-h] build_name build_numberpositional arguments:build_name build name to assignbuild_number build number to assignoptional arguments:-h, --help show this help message and exit
stop subcommand:
usage: conan_build_info --v2 stop [-h]optional arguments:-h, --help show this help message and exit
create subcommand:
usage: conan_build_info --v2 create [-h] --lockfile LOCKFILE [--user [USER]][--password [PASSWORD]] [--apikey [APIKEY]]build_info_filepositional arguments:build_info_file build info json for outputoptional arguments:-h, --help show this help message and exit--lockfile LOCKFILE input lockfile--user [USER] user--password [PASSWORD]password--apikey [APIKEY] apikey
publish subcommand:
usage: conan_build_info --v2 publish [-h] --url URL [--user [USER]][--password [PASSWORD]] [--apikey [APIKEY]]buildinfopositional arguments:buildinfo build info to uploadoptional arguments:-h, --help show this help message and exit--url URL url--user [USER] user--password [PASSWORD]password--apikey [APIKEY] apikey
update subcommand:
usage: conan_build_info --v2 update [-h] [--output-file OUTPUT_FILE]buildinfo [buildinfo ...]positional arguments:buildinfo buildinfo files to mergeoptional arguments:-h, --help show this help message and exit--output-file OUTPUT_FILEpath to generated build info file
