c8y(1)
π NAME π
okay so bestie, this is the manual page for c8y(1) β and the icon of this specific page is c8y-template, aka Template utilities. itβs literally giving βtiny utility, big main character energyβ π
.
β¨ SYNOPSIS β¨
c8y template [flags]
the whole vibe: you call c8y template and toss your flags at it π¦.
π¦ DESCRIPTION π¦
Template utilities, fr fr. you use these to test out the templating language without sending any data to Cumulocity. no cap β zero data goes to the server, itβs just here so you can try stuff out β¨.
π OPTIONS π
-h,--help[=false]β help for template. the little helper, periodt.
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are inherited from the parent commands, so they show up here like hand-me-downs but make it iconic. every single one, no skipping:
--abortOnErrors=10β abort the batch when reaching the specified number of errors. default is10.--allowEmptyPipe[=false]β donβt fail when piped input is empty (stdin). lowkey handy.--cache[=false]β enable cached responses. yes bestie, cache.--cacheBodyPaths=[]β cache should limit hashing of selected paths in the json body; empty indicates all values. iykyk.--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. clock it.-c,--compact[=false]β compact instead of pretty-printed output when using json output; pretty print is the default if output is the terminal. slay formatting.--confirm[=false]β prompt for confirmation. be safe bestie.--confirmText=""β custom confirmation text. make it yours π .--currentPage=0β current page which should be returned.--customQueryParam=[]β add custom URL query parameters, i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. exact code, no edits.--debug[=false]β set very verbose log messages. itβs giving spill the tea.--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. donβt send any data to the server. zero data, zero drama.--dryFormat="markdown"β dry run output format, i.e.json,dump,markdownorcurl.--examples[=false]β show examples for the current command. we love a demo.--filter=[]β apply a client side filter to response before returning it to the user. filtered, periodt.--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested but make it flat.-f,--force[=false]β do not prompt for confirmation; ignored when using--confirm. heads up:--confirmwins.-H,--header=[]β custom headers, i.e.--header "Accept: value, AnotherHeader: myvalue".--includeAll[=false]β include all results by iterating through each page. all the pages, all the vibes.-k,--insecure[=false]β allow insecure server connections when using SSL. careful bestie, insecure is literally in the name.-l,--logMessage=""β add custom message to the activity log. leave your mark.--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). fr fr, caution.--noAccept[=false]β ignore Accept header; this removes the Accept header from requests, however PUT and POST requests will only see the effect. only PUT and POST catch the effect.--noCache[=false]β force disabling of cached responses (overwrites cache setting). cache? not today.-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. quiet luxury.--noProgress[=false]β disable progress bars. no bar, no stress.--noProxy[=false]β ignore the proxy settings. proxy who?.-n,--nullInput[=false]β donβt read the input (stdin); useful if using in shellfor/whileloops.-o,--output="table"β output format, i.e.table,json,csv,csvheader. pick your aesthetic.--outputFile=""β save JSON output to file (after select/view). save it for later.--outputFileRaw=""β save raw response to file (before select/view). raw and unfiltered.--outputTemplate=""β jsonnet template to apply to the output. template inception.-p,--pageSize=5β maximum results per page. default is5.--progress[=false]β show progress bar; this will also disable any other verbose output. progress bar takes the mic.--proxy=""β proxy setting, i.e.http://10.0.0.1:8080.-r,--raw[=false]β show raw response; this mode will forceoutput=jsonandview=off. raw mode is a whole commitment.--retries=3β max number of attempts when a failed http call is encountered. default is3.--select=[]β comma separated list of properties to return; wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. exact example, bestie.--session=""β session configuration. session lore.--sessionMode=""β override default session mode for a single command which would normally be disabled. one-command override.-P,--sessionPassword=""β override session password. secret secret.-U,--sessionUsername=""β override session username, i.e.peterort1234/peter(with tenant). tenant included, iykyk.--silentExit[=false]β silent status codes do not affect the exit code. exit code stays unbothered.--silentStatusCodes=""β status codes which will not print out an error message. quiet errors.--timeout="600s"β request timeout duration, i.e.60s,2m. respect the clock.--totalPages=0β total number of pages to get. page count era.-v,--verbose[=false]β verbose logging. tell me everything.--view="auto"β use views when displaying data on the terminal; disable using--view off. auto view, off switch included.--withError[=false]β errors will be printed on stdout instead of stderr. stdout era for errors.--withTotalElements[=false]β request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13). introduced in10.13, noted.-t,--withTotalPages[=false]β request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. total pages, total slay.--workers=1β number of workers. default is1.
π SEE ALSO π
and thatβs the whole page, bestie π«Ά this iconic little manual is from c8y(1), dated Jan 1980 β bye, love you, mwah π
π¦ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms