c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

hey bestie πŸ’– welcome to c8y(1) β€” the manual page for c8y-users, aka the Cumulocity users command. it’s giving ✨ command-line main character energy ✨ and we’re gonna go through every flag together, no cap. 🫢

🌸 NAME 🌸

c8y-users β€” Cumulocity users πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

c8y users [flags]

✨ DESCRIPTION ✨

okay so bestie, this is literally the REST endpoint to interact with Cumulocity users. that’s the tea β˜• β€” it’s the users endpoint, and it’s here to do users things. periodt. πŸ’–

πŸ’… OPTIONS πŸ’…

  • -h, --help[=false] β€” help for users. yes bestie, this one just gives you the help glow-up for users 😌✨

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these are the inherited flags, bestie β€” the parent commands pass them down like hand-me-downs but make them iconic πŸ’«. every single one is here:

  • --abortOnErrors=10 β€” bail on the whole batch once you hit the specified number of errors (default is 10) πŸ›‘
  • --allowEmptyPipe[=false] β€” don’t throw a fit when the piped input (stdin) is empty β€” let it be empty, bestie 🫧
  • --cache[=false] β€” turn on cached responses so things feel speedier ✨
  • --cacheBodyPaths=[] β€” limit cache hashing to selected paths inside the json body; an empty value means all values get hashed 🧚
  • --cacheTTL="60s" β€” set the cache time-to-live (TTL) as a duration β€” like 60s or 2m, bestie ⏳
  • -c, --compact[=false] β€” compact the output instead of pretty-printing it when you’re using json output; pretty print is the default when output is the terminal. lowkey neat πŸ“¦
  • --confirm[=false] β€” ask for confirmation before doing the thing πŸ™‹β€β™€οΈ
  • --confirmText="" β€” set your own custom confirmation text ✍️
  • --currentPage=0 β€” pick which page should be returned β€” current page starts at 0 πŸ“„
  • --customQueryParam=[] β€” add your own custom URL query parameters, like --customQueryParam 'withCustomOption=true,myOtherOption=myvalue' πŸ”—
  • --debug[=false] β€” crank the log messages up to very verbose mode β€” debug girlie behavior πŸ”
  • --delay="0ms" β€” wait this long after each request β€” like 5ms or 1.2s ⏱️
  • --delayBefore="0ms" β€” wait this long before each request β€” like 5ms or 1.2s ⏳
  • --dry[=false] β€” do a dry run β€” don’t send any data to the server, just vibe πŸ‘»
  • --dryFormat="markdown" β€” choose the dry-run output format β€” json, dump, markdown or curl πŸ“
  • --examples[=false] β€” show examples for the current command β€” yes bestie, examples are self-care πŸ’–
  • --filter=[] β€” apply a client-side filter to the response before it comes back to you πŸͺ„
  • --flatten[=false] β€” flatten the json output by replacing nested json properties with properties whose names are represented by dot notation β€” it’s giving flat and fabulous πŸ«“
  • -f, --force[=false] β€” skip the confirmation prompt entirely; heads up, this is ignored when you’re using --confirm ⚠️
  • -H, --header=[] β€” add custom headers, like --header "Accept: value, AnotherHeader: myvalue" πŸ“¨
  • --includeAll[=false] β€” include all the results by looping through every page β€” collect them all, bestie πŸ”
  • -k, --insecure[=false] β€” allow insecure server connections when using SSL β€” only when you mean it, bestie πŸ”“
  • -l, --logMessage="" β€” drop a custom message into the activity log ✏️
  • --maxJobs=0 β€” set the max number of jobs; 0 means unlimited β€” use with caution, bestie, seriously βš οΈπŸ’€
  • --noAccept[=false] β€” ignore the Accept header by removing it from requests; but heads up, only PUT and POST requests see the effect πŸš«πŸ“¬
  • --noCache[=false] β€” force cached responses off, overriding the cache setting 🚫✨
  • -M, --noColor[=false] β€” no colors when log entries show up on the console β€” minimal, monochrome, mood πŸ–€
  • --noLog[=false] β€” turn off the activity log for the current command πŸš«πŸ““
  • --noProgress[=false] β€” disable progress bars β€” no little bars, just vibes πŸš«πŸ“Š
  • --noProxy[=false] β€” ignore proxy settings entirely πŸ™…β€β™€οΈ
  • -n, --nullInput[=false] β€” don’t read input (stdin); useful when you’re using shell for/while loops πŸŒ€
  • -o, --output="table" β€” choose your output format β€” table, json, csv, or csvheader πŸ“€
  • --outputFile="" β€” save JSON output to a file, after select/view πŸ—‚οΈ
  • --outputFileRaw="" β€” save the raw response to a file, before select/view πŸ—ƒοΈ
  • --outputTemplate="" β€” apply a jsonnet template to the output 🎨
  • -p, --pageSize=5 β€” set the max results per page β€” default is 5 πŸ“š
  • --progress[=false] β€” show a progress bar; this also disables any other verbose output, so choose wisely πŸ“Šβœ¨
  • --proxy="" β€” set the proxy, like http://10.0.0.1:8080 🌐
  • -r, --raw[=false] β€” show the raw response; this mode forces output=json and view=off πŸ₯©
  • --retries=3 β€” max number of attempts when an http call fails β€” default 3, resilient bestie πŸ’ͺ
  • --select=[] β€” comma-separated list of properties to return; wildcards and globstar are accepted, like --select 'id,name,type,**.serialNumber' 🎯
  • --session="" β€” session configuration, bestie πŸ”
  • --sessionMode="" β€” override the default session mode for a single command that 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 won’t affect the exit code 🀫
  • --silentStatusCodes="" β€” status codes that won’t print an error message β€” quiet girlie behavior 🀐
  • --timeout="600s" β€” set the request timeout duration, like 60s or 2m β€” default 600s ⏰
  • --totalPages=0 β€” total number of pages to get πŸ“–
  • -v, --verbose[=false] β€” verbose logging, because sometimes you need the whole story πŸ—£οΈ
  • --view="auto" β€” use views when displaying data on the terminal; disable it with --view off πŸ‘€
  • --withError[=false] β€” print errors on stdout instead of stderr πŸ“€β—
  • --withTotalElements[=false] β€” ask Cumulocity to include the total elements in the response statistics under .statistics.totalElements β€” introduced in 10.13 πŸ“Š
  • -t, --withTotalPages[=false] β€” ask Cumulocity to include the total pages in the response statistics under .statistics.totalPages πŸ“„
  • --workers=1 β€” set the number of workers β€” default 1 πŸ‘·β€β™€οΈ

🌈 SEE ALSO 🌈

go read these next, bestie β€” they’re all linked in the c8y cinematic universe 🎬:

xoxo, your c8y(1) bestie πŸ’– β€” Jan 1980 edition, slaying forever πŸŽ€βœ¨

πŸ“¦ where this page comes from