c8y(1)
π c8y(1) β the c8y command, bestie edition
okay so real talk, this is the manual page for c8y (that's the name up top, and yes she's iconic). it's a whole CLI and this particular page is about one specific little corner of it. buckle up π
β¨ NAME β¨
c8y-remoteaccess-configurations-get β get a remote access configuration. that's the whole vibe. one job, does it slay.
πΈ SYNOPSIS πΈ
c8y remoteaccess configurations get [flags]
like, that's it. that's the incantation. flags are optional but they're also kind of the whole personality, so π
π¦ DESCRIPTION π¦
get an existing remote access configuration for a device. literally just fetch it. it's giving "lowkey errand, highkey useful" π
π₯ OPTIONS π₯
these are her options, the ones that belong to get specifically:
--device=[]β the device. which one? yours. put it here π«Ά-h,--help[=false]β help forget. the classic "what does anything mean" button.--id=[]β the connection. and ngl this one accepts pipeline β so you can pipe stuff in π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the family traits, passed down from the parent commands. there are a lot of them. hydration check, bestie, get a drink π
--abortOnErrors=10β abort the batch when you hit this specified number of errors. ten strikes and she's out.--allowEmptyPipe[=false]β don't fail when the piped input (stdin) is empty. empty pipe? no drama.--cache[=false]β enable cached responses. memory of a goldfish but make it intentional.--cacheBodyPaths=[]β cache should limit hashing to selected paths in the json body. empty means all the values. everything. the whole buffet.--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. how long before it forgets.-c,--compact[=false]β compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal. (terminal = main character, gets the pretty version.)--confirm[=false]β prompt for confirmation. are you sure, bestie?--confirmText=""β custom confirmation text. write your own "r u sure tho".--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.--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. window shopping only ποΈ--dryFormat="markdown"β dry run output format. i.e.json,dump,markdownorcurl.--examples[=false]β show examples for the current command.--filter=[]β apply a client side filter to response before returning it to the user. β¨curatedβ¨--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. un-nest her. let her breathe.-f,--force[=false]β do not prompt for confirmation. ignored when using--confirm. (so--confirmwins the argument, as she should.)-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue"--includeAll[=false]β include all results by iterating through each page. no crumbs left behind.-k,--insecure[=false]β allow insecure server connections when using SSL. β οΈ risky behavior, proceed with your whole chest and your eyes open.-l,--logMessage=""β add custom message to the activity log. leave a little note in the group chat.--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). the manpage itself is giving you the side-eye here, so take the hint π--noAccept[=false]β ignore Accept header. will remove the Accept header from requests, however PUT and POST requests will only see the effect.--noCache[=false]β force disabling of cached responses (overwrites cache setting). she overrules.-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. no lil moving bar, just vibes.--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 file (after select/view).--outputFileRaw=""β save raw response to file (before select/view).--outputTemplate=""β jsonnet template to apply to the output.-p,--pageSize=5β maximum results per page.--progress[=false]β show progress bar. this will also disable any other verbose output. 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. no filter, no makeup, raw.--retries=3β max number of attempts when a failed http call is encountered. three tries. she believes in you.--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'--session=""β session configuration.--sessionMode=""β override default session mode for a single command which would normally be disabled.-P,--sessionPassword=""β override session password. π keep her secret.-U,--sessionUsername=""β override session username. i.e.peterort1234/peter(with tenant).--silentExit[=false]β silent status codes do not affect the exit code.--silentStatusCodes=""β status codes which will not print out an error message.--timeout="600s"β request timeout duration, i.e.60s,2m. after this, she's leaving the chat.--totalPages=0β total number of pages to get.-v,--verbose[=false]β verbose logging.--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. one. but you could have more π
π EXAMPLE π
here's the moment you've all been waiting for, the demo:
$ c8y remoteaccess configurations get --device device01 --id 1
Get existing remote access configuration
look at her go. effortless. ate and left no crumbs π₯
π SEE ALSO π
c8y-remoteaccess-configurations(1)β the parent page, the mothership, go say hi π
reminder bestie:--insecureand--maxJobs=0are the two that the manpage itself flags as spicy. the spice is real. respect the spice πΆοΈ
kisses and clean exit codes π
β this has been c8y(1), dated Jan 1980 (yes, she's vintage, she's a classic, she's timeless π). periodt. β¨
π¦ 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