c8y(1)
π
c8y(1) β the c8y manual, bestie edition π
okay so real talk β this is c8y(1), like the actual c8y command manual page, and we're specifically deep-diving c8y-systemoptions-get. yes that's a long name. yes it's iconic. stay with me π«Ά
β¨ NAME β¨
c8y-systemoptions-get β Get system option πΈ
like. it gets a system option. that's the whole vibe check. π
π SYNOPSIS π
c8y systemoptions get [flags]
that's it. that's the incantation. flags are where the fun lives, keep scrolling π
π¦ DESCRIPTION π¦
Get a system option by category and key.
fr fr, that's the entire description β category plus key, and the option is yours. no cap, it's giving minimalism. β¨
π OPTIONS π
these are the options that belong to this command specifically. look at them. love them. π
--category=""β the System Option category. required, bestie, you literally cannot skip it π-h,--help[=false]β help for get. the classic "what does this even do" button π«Ά--key=""β the System Option key. required too! and plot twist: it accepts pipeline, so you can pipe stuff in. iykyk π
π OPTIONS INHERITED FROM PARENT COMMANDS π
okay these are the ones you didn't ask for but got anyway, because the parent command said "here, take my whole wardrobe" π literally the entire collection. there are so many. i counted. we're doing all of them. periodt.
--abortOnErrors=10β abort the batch when you hit the specified number of errors. ten strikes and it's out β¨--allowEmptyPipe[=false]β don't fail when the piped input (stdin) is empty. very forgiving. very demure π--cache[=false]β enable cached responses. speed. β‘--cacheBodyPaths=[]β cache should limit hashing of selected paths in the json body. empty indicates all values. so like, empty = everything, no thoughts head empty π§--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. it expires. everything expires eventually π-c,--compact[=false]β compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal. so if you're on a terminal it's automatically serving looks β¨--confirm[=false]β prompt for confirmation. it asks first, consent is key π«Ά--confirmText=""β custom confirmation text. make it say whatever you want π--currentPage=0β current page which should be returned. page zero. the origin story π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. build your own little query, main character energy π--debug[=false]β set very verbose log messages. it will NOT stop talking and honestly? relatable π--delay="0ms"β delay after each request, i.e.5ms,1.2s. a little pause. self care πΈ--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. a little pause, but earlier β¨--dry[=false]β dry run. don't send any data to the server. it's a rehearsal, not the actual performance π--dryFormat="markdown"β dry run output format. i.e.json,dump,markdownorcurl. pick your aesthetic π--examples[=false]β show examples for the current command. yes bestie, show me the receipts π§Ύ--filter=[]β apply a client side filter to response before returning it to the user. filtering locally, we love a shortcut π--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. nested? not anymore. we flattened it. π¦-f,--force[=false]β do not prompt for confirmation. ignored when using--confirm. bold of you. iconic of you. π-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". accessorize your request π--includeAll[=false]β include all results by iterating through each page. all of them. every single one. we don't leave anyone behind π«Ά-k,--insecure[=false]β allow insecure server connections when using SSL. it's literally called insecure, be careful bestie π-l,--logMessage=""β add custom message to the activity log. leave a little note for future you β¨--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). use with caution!! they said it, not me π--noAccept[=false]β ignore Accept header, will remove the Accept header from requests, however PUT and POST requests will only see the effect. sneaky, but only partly π΅οΈ--noCache[=false]β force disabling of cached responses (overwrites cache setting). cache said no? cache said NO. π-M,--noColor[=false]β don't use colors when displaying log entries on the console. monochrome moment. sad but valid π€--noLog[=false]β disables the activity log for the current command. what happens in the command stays in the command π--noProgress[=false]β disable progress bars. no little loading guys. they're gone π«₯--noProxy[=false]β ignore the proxy settings. straight to the source, no middleman π§-n,--nullInput[=false]β don't read the input (stdin). useful if using in shellfor/whileloops. very handy, very specific π₯-o,--output="table"β output format i.e.table,json,csv,csvheader. default is table because tables ate π½οΈ--outputFile=""β save JSON output to file (after select/view). it's the after picture πΈ--outputFileRaw=""β save raw response to file (before select/view). the before picture, unfiltered ποΈ--outputTemplate=""β jsonnet template to apply to the output. customize the fit π-p,--pageSize=5β maximum results per page. five. that's the number. β--progress[=false]β show progress bar. this will also disable any other verbose output. it's a trade-off, bestie βοΈ--proxy=""β proxy setting, i.e.http://10.0.0.1:8080. route it through the middleman π-r,--raw[=false]β show raw response. this mode will forceoutput=jsonandview=off. no filter, no edits, raw footage π¬--retries=3β max number of attempts when a failed http call is encountered. three tries. it's trying its best π--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. cherry-pick your faves π--session=""β session configuration. your whole session situation πͺͺ--sessionMode=""β override default session mode for a single command which would normally be disabled. special occasion, special mode β¨-P,--sessionPassword=""β override session password. shhh π€«-U,--sessionUsername=""β override session username. i.e.peterort1234/peter(with tenant). hi peter π--silentExit[=false]β silent status codes do not affect the exit code. quiet quitting, exit-code edition π--silentStatusCodes=""β status codes which will not print out an error message. some errors just don't get to speak π--timeout="600s"β request timeout duration, i.e.60s,2m. ten minutes of patience, then we're done waiting β°--totalPages=0β total number of pages to get. how many pages? yes. π-v,--verbose[=false]β verbose logging. it says everything. everything. π£οΈ--view="auto"β use views when displaying data on the terminal. disable using--view off. auto is the default, so it just vibes β¨--withError[=false]β errors will be printed on stdout instead of stderr. moving the drama to a different stream π--withTotalElements[=false]β request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). note the version, it matters ποΈ-t,--withTotalPages[=false]β request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. pages, but with receipts π§Ύ--workers=1β number of workers. one worker. they're doing their best π«‘
π EXAMPLE π
here's the moment you've all been waiting for:
$ c8y systemoptions get --category "system" --key "version"
Get a list of system options
look at that. category system, key version, and the output says "Get a list of system options". slay. ate. no crumbs. π₯
π SEE ALSO π
c8y-systemoptions(1)β go meet the parent π
and that's the page, bestie π it's from Jan 1980 (yes, literally, that's the date at the bottom, vintage behavior) and it's filed under the source/version line c8y(1). go forth and get those system options π¦β¨π
π¦ 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