c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

Bestie, welcome to the c8y(1) manual page โ€” the Cumulocity CLI one. Todayโ€™s main character is c8y-tenantstatistics, aka Cumulocity tenant statistics, and she is serving REST endpoint energy. Weโ€™re gonna read every flag together, no skipping. ๐Ÿ’…โœจ

๐ŸŽ€ NAME ๐ŸŽ€

c8y-tenantstatistics - Cumulocity tenant statistics. Thatโ€™s the whole name, and she ate. ๐Ÿ“

๐Ÿ“œ SYNOPSIS ๐Ÿ“œ

c8y tenantstatistics [flags]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

This is the REST endpoint to interact with Cumulocity tenant statistics. Lowkey essential if tenant stats are your thing. ๐Ÿฆ‹

โœจ OPTIONS โœจ

Only one local option here, but sheโ€™s important:

  • -h, --help[=false] โ€” help for tenantstatistics ๐Ÿ’–

๐ŸŒˆ OPTIONS INHERITED FROM PARENT COMMANDS ๐ŸŒˆ

These are inherited from the parent commands โ€” hand-me-downs, but make it fashion. ๐Ÿ˜Œ

  • --abortOnErrors=10 โ€” aborts the batch when it reaches the specified number of errors ๐Ÿ˜ญ
  • --allowEmptyPipe[=false] โ€” donโ€™t fail when the piped input (stdin) is empty ๐Ÿซถ
  • --cache[=false] โ€” enables cached responses ๐Ÿงš
  • --cacheBodyPaths=[] โ€” lets the cache limit hashing to selected paths in the json body; empty means all values ๐Ÿ“
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration, like 60s or 2m โญ
  • -c, --compact[=false] โ€” compacts output instead of pretty-printing when youโ€™re using json output; pretty print is the default if output is the terminal ๐Ÿ’…
  • --confirm[=false] โ€” prompts for confirmation ๐Ÿ™ˆ
  • --confirmText="" โ€” custom confirmation text ๐ŸŽ€
  • --currentPage=0 โ€” current page which should be returned ๐Ÿ“„
  • --customQueryParam=[] โ€” adds custom URL query parameters, like --customQueryParam 'withCustomOption=true,myOtherOption=myvalue' ๐Ÿ”ฅ
  • --debug[=false] โ€” sets very verbose log messages ๐Ÿซถ
  • --delay="0ms" โ€” delay after each request, like 5ms or 1.2s โณ
  • --delayBefore="0ms" โ€” delay before each request, like 5ms or 1.2s โณ
  • --dry[=false] โ€” dry run โ€” donโ€™t send any data to the server ๐ŸŒธ
  • --dryFormat="markdown" โ€” dry run output format, like json, dump, markdown, or curl ๐Ÿ’œ
  • --examples[=false] โ€” shows examples for the current command โœจ
  • --filter=[] โ€” applies a client-side filter to the response before returning it to you ๐Ÿฆ‹
  • --flatten[=false] โ€” flattens json output by replacing nested json properties with properties whose names use dot notation ๐Ÿงš
  • -f, --force[=false] โ€” do not prompt for confirmation; ignored when using --confirm ๐Ÿ’€
  • -H, --header=[] โ€” custom headers, like --header "Accept: value, AnotherHeader: myvalue" ๐Ÿ‘‘
  • --includeAll[=false] โ€” includes all results by iterating through each page ๐ŸŒˆ
  • -k, --insecure[=false] โ€” allows insecure server connections when using SSL ๐Ÿ‘€
  • -l, --logMessage="" โ€” adds a custom message to the activity log ๐Ÿ“
  • --maxJobs=0 โ€” maximum number of jobs; 0 = unlimited (use with caution!) ๐Ÿ˜ญ๐Ÿ”ฅ
  • --noAccept[=false] โ€” ignores the Accept header by removing it from requests; however, PUT and POST requests will only see the effect ๐Ÿ’…
  • --noCache[=false] โ€” force-disables cached responses (overwrites the cache setting) ๐Ÿ™…โ€โ™€๏ธ
  • -M, --noColor[=false] โ€” donโ€™t use colors when displaying log entries on the console ๐ŸŽจ
  • --noLog[=false] โ€” disables the activity log for the current command ๐Ÿšซ
  • --noProgress[=false] โ€” disables progress bars ๐Ÿ“‰
  • --noProxy[=false] โ€” ignores the proxy settings ๐ŸŒ
  • -n, --nullInput[=false] โ€” donโ€™t read input (stdin); useful if using in shell for/while loops ๐ŸŒ€
  • -o, --output="table" โ€” output format, like table, json, csv, csvheader ๐Ÿ“Š
  • --outputFile="" โ€” saves JSON output to a file (after select/view) ๐Ÿ’พ
  • --outputFileRaw="" โ€” saves the raw response to a file (before select/view) ๐Ÿ—‚๏ธ
  • --outputTemplate="" โ€” jsonnet template to apply to the output ๐Ÿงฉ
  • -p, --pageSize=5 โ€” maximum results per page ๐Ÿ“š
  • --progress[=false] โ€” shows a progress bar; this also disables any other verbose output ๐Ÿ“ถ
  • --proxy="" โ€” proxy setting, like http://10.0.0.1:8080 ๐Ÿ›ฐ๏ธ
  • -r, --raw[=false] โ€” shows the raw response; this mode forces output=json and view=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, like --select 'id,name,type,**.serialNumber' ๐ŸŽฏ
  • --session="" โ€” session configuration ๐Ÿ”
  • --sessionMode="" โ€” overrides the default session mode for a single command which would normally be disabled ๐ŸŽ›๏ธ
  • -P, --sessionPassword="" โ€” overrides the session password ๐Ÿคซ
  • -U, --sessionUsername="" โ€” overrides the session username, like peter or t1234/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, like 60s or 2m โŒ›
  • --totalPages=0 โ€” total number of pages to get ๐Ÿ“–
  • -v, --verbose[=false] โ€” verbose logging ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” uses views when displaying data on the terminal; disable with --view off ๐Ÿ‘€
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr ๐Ÿšจ
  • --withTotalElements[=false] โ€” asks Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13) ๐Ÿงฎ
  • -t, --withTotalPages[=false] โ€” asks Cumulocity to include the total pages in the response statistics under .statistics.totalPages ๐Ÿ“‘
  • --workers=1 โ€” number of workers ๐Ÿ‘ฏโ€โ™€๏ธ

๐Ÿ”— SEE ALSO ๐Ÿ”—


Signing off from the c8y(1) page, dated Jan 1980 โ€” vintage manual energy, but make it current. Stay slay, bestie. ๐Ÿ’–๐Ÿฆ‹๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from