c8y(1)
π c8y(1) β the firmware-get glow-up you didn't know you needed β¨
okay so bestie, this is the c8y manual page (section 1 of the manual, iykyk) and specifically it's all about c8y-firmware-get β yes, the firmware-getter herself. she's a subcommand of the c8y firmware family, and she's honestly iconic for what she does. let's get into it π«Ά
πΈ NAME πΈ
c8y-firmware-get β Get firmware
that's it, that's her whole job. she gets firmware. main character energy fr π
π SYNOPSIS π
c8y firmware get [flags]
like, that's the whole invocation. you type it, you get firmware. slay β¨
π¦ DESCRIPTION π¦
okay so what this literally does: it gets an existing firmware package, which is a managedObject. that's the vibe β you already have a firmware package sitting there on the tenant, and this command goes and fetches it for you. no cap, that's the entire description, she's a simple girlie π
β¨ OPTIONS β¨
here's the full flag lineup, bestie. every single one. no skipping π
-h,--help[=false] β shows help forget. the classic. when in doubt, ask for help π--id=[]β the firmware package (managedObject) id. this one is required β like, you cannot skip it, it's giving non-negotiable. also accepts pipeline input, so you can pipe that id right in there π«Ά--skipChildrenNames[=false] β "don't include the child devices names in the response." why would you want this? because the API response gets faster when it doesn't have to go retrieve all those names. performance queen behavior π--withChildren[=false] β determines if children with ID and name should be returned when fetching the managed object. set it tofalseto improve query performance. your call, bestie β¨--withChildrenCount[=false] β when set to true, the returned result will contain the total number of children in the respective objects (childAdditions,childAssetsandchildDevices). counting the children, very mother-hen of her π£--withGroups[=false] β when set to true it returns additional information about the groups the searched managed object belongs to. this results in setting theassetParentsproperty with extra group info. she's telling you what circles she runs in π--withParents[=false] β include a flat list of all parents and grandparents of the given object. the whole family tree, flat-laid out π³
π₯ OPTIONS INHERITED FROM PARENT COMMANDS π₯
these come from the parent commands, so they're not exclusively hers, but they still show up and they all matter. let's go. β
--abortOnErrors=10β abort batch when reaching the specified number of errors. like, ten strikes and you're out π--allowEmptyPipe[=false] β don't fail when piped input is empty (stdin). she'll just vibe with the silence π--cache[=false] β enable cached responses. saving you that round trip β¨--cacheBodyPaths=[]β cache should limit hashing of selected paths in the json body. empty indicates all values. very "specifics only" of her π--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. clock's ticking bestie β°-c,--compact[=false] β compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal. so it's already cute by default, this just makes it β¨lessβ¨ π¦--confirm[=false] β prompt for confirmation. consent checks, we love to see it π«Ά--confirmText=""β custom confirmation text. your own words for the "u sure?" moment π¬--currentPage=0β current page which should be returned. page zero, the beginning of the journey π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. you do you π₯--debug[=false] β set very verbose log messages. the "she's telling you EVERYTHING" mode π--delay="0ms"β delay after each request, i.e.5ms,1.2s. pace yourself queen πΈ--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. breathe first π§--dry[=false] β dry run. don't send any data to the server. practice mode, nothing leaves the group chat π--dryFormat="markdown"β dry run output format. i.e.json,dump,markdownorcurl. pick your aesthetic π--examples[=false] β show examples for the current command. honestly? use this π (okay, mild editorializing from me there β the flag does what it says, showing examples for the current command π)--filter=[]β apply a client side filter to response before returning it to the user. you know exactly what you want π―--flatten[=false] β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested? not anymore. flat like a pancake π₯-f,--force[=false] β do not prompt for confirmation. ignored when using--confirm. (so--confirmwins the argument, noted π)-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". headers on headers π--includeAll[=false] β include all results by iterating through each page. all of it. every last one. obsessed π-k,--insecure[=false] β allow insecure server connections when using SSL. β οΈ heads up bestie, this is the "I know what I'm doing" button, use accordingly β οΈ-l,--logMessage=""β add custom message to the activity log. leave a little note for the timeline π--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). use with caution is literally in the docs so I'm passing it along fr fr π--noAccept[=false] β ignore Accept header, will remove theAcceptheader from requests. howeverPUTandPOSTrequests will only see the effect. important nuance, don't forget it π--noCache[=false] β force disabling of cached responses (overwrites cache setting). cold take, no stale vibes π§-M,--noColor[=false] β don't use colors when displaying log entries on the console. monochrome era π€--noLog[=false] β disables the activity log for the current command. off the record π€«--noProgress[=false] β disable progress bars. no little loading guys π«--noProxy[=false] β ignore the proxy settings. straight to the source π-n,--nullInput[=false] β don't read the input (stdin). useful if using in shellfor/whileloops. very "I'm busy, don't pipe me" π-o,--output="table"β output format, i.e.table,json,csv,csvheader. pick your presentation bestie π--outputFile=""β save JSON output to file (after select/view). post-processing save πΎ--outputFileRaw=""β save raw response to file (before select/view). pre-processing save, the raw truth πΎ--outputTemplate=""β jsonnet template to apply to the output. fancy β¨-p,--pageSize=5β maximum results per page. five at a time, cozy π΅--progress[=false] β show progress bar. this will also disable any other verbose output. (trade-off, noted π)--proxy=""β proxy setting, i.e.http://10.0.0.1:8080. route it through π£οΈ-r,--raw[=false] β show raw response. this mode will forceoutput=jsonandview=off. no filter, no vibes, just data π--retries=3β max number of attempts when a failed http call is encountered. three strikes, but for network glitches π³--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. cherry-picking, we stan π--session=""β session configuration. π--sessionMode=""β override default session mode for a single command which would normally be disabled. one-time override, very rebellious π-P,--sessionPassword=""β override session password. π€«-U,--sessionUsername=""β override session username. i.e.peterort1234/peter(with tenant). tenant-aware, periodt π’--silentExit[=false] β silent status codes do not affect the exit code. quiet quitting the exit code π--silentStatusCodes=""β status codes which will not print out an error message. shhh π€--timeout="600s"β request timeout duration, i.e.60s,2m. ten minutes default, generous queen β³--totalPages=0β total number of pages to get. how many pages, your choice π-v,--verbose[=false] β verbose logging. she's chatty now π£οΈ--view="auto"β use views when displaying data on the terminal. disable using--view off. auto is the default, she reads the room π--withError[=false] β errors will be printed on stdout instead of stderr. redirect-friendly π―--withTotalElements[=false] β request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). version note, don't forget it π-t,--withTotalPages[=false] β request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. π--workers=1β number of workers. one worker, chill pace π·
π EXAMPLE π
$ c8y firmware get --id 12345
Get a firmware package
get a firmware package, directly by id. straightforward, gorgeous β¨
$ echo 12345 | c8y firmware get
Get a firmware package (using pipeline)
and the pipeline version β pipe the id straight in, she picks it up like the icon she is π (this is why --id says it accepts pipeline, iykyk π«Ά)
π SEE ALSO π
c8y-firmware(1)β her parent, the whole firmware family. go say hi π¦
okay bestie that's the whole page!! every flag, every default, every little detail β nothing dropped, nothing invented, just delivered with the energy she deserves π
sign-off time πΈ this beauty is dated Jan 1980 (yes, that date, iconic vintage energy) and lives under the manual name c8y in section 1 β so when you run man 1 c8y you know exactly whose page you're reading. 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