c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

okay bestie, you opened the c8y manual page (that's the manual name β€” c8y, section 1, the whole vibe) and honestly? you're about to understand the Cumulocity databroker situation. stay with me, it's gonna slay πŸ’…


🌸 NAME

c8y-databroker β€” literally the Cumulocity databroker. no cap, that's it, that's the name 🫢

✨ SYNOPSIS

c8y databroker [flags]

πŸ¦‹ DESCRIPTION

it's the REST endpoint you use to interact with the Cumulocity databroker. that's the whole job, and it does it iconically πŸ‘‘

πŸŽ€ OPTIONS

  • -h, --help[=false] β€” bestie, help for databroker. it tells you about databroker. love that for us πŸ’–

🌈 OPTIONS INHERITED FROM PARENT COMMANDS

okay so this is the long part, but every single one of these is inherited from the parent commands and you're gonna want all of them, so let's go, no skipping 🧚

  • --abortOnErrors=10 β€” abort the batch once you hit the specified number of errors. default is 10, so ten strikes and the batch is out πŸ’€
  • --allowEmptyPipe[=false] β€” don't fail when the piped input (stdin) is empty. default is false, meaning empty pipe = sad. set it and it's chill πŸ“
  • --cache[=false] β€” enable cached responses. off (false) unless you say otherwise ✨
  • --cacheBodyPaths=[] β€” the cache should only hash these selected paths in the json body. empty (the default []) means all values get hashed πŸ”₯
  • --cacheTTL="60s" β€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m. default is "60s" ⏳
  • -c, --compact[=false] β€” compact instead of pretty-printed output when using json output. important: pretty print is the default if the output is the terminal πŸ’…
  • --confirm[=false] β€” prompt for confirmation. default false πŸ’–
  • --confirmText="" β€” custom confirmation text. default is the empty string "" 🫢
  • --currentPage=0 β€” current page which should be returned. default 0 πŸ“„
  • --customQueryParam=[] β€” add custom URL query parameters, i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. default [] πŸ”—
  • --debug[=false] β€” set very verbose log messages. the "what is happening" mode πŸ›
  • --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" 😴
  • --dry[=false] β€” dry run. don't send any data to the server. so brave πŸ™ˆ
  • --dryFormat="markdown" β€” dry run output format, i.e. json, dump, markdown or curl. default "markdown" πŸ“
  • --examples[=false] β€” show examples for the current command. yes queen, show us πŸ™Œ
  • --filter=[] β€” apply a client side filter to the response before returning it to the user. default [] 🧹
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. default false πŸͺ„
  • -f, --force[=false] β€” do not prompt for confirmation. ignored when using --confirm ⚠️ (fr fr, --confirm wins)
  • -H, --header=[] β€” custom headers, i.e. --header "Accept: value, AnotherHeader: myvalue". default [] πŸ“¨
  • --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. okay risky icon, use with intention πŸ”“
  • -l, --logMessage="" β€” add a custom message to the activity log. default "" πŸ’¬
  • --maxJobs=0 β€” maximum number of jobs. 0 = unlimited (use with caution!). caution noted, bestie 😭
  • --noAccept[=false] β€” ignore the Accept header. this removes the Accept header from requests, however PUT and POST requests will only see the effect 🚫
  • --noCache[=false] β€” force disabling of cached responses (overwrites the cache setting). it beats --cache, periodt 😀
  • -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. no little bars for you 🚫
  • --noProxy[=false] β€” ignore the proxy settings πŸ•΅οΈ
  • -n, --nullInput[=false] β€” don't read the input (stdin). useful if using in shell for/while loops. loops say thank you πŸ”
  • -o, --output="table" β€” output format, i.e. table, json, csv, csvheader. default "table" πŸ“Š
  • --outputFile="" β€” save JSON output to file (after select/view). default "" πŸ’Ύ
  • --outputFileRaw="" β€” save raw response to file (before select/view). default "" πŸ—ƒοΈ
  • --outputTemplate="" β€” jsonnet template to apply to the output. default "" 🧡
  • -p, --pageSize=5 β€” maximum results per page. default is 5, tiny little pages πŸŽ€
  • --progress[=false] β€” show progress bar. heads up: this will also disable any other verbose output 🚦
  • --proxy="" β€” proxy setting, i.e. http://10.0.0.1:8080. default "" 🌐
  • -r, --raw[=false] β€” show raw response. this mode will force output=json and view=off. no negotiating 😌
  • --retries=3 β€” max number of attempts when a failed http call is encountered. default 3, we try three times πŸ’ͺ
  • --select=[] β€” comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber' ✨
  • --session="" β€” session configuration. default "" πŸ”
  • --sessionMode="" β€” override the default session mode for a single command which would normally be disabled. default "" 🎭
  • -P, --sessionPassword="" β€” override session password. default "" 🀫
  • -U, --sessionUsername="" β€” override session username, i.e. peter or t1234/peter (with tenant). default "" πŸ§‘β€πŸ’»
  • --silentExit[=false] β€” silent status codes do not affect the exit code. default false 🀐
  • --silentStatusCodes="" β€” status codes which will not print out an error message. default "" πŸ™Š
  • --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. say more πŸ”
  • --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, one hardworking little worker bee 🐝

πŸ’œ SEE ALSO


and that's the page, bestie!! 🫢 source/version line says c8y(1) and it's dated Jan 1980 (yes, really, she's vintage πŸ’€). go forth and databroke-nothing, mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from