c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’… c8y(1) β€” the devicegroups glow-up πŸŽ€

okay so this is a page from the c8y manual, bestie β€” that's the Cumulocity CLI, and today's main character is device groups. buckle up ✨


🌸 NAME 🌸

c8y-devicegroups β€” Cumulocity device groups. that's it, that's the vibe πŸ’–


✨ SYNOPSIS ✨

c8y devicegroups [flags]

literally just that. no cap 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

it's a REST endpoint situation for interacting with Cumulocity device groups. your fave little doorway into group land πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” shows you the help for devicegroups. the "wait what does this do again" button πŸ™ˆ

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

these are the family hand-me-downs, the inherited flags, and there are a lot of them. iykyk 🧚

  • --abortOnErrors=10 β€” aborts the whole batch once it hits this many errors. default is 10
  • --allowEmptyPipe[=false] β€” don't fail just because the piped input (stdin) is empty. iconique, honestly
  • --cache[=false] β€” turns on cached responses
  • --cacheBodyPaths=[] β€” the cache should only hash these selected paths in the json body. empty means all values, periodt
  • --cacheTTL="60s" β€” cache time-to-live (TTL) written as a duration, like 60s or 2m
  • -c, --compact[=false] β€” compact instead of pretty-printed output when you're using json output. pretty print is the default when output is the terminal ✨
  • --confirm[=false] β€” prompts you for confirmation
  • --confirmText="" β€” your own custom confirmation text πŸŽ€
  • --currentPage=0 β€” the current page that should be returned
  • --customQueryParam=[] β€” add custom URL query parameters, like --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'
  • --debug[=false] β€” sets very verbose log messages. like, all of them πŸ’€
  • --delay="0ms" β€” delay after each request, like 5ms or 1.2s
  • --delayBefore="0ms" β€” delay before each request, like 5ms or 1.2s
  • --dry[=false] β€” dry run. sends absolutely zero data to the server 🚫
  • --dryFormat="markdown" β€” the dry run output format, like json, dump, markdown or curl
  • --examples[=false] β€” shows examples for the current command
  • --filter=[] β€” applies a client side filter to the response before it comes back to you
  • --flatten[=false] β€” flattens json output by replacing nested json properties with properties whose names use dot notation
  • -f, --force[=false] β€” do not prompt for confirmation. ignored when you're using --confirm
  • -H, --header=[] β€” custom headers, like --header "Accept: value, AnotherHeader: myvalue"
  • --includeAll[=false] β€” includes all the results by iterating through each page πŸ”
  • -k, --insecure[=false] β€” allows insecure server connections when using SSL (yes, risky, don't @ me)
  • -l, --logMessage="" β€” adds a custom message to the activity log
  • --maxJobs=0 β€” maximum number of jobs. 0 = unlimited (use with caution! ⚠️)
  • --noAccept[=false] β€” ignores the Accept header, which removes the Accept header from requests; however PUT and POST requests will only see the effect
  • --noCache[=false] β€” forces cached responses off (this overwrites the cache setting)
  • -M, --noColor[=false] β€” don't use colors when displaying log entries on the console
  • --noLog[=false] β€” disables the activity log for the current command
  • --noProgress[=false] β€” disables progress bars
  • --noProxy[=false] β€” ignores the proxy settings
  • -n, --nullInput[=false] β€” don't read the input (stdin). super useful if you're using shell for/while loops πŸŒ€
  • -o, --output="table" β€” output format, like table, json, csv, csvheader
  • --outputFile="" β€” saves JSON output to a file (after select/view)
  • --outputFileRaw="" β€” saves the raw response to a file (before select/view)
  • --outputTemplate="" β€” the jsonnet template to apply to the output
  • -p, --pageSize=5 β€” maximum results per page. default 5, cute and small πŸ“
  • --progress[=false] β€” shows a progress bar. this will also disable any other verbose output
  • --proxy="" β€” proxy setting, like http://10.0.0.1:8080
  • -r, --raw[=false] β€” shows the raw response. this mode forces output=json and view=off
  • --retries=3 β€” max number of attempts when a failed http call is encountered
  • --select=[] β€” comma separated list of properties to return. wildcards and globstar accepted, like --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 the session password
  • -U, --sessionUsername="" β€” override the session username, like peter or t1234/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, like 60s or 2m
  • --totalPages=0 β€” total number of pages to get
  • -v, --verbose[=false] β€” verbose logging
  • --view="auto" β€” use views when displaying data on the terminal. disable with --view off
  • --withError[=false] β€” errors get printed on stdout instead of stderr
  • --withTotalElements[=false] β€” asks Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13)
  • -t, --withTotalPages[=false] β€” asks Cumulocity to include the total pages in the response statistics under .statistics.totalPages
  • --workers=1 β€” number of workers

🌈 SEE ALSO 🌈

the whole friend group 🫢 go check out:


that's the whole page, bestie β€” this one's dated Jan 1980 and it's a c8y(1) original πŸ’– slay, go group some devices πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from