c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’… c8y(1) β€” the Cumulocity CLI, realtime edition πŸ›°οΈ

okay bestie, you're looking at the c8y manual page β€” specifically the realtime corner of it β€” and honestly? it's giving "powerful tool, zero hand-holding." so let's break it down together, no cap. 🫢


✨ NAME ✨

c8y-realtime β€” Cumulocity realtime notifications. that's the whole vibe. it's realtime, it's notifications, it's Cumulocity. periodt. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

c8y realtime [flags]

that's it. c8y realtime, plus whatever flags you're feeling. main character energy fr. ✨


🌸 DESCRIPTION 🌸

Cumulocity realtime notifications. yep β€” that's literally the description, she's a woman of few words and honestly? iconic. this is the doorway to the realtime stream, and the actual subscribing happens in the commands below (see SEE ALSO, babes). πŸ’…


πŸ’œ OPTIONS πŸ’œ

  • -h, --help[=false] β€” help for realtime. yes, the classic. whenever you're lost, just ask for help, she's there. πŸ₯Ί

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

okay so this is the big one β€” every single one of these comes from the parent command, so they work here too. buckle up, bestie, there are a LOT and we're going through all of them. πŸ”₯

  • --abortOnErrors=10 β€” Abort batch when reaching specified number of errors. so if things go sideways 10 times, she's out. default is 10.
  • --allowEmptyPipe[=false] β€” Don't fail when piped input is empty (stdin). no input? no drama. πŸ“
  • --cache[=false] β€” Enable cached responses. memory queen.
  • --cacheBodyPaths=[] β€” Cache should limit hashing of selected paths in the json body. Empty indicates all values. so [] means hash literally everything.
  • --cacheTTL="60s" β€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. default lives at "60s".
  • -c, --compact[=false] β€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. so she's pretty until you tell her not to be.
  • --confirm[=false] β€” Prompt for confirmation. a little "u sure tho?" moment. πŸ™ˆ
  • --confirmText="" β€” Custom confirmation text. make the "u sure tho?" say whatever you want.
  • --currentPage=0 β€” Current page which should be returned. default 0.
  • --customQueryParam=[] β€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. go off, add whatever params you want.
  • --debug[=false] β€” Set very verbose log messages. she will NOT stop talking. πŸ’€
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. default "0ms".
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. default "0ms". before AND after, she's thorough.
  • --dry[=false] β€” Dry run. Don't send any data to the server. window shopping only, no buying. πŸ›οΈ
  • --dryFormat="markdown" β€” Dry run output format. i.e. json, dump, markdown or curl. default "markdown".
  • --examples[=false] β€” Show examples for the current command. love a tutorial moment. ✨
  • --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. nested? not anymore bestie.
  • -f, --force[=false] β€” Do not prompt for confirmation. Ignored when using --confirm. she's assertive. πŸ’…
  • -H, --header=[] β€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue".
  • --includeAll[=false] β€” Include all results by iterating through each page. all of them. every last one.
  • -k, --insecure[=false] β€” Allow insecure server connections when using SSL. ⚠️ yeah that's exactly what it sounds like β€” careful out there.
  • -l, --logMessage="" β€” Add custom message to the activity log.
  • --maxJobs=0 β€” Maximum number of jobs. 0 = unlimited (use with caution!). the caution is theirs, not mine, but like… caution. 😭
  • --noAccept[=false] β€” Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. read that again, it's specific.
  • --noCache[=false] β€” Force disabling of cached responses (overwrites cache setting). cache? never heard of her.
  • -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.
  • --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. lifesaver fr.
  • -o, --output="table" β€” Output format i.e. table, json, csv, csvheader. default "table".
  • --outputFile="" β€” Save JSON output to file (after select/view).
  • --outputFileRaw="" β€” Save raw response to file (before select/view). before vs after β€” know the difference, bestie.
  • --outputTemplate="" β€” jsonnet template to apply to the output.
  • -p, --pageSize=5 β€” Maximum results per page. default 5.
  • --progress[=false] β€” Show progress bar. This will also disable any other verbose output. it's her or the chatter, not both.
  • --proxy="" β€” Proxy setting, i.e. http://10.0.0.1:8080.
  • -r, --raw[=false] β€” Show raw response. This mode will force output=json and view=off. no filter, no edits, just vibes.
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. default 3. she tries again. πŸ₯Ί
  • --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. 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, i.e. 60s, 2m. default "600s".
  • --totalPages=0 β€” Total number of pages to get. default 0.
  • -v, --verbose[=false] β€” Verbose logging.
  • --view="auto" β€” Use views when displaying data on the terminal. Disable using --view off. default "auto".
  • --withError[=false] β€” Errors will be printed on stdout instead of stderr. plot twist.
  • --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. default 1, but like… you could have more. πŸ‘€

πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, they're the whole point:


and that's the page!! mwah πŸ’‹ this little doc is brought to you by the c8y(1) manual β€” dated Jan 1980 (yes, actual vintage, she's been serving since forever πŸŽ€) β€” from the c8y(1) corner of the manual. now go subscribe to something and slay. πŸ’–βœ¨

πŸ“¦ where this page comes from