c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’… c8y β€” Cumulocity DataHub Jobs (yeah, the c8y(1) girlies know)

Okay so bestie, welcome to c8y β€” the Cumulocity CLI, and specifically the DataHub Jobs corner of it. This page is your whole guide. Buckle up, it's giving very thorough manual energy, but make it cute. πŸŽ€


✨ NAME ✨

c8y-datahub-jobs β€” Cumulocity DataHub Jobs. That's the whole vibe. Jobs. In the DataHub. Slay. πŸ’…


🌸 SYNOPSIS 🌸

c8y datahub jobs [flags]

That's it. That's the incantation. Type it, add some flags if you're feeling spicy, and go off. ✨


πŸ’– DESCRIPTION πŸ’–

It's Cumulocity DataHub Jobs, bestie. Literally the job-handling part of the DataHub, living under the c8y datahub family. Not me explaining the entire universe in one line, but here we are. 🫢


πŸ¦‹ OPTIONS πŸ¦‹

  • -h, --help[=false] β€” shows you the help for jobs. Your lil emergency "wait what does this do again" button. πŸ’–

πŸ”₯ OPTIONS INHERITED FROM PARENT COMMANDS πŸ”₯

Okay so this is the big one β€” all of these come from the parent commands, like a whole inheritance situation, main character energy from the top of the tree. πŸŽ€

  • --abortOnErrors=10 β€” bails the whole batch once it hits the specified number of errors. Drama queen behaviour and honestly same.
  • --allowEmptyPipe[=false] β€” tells it not to fail when the piped input (stdin) is empty. Empty pipe? No problem, no cap. 🫢
  • --cache[=false] β€” turns on cached responses.
  • --cacheBodyPaths=[] β€” limits the cache hashing to selected paths inside the json body. Empty means all the values get hashed, so like, everything. πŸ’€
  • --cacheTTL="60s" β€” the cache time-to-live (TTL), written as a duration, i.e. 60s, 2m.
  • -c, --compact[=false] β€” compact instead of pretty-printed output when you're using json output. Pretty print is the default if the output is the terminal, iykyk.
  • --confirm[=false] β€” prompts you for confirmation. Consent era. ✨
  • --confirmText="" β€” your own custom confirmation text, for when the default just isn't you.
  • --currentPage=0 β€” the current page that should be returned.
  • --customQueryParam=[] β€” adds custom URL query parameters, like --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Very glue-your-own-stuff-on energy.
  • --debug[=false] β€” sets very verbose log messages. Like, it will not stop talking. 😭
  • --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. It doesn't send any data to the server. Fake it till you make it, but like, safely. πŸ™ˆ
  • --dryFormat="markdown" β€” the dry run output format, i.e. json, dump, markdown or curl.
  • --examples[=false] β€” shows examples for the current command. Iconic behaviour honestly.
  • --filter=[] β€” applies a client side filter to the response before it gets handed back to you. πŸŽ€
  • --flatten[=false] β€” flattens json output by replacing nested json properties with properties where their names are represented by dot notation. Nesting? Gone. Flattened. Slay.
  • -f, --force[=false] β€” do not prompt for confirmation. It gets ignored when you're using --confirm, so pick a lane bestie.
  • -H, --header=[] β€” custom headers, i.e. --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. Dramatic, risky, but it's your life. πŸ’€
  • -l, --logMessage="" β€” adds a custom message to the activity log.
  • --maxJobs=0 β€” maximum number of jobs. 0 = unlimited, and the original literally says use with caution! so like, noted. ⚠️
  • --noAccept[=false] β€” ignore the Accept header; this removes the Accept header from requests, however PUT and POST requests will only see the effect. Yep, only those. 🫠
  • --noCache[=false] β€” forces disabling of cached responses (and it overwrites the cache setting, so it wins the argument).
  • -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] β€” 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 shell for/while loops. πŸŒ€
  • -o, --output="table" β€” output format, i.e. 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. Fancy. ✨
  • -p, --pageSize=5 β€” maximum results per page.
  • --progress[=false] β€” shows the progress bar. Heads up: this will also disable any other verbose output. Sacrifices were made. 😭
  • --proxy="" β€” proxy setting, i.e. http://10.0.0.1:8080.
  • -r, --raw[=false] β€” shows the 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. Try again energy. πŸ”
  • --select=[] β€” comma separated list of properties to return. Wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. Iconic.
  • --session="" β€” session configuration.
  • --sessionMode="" β€” override the default session mode for a single command, which would normally be disabled.
  • -P, --sessionPassword="" β€” override the session password.
  • -U, --sessionUsername="" β€” override the 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. Shhh. 🀫
  • --timeout="600s" β€” request timeout duration, i.e. 60s, 2m.
  • --totalPages=0 β€” total number of pages to get.
  • -v, --verbose[=false] β€” verbose logging. It's gonna tell you things. πŸ’¬
  • --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. Plot twist.
  • --withTotalElements[=false] β€” requests Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). ✨
  • -t, --withTotalPages[=false] β€” requests Cumulocity to include the total pages in the response statistics under .statistics.totalPages.
  • --workers=1 β€” number of workers. Bring friends. πŸ‘‘

🌈 SEE ALSO 🌈

Go read these next, bestie, they're the whole friend group:


Lowkey reminder: this whole thing is a Cumulocity CLI joint, and the page is stamped c8y(1) with a date of Jan 1980. Yeah. 1980. She's been that girl for decades. πŸ’…πŸ‘‘

Anyway, that's the manual, go run c8y datahub jobs and be iconic about it. πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from