c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

✨ c8y(1) β€” the manual, but make it cute ✨

Okay bestie, so this is the c8y manual page β€” like, the whole thing, bestie, I'm not skipping a single flag. We're talking c8y-datahub-jobs-get(1) energy, the Dremio job status checker, and it's giving "I need to know what my query is doing" realness. Let's get into it. πŸ’…


🌸 NAME 🌸

c8y-datahub-jobs-get β€” Retrieve the status of a query job

Like, literally, it gets the status of a query job. That's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

c8y datahub jobs get [flags]

That's it. That's the whole synopsis. Cute, right? πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

So, bestie, here's the tea: you give this command the ID of the Dremio job that's executing your query, and it tells you the status. That's it. That's the whole description. No cap. It's literally just "Retrieve the status of a query given the ID of the Dremio job executing the query." Iconic behavior, honestly. ✨


πŸŽ€ OPTIONS πŸŽ€

Okay so here's where it gets real. Every single flag, every default, every little detail β€” I got you. No summaries, no skips. Periodt. πŸ’…

  • -h, --help[=false] β€” help for get. Like, it shows you the help. Default is false, obviously.
  • --id="" β€” The unique identifier of a Dremio job. This one is required (yes, bestie, you must provide it), and it accepts pipeline. Default is empty string "". Don't forget it or it's giving error energy. 🚨

πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

These are the flags you get from the parent commands. Like, they're inherited, bestie. They come from up the chain. And yes, I'm listing every single one. All of them. No skips. 🫢

  • --abortOnErrors=10 β€” Abort batch when reaching specified number of errors. Default is 10. Like, if you hit 10 errors, it's done. Bye. πŸ’€
  • --allowEmptyPipe[=false] β€” Don't fail when piped input is empty (stdin). Default false. So if your pipe is empty, it won't throw a fit. Nice.
  • --cache[=false] β€” Enable cached responses. Default false. Caching, but make it optional.
  • --cacheBodyPaths=[] β€” Cache should limit hashing of selected paths in the json body. Empty indicates all values. Default is []. So like, if you leave it empty, it hashes everything. 🧚
  • --cacheTTL="60s" β€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. Default is "60s". So your cache lives for 60 seconds by default. Slay.
  • -c, --compact[=false] β€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. Default false. So if you want that compact json, hit this flag. πŸŽ€
  • --confirm[=false] β€” Prompt for confirmation. Default false. Like, it asks you "are you sure?" before doing the thing.
  • --confirmText="" β€” Custom confirmation text. Default is empty string "". So you can make your own "are you sure?" message. Personalized confirmation, we love to see it. πŸ’–
  • --currentPage=0 β€” Current page which should be returned. Default 0. Pagination, bestie.
  • --customQueryParam=[] β€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Default is []. So you can add your own query params. Custom, custom, custom. ✨
  • --debug[=false] β€” Set very verbose log messages. Default false. Debug mode: on. Very verbose. Much log. Wow.
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. Default "0ms". So like, a little pause after each request. Chill vibes.
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. Default "0ms". A little pause before each request. Equally chill.
  • --dry[=false] β€” Dry run. Don't send any data to the server. Default false. So it's like, pretending. A rehearsal. No actual data sent. 🎭
  • --dryFormat="markdown" β€” Dry run output format. i.e. json, dump, markdown or curl. Default is "markdown". So your dry run can be json, dump, markdown, or curl. Pick your fighter. πŸ’…
  • --examples[=false] β€” Show examples for the current command. Default false. Like, it shows you examples. Helpful bestie behavior.
  • --filter=[] β€” Apply a client side filter to response before returning it to the user. Default []. So you can filter the response on your end. Client side filter, we stan. πŸ¦‹
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Default false. So nested json gets flattened with dot notation. Like a.b.c instead of {a: {b: {c: ...}}}. Iconic. ✨
  • -f, --force[=false] β€” Do not prompt for confirmation. Ignored when using --confirm. Default false. So like, no confirmation prompt. But if you use --confirm, this flag is ignored. Noted. πŸ“
  • -H, --header=[] β€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue". Default []. Custom headers, bestie. You can set multiple. πŸŽ€
  • --includeAll[=false] β€” Include all results by iterating through each page. Default false. So it goes through every page and includes all the results. All of them. No cap.
  • -k, --insecure[=false] β€” Allow insecure server connections when using SSL. Default false. Like, it's insecure, but make it optional. ⚠️
  • -l, --logMessage="" β€” Add custom message to the activity log. Default is empty string "". So you can add your own little note to the log. Personalized logging, we love. πŸ’–
  • --maxJobs=0 β€” Maximum number of jobs. 0 = unlimited (use with caution!). Default 0. So zero means unlimited, but like, the manpage literally says "use with caution!" so maybe don't go wild, bestie. πŸ”₯
  • --noAccept[=false] β€” Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Default false. So it removes the Accept header, but only PUT and POST requests actually see that effect. Note the caveat. πŸ“Œ
  • --noCache[=false] β€” Force disabling of cached responses (overwrites cache setting). Default false. So like, it overrides the cache setting and forces no cache. Bye cache. πŸ’€
  • -M, --noColor[=false] β€” Don't use colors when displaying log entries on the console. Default false. So no colors in the log. Monochrome vibes.
  • --noLog[=false] β€” Disables the activity log for the current command. Default false. So no activity log for this command. Silenced.
  • --noProgress[=false] β€” Disable progress bars. Default false. No progress bars. No little spinners. Just silence. πŸ¦‹
  • --noProxy[=false] β€” Ignore the proxy settings. Default false. So it ignores proxy settings. Bypass the proxy. πŸšͺ
  • -n, --nullInput[=false] β€” Don't read the input (stdin). Useful if using in shell for/while loops. Default false. So it doesn't read stdin. Perfect for shell loops. Loop-friendly, we stan. πŸ”
  • -o, --output="table" β€” Output format i.e. table, json, csv, csvheader. Default is "table". So you can output as table, json, csv, or csvheader. Pick your format. πŸ’…
  • --outputFile="" β€” Save JSON output to file (after select/view). Default is empty string "". So it saves the JSON output to a file after select/view. File save, cute. πŸ“
  • --outputFileRaw="" β€” Save raw response to file (before select/view). Default is empty string "". So it saves the raw response to a file before select/view. Raw, untouched, pure. 🧚
  • --outputTemplate="" β€” jsonnet template to apply to the output. Default is empty string "". So you can apply a jsonnet template. Template time. ✨
  • -p, --pageSize=5 β€” Maximum results per page. Default 5. So like, five results per page. Small and cute. πŸŽ€
  • --progress[=false] β€” Show progress bar. This will also disable any other verbose output. Default false. So progress bar on, but verbose output off. Trade-off, bestie. βš–οΈ
  • --proxy="" β€” Proxy setting, i.e. http://10.0.0.1:8080. Default is empty string "". So you can set a proxy. Like http://10.0.0.1:8080. Go through the proxy. πŸšͺ
  • -r, --raw[=false] β€” Show raw response. This mode will force output=json and view=off. Default false. So raw response mode forces json output and turns view off. Raw and unfiltered. πŸ’€
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. Default 3. So three attempts. Three strikes. Then it's done. πŸ”
  • --select=[] β€” Comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. Default []. So you can select specific properties. Wildcards and globstar accepted. Select your faves. ⭐
  • --session="" β€” Session configuration. Default is empty string "". Session config, whatever that means. It's a thing.
  • --sessionMode="" β€” Override default session mode for a single command which would normally be disabled. Default is empty string "". So it overrides the session mode for one command. One-time override. πŸŽ€
  • -P, --sessionPassword="" β€” Override session password. Default is empty string "". So you can override the session password. Secret password, bestie. πŸ”
  • -U, --sessionUsername="" β€” Override session username. i.e. peter or t1234/peter (with tenant). Default is empty string "". So you can override the username, with or without tenant. Username realness. πŸ’…
  • --silentExit[=false] β€” Silent status codes do not affect the exit code. Default false. So silent status codes don't change the exit code. Silent but deadly.
  • --silentStatusCodes="" β€” Status codes which will not print out an error message. Default is empty string "". So these status codes stay quiet. No error message. 🀫
  • --timeout="600s" β€” Request timeout duration, i.e. 60s, 2m. Default is "600s". So ten minutes by default. That's a long timeout. Patience, bestie. ⏳
  • --totalPages=0 β€” Total number of pages to get. Default 0. So zero pages by default, which like, means all of them? Or none? It's 0. That's the default. πŸ“„
  • -v, --verbose[=false] β€” Verbose logging. Default false. So verbose logging on. Lots of words. Very detailed. πŸ—£οΈ
  • --view="auto" β€” Use views when displaying data on the terminal. Disable using --view off. Default is "auto". So views on the terminal, auto by default. Disable with --view off. πŸ‘€
  • --withError[=false] β€” Errors will be printed on stdout instead of stderr. Default false. So errors go to stdout instead of stderr. Error relocation. 🚨
  • --withTotalElements[=false] β€” Request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). Default false. So it asks Cumulocity for total elements. Introduced in 10.13, noted. πŸ“Š
  • -t, --withTotalPages[=false] β€” Request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. Default false. So it asks for total pages. Under .statistics.totalPages. Pagination realness. πŸ“„
  • --workers=1 β€” Number of workers. Default 1. So one worker by default. One little worker bee. 🐝

πŸ’… EXAMPLE πŸ’…

Okay so here's the example, bestie. Copy it exactly. No typos. It's giving "retrieve a datahub job" energy. πŸŽ€

$ c8y datahub jobs get --id "22feee74-875a-561c-5508-04114bdda000"
Retrieve a datahub job

That's it. That's the example. The ID is 22feee74-875a-561c-5508-04114bdda000 and it retrieves a datahub job. Slay. ✨


🌈 SEE ALSO 🌈

Like, go check out the parent command. It's the whole datahub jobs situation. You'll love it. 🫢


And that's the whole page, bestie! No skips, no summaries, every single flag and default and caveat is here. You're welcome. πŸ’–

Oh, and before I forget β€” this manual page is giving Jan 1980 energy (yes, that's the date on it, don't ask) and it's from c8y(1). So like, vintage but make it current. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from