c8y(1)
π c8y(1) β the tenant version page, bestie edition
okay so real talk, someone told you to run c8y-currenttenant-version and you're like "what even is that" β don't panic, I got you. This is the Get tenant version command, and it's lowkey the easiest thing in the whole CLI. Let's go π
β¨ NAME β¨
c8y-currenttenant-version β Get tenant version. that's it. that's the whole mission. π«Ά
πΈ SYNOPSIS πΈ
c8y currenttenant version [flags]
π¦ DESCRIPTION π¦
Get tenant platform (backend) version. literally just asks the server "hey bestie what version are you on" and tells you. no cap, that's it. π
π OPTIONS π
-h,--help=falseβ help for version. use it when you're lost, which is never, but like, in case β¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the vibes you get for free from the parent commands. yes, all of them. all 40-something. slay.
--abortOnErrors=10β abort batch when reaching specified number of errors. so it taps out after this many oopsies--allowEmptyPipe=falseβ don't fail when piped input is empty (stdin). be forgiving bestie π₯Ί--cache=falseβ enable cached responses--cacheBodyPaths=[]β cache should limit hashing of selected paths in the json body. Empty indicates all values--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m-c,--compact=falseβ compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal--confirm=falseβ prompt for confirmation. it's giving "are you sure??"--confirmText=""β custom confirmation text--currentPage=0β current page which should be returned--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'--debug=falseβ set very verbose log messages. main character logs only π₯--delay="0ms"β delay after each request, i.e.5ms,1.2s--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s--dry=falseβ dry run. Don't send any data to the server. pretend mode, we love her π--dryFormat="markdown"β dry run output format. i.e.json,dump,markdownorcurl--examples=falseβ show examples for the current command. yes queen, teach me--filter=[]β apply a client side filter to response before returning it to the user--flatten=falseβ flatten json output by replacing nested json properties with properties where their names are represented by dot notation-f,--force=falseβ do not prompt for confirmation. Ignored when using--confirm. bold of you, I respect it π-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue"--includeAll=falseβ include all results by iterating through each page-k,--insecure=falseβ allow insecure server connections when using SSL. risky queen, but okay π-l,--logMessage=""β add custom message to the activity log--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!) β οΈ like fr fr be careful--noAccept=falseβ ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect--noCache=falseβ force disabling of cached responses (overwrites cache setting)-M,--noColor=falseβ don't use colors when displaying log entries on the console. sad but valid--noLog=falseβ disables the activity log for the current command--noProgress=falseβ disable progress bars--noProxy=falseβ ignore the proxy settings-n,--nullInput=falseβ don't read the input (stdin). Useful if using in shell for/while loops-o,--output="table"β output format i.e.table,json,csv,csvheader--outputFile=""β save JSON output to file (after select/view)--outputFileRaw=""β save raw response to file (before select/view)--outputTemplate=""β jsonnet template to apply to the output-p,--pageSize=5β maximum results per page--progress=falseβ show progress bar. This will also disable any other verbose output--proxy=""β proxy setting, i.e.http://10.0.0.1:8080-r,--raw=falseβ show raw response. This mode will forceoutput=jsonandview=off--retries=3β max number of attempts when a failed http call is encountered--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'--session=""β session configuration--sessionMode=""β override default session mode for a single command which would normally be disabled-P,--sessionPassword=""β override session password π€«-U,--sessionUsername=""β override session username. i.e.peterort1234/peter(with tenant)--silentExit=falseβ silent status codes do not affect the exit code--silentStatusCodes=""β status codes which will not print out an error message--timeout="600s"β request timeout duration, i.e.60s,2m--totalPages=0β total number of pages to get-v,--verbose=falseβ verbose logging--view="auto"β use views when displaying data on the terminal. Disable using--view off--withError=falseβ errors will be printed on stdout instead of stderr--withTotalElements=falseβ request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13)-t,--withTotalPages=falseβ request Cumulocity to include the total pages in the response statistics under.statistics.totalPages--workers=1β number of workers
π EXAMPLE π
$ c8y currenttenant version
Set the required availability of a device by name to 10 minutes
(yeah the example output is a little unhinged, that's what the original says, I'm not gonna change it π it's iconic in its own way)
π SEE ALSO π
c8y-currenttenant(1)β go meet the parent, she's lovely π«Ά
that's the whole page bestie, go forth and version-check those tenants. iykyk πβ¨π
<small>originally written way back in Jan 1980 (yes, the actual date on this manpage, no I don't know why either π) β mwah, catch you in the next manpage π</small>
π¦ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms