c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

✨ NAME ✨

c8y-operations - Cumulocity operations

okay so welcome to the c8y(1) manual, bestie πŸ’– this is the corner for Cumulocity operations, and the vibe check is: it’s the c8y-operations command. periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

c8y operations [flags]

Like, that’s the whole synopsis. [flags] is where all the options below go, iykyk.

πŸŽ€ DESCRIPTION πŸŽ€

It’s the REST endpoint to interact with Cumulocity operations β€” literally that’s what the manpage says, and honestly it’s giving main character energy ✨. You interact with Cumulocity operations, and the flags below handle the rest πŸ’….

πŸ’… OPTIONS πŸ’…

  • -h, --help[=false] β€” help for operations. Ask for help and it’s there 🫢.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

These are inherited from the parent command, bestie β€” yes, all of them are coming along for the ride πŸŽ€.

  • --abortOnErrors=10 β€” Abort batch when reaching specified number of errors. The flag as written is --abortOnErrors=10, so that’s the number in play πŸ’€.
  • --allowEmptyPipe[=false] β€” Don’t fail when piped input is empty (stdin). No empty-pipe meltdowns, bestie 🫢.
  • --cache[=false] β€” Enable cached responses. Caching is on its way to being iconic πŸ’–.
  • --cacheBodyPaths=[] β€” Cache should limit hashing of selected paths in the json body. Empty ([]) indicates all values. So yes, all the values, no cap 🧚.
  • --cacheTTL="60s" β€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. The flag spells it "60s" out front ⏳.
  • -c, --compact[=false] β€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. So terminal gets the pretty treatment unless you say otherwise πŸ’….
  • --confirm[=false] β€” Prompt for confirmation. A little β€œare you sure?” moment πŸ₯Ί.
  • --confirmText="" β€” Custom confirmation text. Make that prompt say what you want it to say πŸ’¬.
  • --currentPage=0 β€” Current page which should be returned. The page number is 0 in the flag, and that’s the starting vibe πŸ“„.
  • --customQueryParam=[] β€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Custom query param era, periodt πŸ”₯.
  • --debug[=false] β€” Set very verbose log messages. Debug mode is loud and proud πŸ”Š.
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. The flag says "0ms" right there. After each request, take a breather ⏱️.
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. Same breather, but before the request this time 🫧.
  • --dry[=false] β€” Dry run. Don’t send any data to the server. It’s giving rehearsal, not the real performance 🎭.
  • --dryFormat="markdown" β€” Dry run output format. i.e. json, dump, markdown or curl. The flag has "markdown" as written, bestie πŸ“.
  • --examples[=false] β€” Show examples for the current command. Examples? Yes please, show me the receipts ✨.
  • --filter=[] β€” Apply a client side filter to response before returning it to the user. Filter it client-side, then hand it over 🫢.
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Flattening, but make it dot notation πŸ’….
  • -f, --force[=false] β€” Do not prompt for confirmation. Ignored when using --confirm. Force is force, but --confirm gets priority, no cap ⚠️.
  • -H, --header=[] β€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue". Bring your own headers to the function πŸŽ€.
  • --includeAll[=false] β€” Include all results by iterating through each page. All the pages, all the results, all the vibes πŸ”.
  • -k, --insecure[=false] β€” Allow insecure server connections when using SSL. Insecure mode is a choice, bestie β€” the flag says what it says πŸ”“.
  • -l, --logMessage="" β€” Add custom message to the activity log. Put your own little note in the activity log ✍️.
  • --maxJobs=0 β€” Maximum number of jobs. 0 = unlimited (use with caution!). The caution is literally in the manpage, so bestie, 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. So PUT and POST are the only ones catching this effect, iykyk 🚫.
  • --noCache[=false] β€” Force disabling of cached responses (overwrites cache setting). No cache, even if cache said yes β€” it overwrites the cache setting πŸ’₯.
  • -M, --noColor[=false] β€” Don’t use colors when displaying log entries on the console. Monochrome console log entries, if that’s your aesthetic πŸ–€.
  • --noLog[=false] β€” Disables the activity log for the current command. No activity log for this command, periodt 🚫.
  • --noProgress[=false] β€” Disable progress bars. No progress bars, no distractions πŸ›‘.
  • --noProxy[=false] β€” Ignore the proxy settings. Proxy settings? Ignored. Bye πŸ‘‹.
  • -n, --nullInput[=false] β€” Don’t read the input (stdin). Useful if using in shell for/while loops. No stdin reading, which is lowkey perfect for shell for/while loops πŸŒ€.
  • -o, --output="table" β€” Output format i.e. table, json, csv, csvheader. The flag is written with "table" as the output vibe πŸ“Š.
  • --outputFile="" β€” Save JSON output to file (after select/view). JSON output goes to a file after select/view, fancy πŸ’Ύ.
  • --outputFileRaw="" β€” Save raw response to file (before select/view). Raw response to a file before select/view β€” raw era πŸ—‚οΈ.
  • --outputTemplate="" β€” jsonnet template to apply to the output. A jsonnet template for the output, go off 🧩.
  • -p, --pageSize=5 β€” Maximum results per page. The page size is 5 right there in the flag πŸ“š.
  • --progress[=false] β€” Show progress bar. This will also disable any other verbose output. Progress bar on, other verbose output off β€” it’s a tradeoff, bestie πŸ“ˆ.
  • --proxy="" β€” Proxy setting, i.e. http://10.0.0.1:8080. Set the proxy, example literally right there 🌐.
  • -r, --raw[=false] β€” Show raw response. This mode will force output=json and view=off. Raw response mode forces output=json and view=off, no cap πŸ’€.
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. Max attempts: 3 in the flag, for when an http call fails πŸ”.
  • --select=[] β€” Comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. Select exactly what you want, wildcards and globstar included 🌟.
  • --session="" β€” Session configuration. Session config, your little setup 🎟️.
  • --sessionMode="" β€” Override default session mode for a single command which would normally be disabled. Override the default session mode for one command, even if it’s normally disabled β€” one-command exception πŸ’….
  • -P, --sessionPassword="" β€” Override session password. Override the session password, shhh 🀫.
  • -U, --sessionUsername="" β€” Override session username. i.e. peter or t1234/peter (with tenant). Override the session username; example is peter or t1234/peter with tenant πŸͺͺ.
  • --silentExit[=false] β€” Silent status codes do not affect the exit code. Silent status codes stay out of the exit code’s business 🀐.
  • --silentStatusCodes="" β€” Status codes which will not print out an error message. These status codes won’t print an error message β€” silence is golden 🀫.
  • --timeout="600s" β€” Request timeout duration, i.e. 60s, 2m. The flag shows "600s", so that’s the timeout duration vibe ⏰.
  • --totalPages=0 β€” Total number of pages to get. Total pages: 0 in the flag, get that many pages πŸ“–.
  • -v, --verbose[=false] β€” Verbose logging. Verbose logging, loud and proud πŸ—£οΈ.
  • --view="auto" β€” Use views when displaying data on the terminal. Disable using --view off. Views on the terminal by default; disable with --view off β€” the flag says "auto" πŸ‘€.
  • --withError[=false] β€” Errors will be printed on stdout instead of stderr. Errors go to stdout instead of stderr, switch it up 🚨.
  • --withTotalElements[=false] β€” Request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). Total elements in response stats, under .statistics.totalElements, introduced in 10.13 β€” noted, bestie πŸ“Š.
  • -t, --withTotalPages[=false] β€” Request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. Total pages in response stats under .statistics.totalPages β€” yes ma’am πŸ“„.
  • --workers=1 β€” Number of workers. Workers: 1 in the flag, that’s the worker count πŸ› οΈ.

πŸ”₯ SEE ALSO πŸ”₯

c8y(1), c8y-operations-assert(1), c8y-operations-cancel(1), c8y-operations-create(1), c8y-operations-deleteCollection(1), c8y-operations-get(1), c8y-operations-list(1), c8y-operations-subscribe(1), c8y-operations-update(1), c8y-operations-wait(1)

okay bye bestie β€” this was the c8y(1) manual, dated Jan 1980, and it ate πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from