c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’– 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 for assert,” 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 is 10, 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 the json body. 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 using json output. 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, markdown or curl. 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] β€” flatten json output by replacing nested json properties 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 shell for/while loops. Loop-friendly behavior. πŸ”
  • -o, --output="table" β€” output format, i.e. table, json, csv, csvheader. The default is table, 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="" β€” jsonnet template to apply to the output. Template it up. πŸŽ€
  • -p, --pageSize=5 β€” maximum results per page. Default 5, 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 force output=json and view=off. Raw and unfiltered. πŸ’…
  • --retries=3 β€” max number of attempts when a failed http call is encountered. Try again, bestie. Default 3. πŸ”
  • --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. peter or t1234/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. Default 600s, 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 on stdout instead of stderr. Error plot twist. 😭
  • --withTotalElements[=false] β€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.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. Default 1, 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