c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

๐Ÿ’… c8y-events-assert โ€” the c8y(1) girlies' guide ๐ŸŽ€

Okay so bestie, welcome to c8y-events-assert โœจ this is the page for the event-assertions corner of the c8y universe, and I'm gonna walk you through it like we're speedrunning it in the group chat ๐Ÿ’–


๐ŸŒธ NAME ๐ŸŒธ

c8y-events-assert โ€” Event assertions ๐Ÿ’… literally what it says on the tin


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

c8y events assert [flags]

Periodt. That's the whole invocation ๐ŸŒˆ


โœจ DESCRIPTION โœจ

Assertions related to Cumulocity events ๐Ÿซถ that's the vibe. It's the assert-y subcommand under events, and the rest of this page is all the flags you can slap onto it (or that it inherits from its parent โ€” more on that below ๐Ÿ‘€).


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

These are the ones that are hers, main-character energy only ๐ŸŽ€

  • -h, --help[=false] โ€” shows help for assert ๐Ÿ’– iconic, self-explanatory, we love a queen who explains herself

๐Ÿ’œ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿ’œ

Okay so this is the long part, and ngl it's giving "inherited the whole closet" energy ๐ŸŒˆ but every single one matters, so let's go bestie, no skipping ๐Ÿซถ

  • --abortOnErrors=10 โ€” bails on the batch once it hits the specified number of errors ๐Ÿ’€
  • --allowEmptyPipe[=false] โ€” don't fail when piped input (stdin) is empty ๐Ÿซถ
  • --cache[=false] โ€” turns on cached responses โญ
  • --cacheBodyPaths=[] โ€” cache should limit hashing of selected paths in the json body. Empty indicates all values ๐Ÿ‘€
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m โณ
  • -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] โ€” prompts for confirmation ๐Ÿ™ˆ
  • --confirmText="" โ€” custom confirmation text ๐Ÿ’ฌ
  • --currentPage=0 โ€” current page which should be returned ๐Ÿ“„
  • --customQueryParam=[] โ€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue' ๐Ÿ”—
  • --debug[=false] โ€” set very verbose log messages ๐Ÿ“ข
  • --delay="0ms" โ€” delay after each request, i.e. 5ms, 1.2s โฑ๏ธ
  • --delayBefore="0ms" โ€” delay before each request, i.e. 5ms, 1.2s โฑ๏ธ
  • --dry[=false] โ€” dry run. Don't send any data to the server ๐Ÿšซ
  • --dryFormat="markdown" โ€” dry run output format. i.e. json, dump, markdown or curl ๐Ÿ“
  • --examples[=false] โ€” show examples for the current command ๐ŸŒŸ
  • --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 ๐Ÿช„
  • -f, --force[=false] โ€” do not prompt for confirmation. Ignored when using --confirm ๐Ÿ’ช
  • -H, --header=[] โ€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue" ๐Ÿ“จ
  • --includeAll[=false] โ€” include all results by iterating through each page ๐Ÿ“š
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL ๐Ÿ”“
  • -l, --logMessage="" โ€” add custom message to the activity log ๐Ÿ—’๏ธ
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (use with caution!) โš ๏ธ
  • --noAccept[=false] โ€” ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect ๐Ÿ™ƒ
  • --noCache[=false] โ€” force disabling of cached responses (overwrites 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] โ€” 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 ๐Ÿ”
  • -o, --output="table" โ€” output format i.e. table, json, csv, csvheader ๐Ÿ“ค
  • --outputFile="" โ€” save JSON output to file (after select/view) ๐Ÿ’พ
  • --outputFileRaw="" โ€” save raw response to file (before select/view) ๐Ÿ’พ
  • --outputTemplate="" โ€” jsonnet template to apply to the output ๐Ÿงฉ
  • -p, --pageSize=5 โ€” maximum results per page ๐Ÿ“–
  • --progress[=false] โ€” show progress bar. This will also disable any other verbose output ๐Ÿ“ˆ
  • --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 ๐Ÿฅฉ
  • --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, 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 โŒ›
  • --totalPages=0 โ€” total number of pages to get ๐Ÿ“‘
  • -v, --verbose[=false] โ€” verbose logging ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” use views when displaying data on the terminal. Disable using --view off ๐Ÿ‘๏ธ
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr ๐Ÿšจ
  • --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 ๐Ÿ‘ทโ€โ™€๏ธ
fr fr bestie, --maxJobs=0 means unlimited, and the manpage itself says "use with caution!" โ€” so like, go off but know what you're doing ๐Ÿ’€๐Ÿ’–

๐ŸŒŸ SEE ALSO ๐ŸŒŸ

Go read these next, iykyk ๐Ÿ‘‘


That's the whole page, bestie, you ate that ๐Ÿ“๐Ÿ’… signed off from way back in Jan 1980 under the c8y(1) banner โ€” vintage but still slaying โœจ๐Ÿซถ

๐Ÿ“ฆ where this page comes from