c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the c8y(1) manual page bestie!! this one's all about c8y-databroker-list β€” the lil command that gets you a data broker collection. yep. that's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

that's it. that's the whole thing. flags are optional but honestly kind of the main character here πŸ‘‘


🌸 DESCRIPTION 🌸

it gets you a collection of existing data broker connectors. like, all of them. the whole squad. no cap πŸ’…


✨ OPTIONS ✨

  • -h, --help[=false] β€” shows you the help for list. the "wait what does this do again" button 🫢

πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

these ones are literally handed down from the parent command like a family heirloom. there are a LOT of them. buckle up bestie 😭

  • --abortOnErrors=10 β€” bails on the whole batch once you hit the specified number of errors
  • --allowEmptyPipe[=false] β€” don't fail when the piped input (stdin) is empty. very forgiving of you πŸ’œ
  • --cache[=false] β€” turns on cached responses
  • --cacheBodyPaths=[] β€” the cache should limit hashing to the selected paths in the json body. empty means all values get hashed
  • --cacheTTL="60s" β€” cache time-to-live (TTL) written as a duration, like 60s or 2m
  • -c, --compact[=false] β€” compact output instead of pretty-printed when you're using json output. pretty print is the default when output is the terminal
  • --confirm[=false] β€” prompts you for confirmation
  • --confirmText="" β€” your own custom confirmation text. make it cute πŸŽ€
  • --currentPage=0 β€” the current page that should be returned
  • --customQueryParam=[] β€” adds custom URL query parameters, like --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'
  • --debug[=false] β€” sets very verbose log messages. the "tell me EVERYTHING" setting πŸ—£οΈ
  • --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. doesn't send any data to the server. fake it till you make it energy πŸ™ˆ
  • --dryFormat="markdown" β€” the 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 it gets returned to you
  • --flatten[=false] β€” flattens json output by swapping nested json properties for properties whose names are written in dot notation
  • -f, --force[=false] β€” do not prompt for confirmation. ignored when you're using --confirm (they do NOT play nice together, pick a lane πŸ’€)
  • -H, --header=[] β€” custom headers, like --header "Accept: value, AnotherHeader: myvalue"
  • --includeAll[=false] β€” includes all results by iterating through each page. all of them. every single one πŸŒ€
  • -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! fr fr, be careful with this one ⚠️)
  • --noAccept[=false] β€” ignores the Accept header, which removes the Accept header from requests β€” however PUT and POST requests will only see the effect
  • --noCache[=false] β€” forces cached responses off (overwrites the cache setting)
  • -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] β€” disables progress bars
  • --noProxy[=false] β€” ignores the proxy settings
  • -n, --nullInput[=false] β€” don't read the input (stdin). super useful if you're using it in a shell for/while loop
  • -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="" β€” a jsonnet template to apply to the output
  • -p, --pageSize=5 β€” maximum results per page
  • --progress[=false] β€” shows the progress bar. this also disables any other verbose output (sorry, can't have both πŸ˜”)
  • --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. we try again, and again, and again 🫑
  • --select=[] β€” comma separated list of properties to return. wildcards and globstar are 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 that will not print out an error message. shhh 🀫
  • --timeout="600s" β€” request timeout duration, like 60s or 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 it using --view off
  • --withError[=false] β€” errors get 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

πŸ”₯ EXAMPLE πŸ”₯

$ c8y databroker list
Get a list of data broker connectors

look at her go. iconic behavior honestly 🌈


🌟 SEE ALSO 🌟


and that's the whole page bestie!! this little beauty is dated Jan 1980 and lives under c8y(1) β€” vintage but still slaying, periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from