c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

hii bestie ๐Ÿ’– welcome to the c8y(1) manual page โ€” weโ€™re doing local cache management today and itโ€™s genuinely not scary. slay. โœจ

โœจ NAME โœจ

c8y-cache โ€” Local cache management ๐ŸŽ€

๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

c8y cache [flags]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

These are the commands that manage your local cache, i.e. to cleanup the cache or refresh it. Thatโ€™s the whole vibe, no cap. ๐Ÿ’…

๐Ÿ’– OPTIONS ๐Ÿ’–

  • -h, --help[=false] โ€” help for cache, obviously ๐Ÿซถ

๐Ÿ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿ‘‘

okay so the parent commands are passing down this whole stack of flags โ€” all of them, no skips. ๐Ÿ‘‘

  • --abortOnErrors=10 โ€” abort the batch when it reaches the specified number of errors ๐Ÿ’€
  • --allowEmptyPipe[=false] โ€” donโ€™t fail when the piped input is empty (stdin) ๐Ÿซง
  • --cache[=false] โ€” enable cached responses โœจ
  • --cacheBodyPaths=[] โ€” cache should limit hashing of selected paths in the json body; empty indicates all values ๐ŸŽ€
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m โณ
  • -c, --compact[=false] โ€” compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal ๐Ÿงš
  • --confirm[=false] โ€” prompt for confirmation ๐Ÿ™ˆ
  • --confirmText="" โ€” custom confirmation text ๐Ÿ’ฌ
  • --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 ๐Ÿ”
  • --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 ๐Ÿšซ
  • --dryFormat="markdown" โ€” dry run output format, i.e. json, dump, markdown or curl ๐Ÿ“
  • --examples[=false] โ€” show examples for the current command ๐ŸŒŸ
  • --filter=[] โ€” apply a client side filter to response before returning it to the user ๐Ÿงผ
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation ๐Ÿช„
  • -f, --force[=false] โ€” do not prompt for confirmation. Ignored when using --confirm ๐Ÿ’ฅ
  • -H, --header=[] โ€” custom headers, i.e. --header "Accept: value, AnotherHeader: myvalue" ๐Ÿ“จ
  • --includeAll[=false] โ€” include all results by iterating through each page ๐Ÿ“š
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL ๐Ÿ”“
  • -l, --logMessage="" โ€” add custom message to the activity log ๐Ÿ—’๏ธ
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (use with caution!) ๐Ÿ”ฅ
  • --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) ๐ŸงŠ
  • -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] โ€” disable progress bars ๐Ÿ“‰
  • --noProxy[=false] โ€” ignore the proxy settings ๐Ÿ•ณ๏ธ
  • -n, --nullInput[=false] โ€” donโ€™t read the input (stdin). Useful if using in shell for/while loops ๐Ÿ”
  • -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 ๐Ÿ“ˆ
  • --proxy="" โ€” proxy setting, i.e. http://10.0.0.1:8080 ๐ŸŒ
  • -r, --raw[=false] โ€” show raw response. This mode will force 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, 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 ๐Ÿคซ
  • -U, --sessionUsername="" โ€” override session username, i.e. 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, i.e. 60s, 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 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 ๐Ÿ‘ฉโ€๐Ÿ’ป

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

mwah ๐Ÿ’‹ thatโ€™s the c8y(1) manual, dated Jan 1980 โ€” vintage but still slaying. bye bestie ๐Ÿซถ

๐Ÿ“ฆ where this page comes from