c8y(1)
๐ c8y(1) โ the c8y manual page, bestie edition ๐
okay so you opened the manual for c8y, section 1. iconic. sit down, grab a strawberry drink ๐, and let's get into it.
๐ธ NAME ๐ธ
c8y-currenttenant โ Cumulocity current tenant. that's the whole vibe. it's the current-tenant command group, and yes she's the main character ๐
โจ SYNOPSIS โจ
c8y currenttenant [flags]
literally that's it. command, then flags. no cap.
๐ฆ DESCRIPTION ๐ฆ
Cumulocity current tenant commands. that's the official word, and we're not adding lore that isn't there โ this is the command group for current-tenant stuff, and the subcommands (get, listApplications, version) do the actual work. iykyk ๐
๐ OPTIONS ๐
-h,--help[=false]โ help forcurrenttenant. she explains herself, as she should โจ
๐ OPTIONS INHERITED FROM PARENT COMMANDS ๐
these are the ones she got from her parent command โ inherited, not borrowed, periodt. there are a lot of them, so buckle up ๐ซถ
--abortOnErrors=10โ abort the batch when you hit the specified number of errors. basically "okay we're done here" after N oopsies ๐--allowEmptyPipe[=false]โ don't fail when the piped input (stdin) is empty. she'll just vibe with nothing, no drama ๐--cache[=false]โ enable cached responses โญ--cacheBodyPaths=[]โ the cache should limit hashing to selected paths in the json body. empty means all values, so empty = hashing everything, no picking favourites ๐--cacheTTL="60s"โ cache time-to-live (TTL) as a duration, i.e.60s,2m. yes it expires, she's not clingy ๐-c,--compact[=false]โ compact instead of pretty-printed output when using json output. pretty print is the default if the output is the terminal ๐ธ--confirm[=false]โ prompt for confirmation. safety first bestie ๐ซถ--confirmText=""โ custom confirmation text, so your prompt can say whatever you want โจ--currentPage=0โ current page which should be returned ๐--customQueryParam=[]โ add custom URL query parameters, i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'๐ฅ--debug[=false]โ set very verbose log messages. she will NOT stop talking and honestly? we love that ๐--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. all the rehearsal, none of the commitment ๐ญ--dryFormat="markdown"โ dry run output format, i.e.json,dump,markdownorcurl๐--examples[=false]โ show examples for the current command. yes queen, demonstrate ๐--filter=[]โ apply a client side filter to the response before returning it to the user ๐--flatten[=false]โ flatten json output by replacing nested json properties with properties where their names are represented by dot notation. she flattens, she simplifies, she slays ๐ฆ-f,--force[=false]โ do not prompt for confirmation. ignored when using--confirmโ the two of them do not negotiate ๐ค-H,--header=[]โ custom headers, i.e.--header "Accept: value, AnotherHeader: myvalue"๐--includeAll[=false]โ include all results by iterating through each page. all of them. every last one ๐-k,--insecure[=false]โ allow insecure server connections when using SSL. careful bestie, that's a yikes-not-in-a-cute-way, only do it when you know what you're doing ๐ฅ-l,--logMessage=""โ add a custom message to the activity log ๐--maxJobs=0โ maximum number of jobs.0= unlimited (use with caution!) โ and the manual literally put the caution there, so I'm passing it along with extra emphasis ๐ญ--noAccept[=false]โ ignore Accept header. will remove the Accept header from requests, however PUT and POST requests will only see the effect. that hedging is doing heavy lifting, fr fr ๐--noCache[=false]โ force disabling of cached responses (overwrites the cache setting) ๐ซ-M,--noColor[=false]โ don't use colors when displaying log entries on the console. sad beige logs ๐ฅฒ--noLog[=false]โ disables the activity log for the current command ๐--noProgress[=false]โ disable progress bars ๐--noProxy[=false]โ ignore the proxy settings ๐ โโ๏ธ-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๐--outputFile=""โ save JSON output to a file (after select/view) ๐พ--outputFileRaw=""โ save the raw response to a file (before select/view) ๐๏ธ--outputTemplate=""โ jsonnet template to apply to the output ๐ง-p,--pageSize=5โ maximum results per page. five is the default, yes five, she's modest ๐ธ--progress[=false]โ show the progress bar. this will also disable any other verbose output โ you can't have both, pick your fighter ๐ฅ--proxy=""โ proxy setting, i.e.http://10.0.0.1:8080๐-r,--raw[=false]โ show the raw response. this mode will forceoutput=jsonandview=off, no discussion ๐--retries=3โ max number of attempts when a failed http call is encountered. she tries three times, she's resilient ๐ช--select=[]โ comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'๐ฏ--session=""โ session configuration ๐--sessionMode=""โ override the default session mode for a single command which would normally be disabled ๐๏ธ-P,--sessionPassword=""โ override session password ๐คซ-U,--sessionUsername=""โ override session username, i.e.peterort1234/peter(with tenant) ๐ค--silentExit[=false]โ silent status codes do not affect the exit code. the status codes stay quiet AND the exit code doesn't snitch ๐ค--silentStatusCodes=""โ status codes which will not print out an error message ๐--timeout="600s"โ request timeout duration, i.e.60s,2mโฐ--totalPages=0โ total number of pages to get ๐-v,--verbose[=false]โ verbose logging. she tells you everything ๐ฃ๏ธ--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 ๐--withTotalElements[=false]โ request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13) ๐งฎ-t,--withTotalPages[=false]โ request Cumulocity to include the total pages in the response statistics under.statistics.totalPages๐--workers=1โ number of workers ๐ทโโ๏ธ
a gentle note from your girl: several of these are the exact kind of flag that will absolutely cook your output if you flip them on without looking โ--maxJobs=0says "use with caution!" right in the manual, and-k/--insecureis doing what it says on the tin. read before you send, bestie ๐ซถ
๐ง SEE ALSO ๐ง
go read those too, they're her supporting cast ๐
and that's the page! this one's dated Jan 1980 and it's the c8y(1) page โ old enough to be your grandma's manpage and still serving looks ๐โจ bye bestie, go run some commands ๐๐ฆ
๐ฆ 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