c8y(1)
π 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 is10.--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. default0.--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,markdownorcurl. 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 shellfor/whileloops. 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. default5.--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 forceoutput=jsonandview=off. no filter, no edits, just vibes.--retries=3β Max number of attempts when a failed http call is encountered. default3. 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.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. default"600s".--totalPages=0β Total number of pages to get. default0.-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. default1, 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
- 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