c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

๐Ÿ’… 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 for currenttenant. 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, markdown or curl ๐Ÿ“
  • --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 shell for/while loops ๐ŸŒ€
  • -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 force output=json and view=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. peter or t1234/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 in 10.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=0 says "use with caution!" right in the manual, and -k/--insecure is 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