c8y(1)
π NAME π
okay so bestie, welcome to the c8y(1) manual page for c8y-measurements-assert β measurement assertions. Thatβs the name, thatβs the vibe, and yes weβre doing this. π
β¨
πΈ SYNOPSIS πΈ
c8y measurements assert [flags]
β¨ DESCRIPTION β¨
Assertions related to Cumulocity measurements. Like, this is the page for measurement assertion business β thatβs the whole assignment. π«Ά
π OPTIONS π
-h,--help[=false]β help for assert. Itβs giving βshow me the help forassert,β periodt. π
π¦ OPTIONS INHERITED FROM PARENT COMMANDS π¦
these are inherited from the parent commands, so theyβre still fully in the group chat:
--abortOnErrors=10β abort the batch when you reach the specified number of errors. Default is10, no cap. π--allowEmptyPipe[=false]β donβt fail when piped input is empty (stdin). Empty pipe? No drama. π--cache[=false]β enable cached responses. Cache era. β¨--cacheBodyPaths=[]β cache should limit hashing of selected paths in thejsonbody. Empty indicates all values. Lowkey selective hashing. π¦--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. Itβs giving expiry date. β³-c,--compact[=false]β compact instead of pretty-printed output when usingjsonoutput. Pretty print is the default if output is the terminal. π--confirm[=false]β prompt for confirmation. Yes bestie, are you sure? π--confirmText=""β custom confirmation text. Make it cute. π--currentPage=0β current page which should be returned. Page check. π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. URL customization slay. π₯--debug[=false]β set very verbose log messages. Debug mode = main character energy. π--delay="0ms"β delay after each request, i.e.5ms,1.2s. Pause for dramatic effect. β--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. Pre-game pause. πΈ--dry[=false]β dry run. Donβt send any data to the server. Fake it till you make it, but make it dry. π§--dryFormat="markdown"β dry run output format. i.e.json,dump,markdownorcurl. Format choose-your-own-adventure. π--examples[=false]β show examples for the current command. Examples are literally the bestie behavior. π«Ά--filter=[]β apply a client side filter to response before returning it to the user. Filter it before it hits the timeline. π--flatten[=false]β flattenjsonoutput by replacing nestedjsonproperties with properties where their names are represented by dot notation. Nested? Not anymore. π¦-f,--force[=false]β do not prompt for confirmation. Ignored when using--confirm. Force, but respectfully ignored sometimes. π-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". Header glam. β¨--includeAll[=false]β include all results by iterating through each page. All the pages, all the results. π-k,--insecure[=false]β allow insecure server connections when using SSL. Risky vibe, but itβs in the flags. π-l,--logMessage=""β add custom message to the activity log. Log it like you mean it. π--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). Bestie, the caution is real. β οΈ--noAccept[=false]β ignore Accept header: this will remove the Accept header from requests, however PUT and POST requests will only see the effect. Header removal with a plot twist. π--noCache[=false]β force disabling of cached responses (overwrites cache setting). Cache? Not today. π«-M,--noColor[=false]β donβt use colors when displaying log entries on the console. Monochrome moment. π€--noLog[=false]β disables the activity log for the current command. No log, no trace, ghost mode. π»--noProgress[=false]β disable progress bars. No little bar doing its thing. π«--noProxy[=false]β ignore the proxy settings. Proxy? Never met her. π-n,--nullInput[=false]β donβt read the input (stdin). Useful if using in shellfor/whileloops. Loop-friendly behavior. π-o,--output="table"β output format, i.e.table,json,csv,csvheader. The default istable, bestie. π--outputFile=""β save JSON output to file (after select/view). Save it after the select/view moment. πΎ--outputFileRaw=""β save raw response to file (before select/view). Save the raw thing first. π§--outputTemplate=""βjsonnettemplate to apply to the output. Template it up. π-p,--pageSize=5β maximum results per page. Default5, tiny but mighty. π--progress[=false]β show progress bar. This will also disable any other verbose output. Progress bar enters the chat. π--proxy=""β proxy setting, i.e.http://10.0.0.1:8080. Proxy config realness. π-r,--raw[=false]β show raw response. This mode will forceoutput=jsonandview=off. Raw and unfiltered. π--retries=3β max number of attempts when a failed http call is encountered. Try again, bestie. Default3. π--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. Pick your faves. π--session=""β session configuration. Session setup vibes. π--sessionMode=""β override default session mode for a single command which would normally be disabled. One-command session mode override. π¦-P,--sessionPassword=""β override session password. Password override, but make it secure. π-U,--sessionUsername=""β override session username. i.e.peterort1234/peter(with tenant). Username era. π--silentExit[=false]β silent status codes do not affect the exit code. Silent but not exit-code-relevant. π€«--silentStatusCodes=""β status codes which will not print out an error message. No error message for these codes. π«--timeout="600s"β request timeout duration, i.e.60s,2m. Default600s, patient queen. β³--totalPages=0β total number of pages to get. How many pages? This many. π-v,--verbose[=false]β verbose logging. Say more, bestie. π£οΈ--view="auto"β use views when displaying data on the terminal. Disable using--view off. View it or donβt. π--withError[=false]β errors will be printed onstdoutinstead ofstderr. Error plot twist. π--withTotalElements[=false]β request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13). Stats moment. π-t,--withTotalPages[=false]β request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. Page stats, slay. π--workers=1β number of workers. Default1, squad size. π«Ά
π SEE ALSO π
Signing off from the c8y(1) manual, Jan 1980 edition β source/version and date mentioned, cute and accounted for. Bye bestie, go slay your measurements! πβ¨π
π¦ 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