c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸŽ€ c8y(1) πŸŽ€

okay so welcome to the c8y(1) manual page, bestie πŸ’– this is the whole thing β€” every flag, every default, every vibe. No skips, no cap. Buckle up. πŸ¦‹

✨ NAME ✨

c8y-tenants-applications-enable β€” Subscribe application. Yep, that's the name section, and it's already iconic. πŸ’…

🌸 SYNOPSIS 🌸

c8y tenants applications enable [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Enable/subscribe an application to a tenant. That's literally the mission, bestie. You point it at an app and a tenant, and it does the subscribe/enable thing. Periodt. ✨

πŸ’– OPTIONS πŸ’–

  • --application="" β€” Application id. It's required, bestie (required), and it accepts pipeline input. No app id = no slay.
  • -h, --help[=false] β€” help for enable. Your little rescue button when you need the lore. 🫢
  • --processingMode="" β€” Cumulocity processing mode. Set the mode, get the processing vibe.
  • --tenant="" β€” Tenant id. Defaults to the current tenant (based on credentials). Cute, it already knows where you live. πŸŽ€

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

Okay these are the parent-command options that come along for the ride. All of them. Yes, all of them. 🫢

  • --abortOnErrors=10 β€” Abort the batch when it reaches the specified number of errors. Default is 10, and yes it's counting. πŸ”₯
  • --allowEmptyPipe[=false] β€” Don't fail when the piped input (stdin) is empty. Empty pipe? Not a crisis. πŸ’…
  • --cache[=false] β€” Enable cached responses. Cache era.
  • --cacheBodyPaths=[] β€” Cache should limit hashing of selected paths in the json body. Empty indicates all values. Leave it empty and it's all in.
  • --cacheTTL="60s" β€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. Default is 60s.
  • -c, --compact[=false] β€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. Terminal gets the pretty treatment by default. ✨
  • --confirm[=false] β€” Prompt for confirmation. A little "are you sure bestie?" moment. πŸ™ˆ
  • --confirmText="" β€” Custom confirmation text. Write your own dramatic prompt.
  • --currentPage=0 β€” Current page which should be returned. Default is 0.
  • --customQueryParam=[] β€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Drop your custom query params right there. πŸ¦‹
  • --debug[=false] β€” Set very verbose log messages. For when you need maximum lore.
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. Default is 0ms.
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. Default is 0ms.
  • --dry[=false] β€” Dry run. Don't send any data to the server. Fake it till you make it, but make it safe.
  • --dryFormat="markdown" β€” Dry run output format. i.e. json, dump, markdown or curl. Default is markdown.
  • --examples[=false] β€” Show examples for the current command. Examples? Yes please. πŸŽ€
  • --filter=[] β€” Apply a client side filter to response before returning it to the user. Client-side filter moment.
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Nested who? Dot notation now.
  • -f, --force[=false] β€” Do not prompt for confirmation. Ignored when using --confirm. Important bestie. πŸ’€
  • -H, --header=[] β€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue". Add your own headers. πŸ¦‹
  • --includeAll[=false] β€” Include all results by iterating through each page. All the pages, all the results. πŸ”₯
  • -k, --insecure[=false] β€” Allow insecure server connections when using SSL. Insecure mode, handle with care.
  • -l, --logMessage="" β€” Add custom message to the activity log. Put your own note in the activity log. πŸ’…
  • --maxJobs=0 β€” Maximum number of jobs. 0 = unlimited (use with caution!) Bestie, caution. Seriously. 😭
  • --noAccept[=false] β€” Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Accept header: removed. PUT/POST: only ones seeing the effect. 🫢
  • --noCache[=false] β€” Force disabling of cached responses (overwrites cache setting). Cache? Not today.
  • -M, --noColor[=false] β€” Don't use colors when displaying log entries on the console. Monochrome log entries, we respect it.
  • --noLog[=false] β€” Disables the activity log for the current command. No activity log for this command.
  • --noProgress[=false] β€” Disable progress bars. No progress bar, no distractions. ✨
  • --noProxy[=false] β€” Ignore the proxy settings. Proxy settings? Ignored.
  • -n, --nullInput[=false] β€” Don't read the input (stdin). Useful if using in shell for/while loops. Great for shell for/while loops. πŸŒ€
  • -o, --output="table" β€” Output format i.e. table, json, csv, csvheader. Default is table.
  • --outputFile="" β€” Save JSON output to file (after select/view). Save it after select/view.
  • --outputFileRaw="" β€” Save raw response to file (before select/view). Save it before select/view.
  • --outputTemplate="" β€” jsonnet template to apply to the output. Template time. πŸŽ€
  • -p, --pageSize=5 β€” Maximum results per page. Default is 5.
  • --progress[=false] β€” Show progress bar. This will also disable any other verbose output. Progress bar on, other verbose output off. πŸ’…
  • --proxy="" β€” Proxy setting, i.e. http://10.0.0.1:8080. Set your proxy here. 🌈
  • -r, --raw[=false] β€” Show raw response. This mode will force output=json and view=off. Raw mode, no filter. πŸ”₯
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. Default is 3.
  • --select=[] β€” Comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. Pick your properties. ✨
  • --session="" β€” Session configuration. Session config, got it.
  • --sessionMode="" β€” Override default session mode for a single command which would normally be disabled. One-command session mode override. 🫢
  • -P, --sessionPassword="" β€” Override session password. Password override.
  • -U, --sessionUsername="" β€” Override session username. i.e. peter or t1234/peter (with tenant). Username override with tenant example. πŸ¦‹
  • --silentExit[=false] β€” Silent status codes do not affect the exit code. Silent status codes stay out of the exit code. 🀫
  • --silentStatusCodes="" β€” Status codes which will not print out an error message. These status codes get no error message.
  • --timeout="600s" β€” Request timeout duration, i.e. 60s, 2m. Default is 600s.
  • --totalPages=0 β€” Total number of pages to get. Default is 0.
  • -v, --verbose[=false] β€” Verbose logging. Give me all the logs. 😭
  • --view="auto" β€” Use views when displaying data on the terminal. Disable using --view off. Default is auto.
  • --withError[=false] β€” Errors will be printed on stdout instead of stderr. Errors go to stdout instead of stderr. πŸ’€
  • --withTotalElements[=false] β€” Request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). Total elements stat, introduced in 10.13. ✨
  • -t, --withTotalPages[=false] β€” Request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. Total pages stat. πŸŽ€
  • --workers=1 β€” Number of workers. Default is 1.

πŸ“ EXAMPLE πŸ“

$ c8y tenants applications enable --tenant "t12345" --application "myMicroservice"

Enable an application of a tenant by name. Look at that, iconic. πŸ’…βœ¨

🧚 SEE ALSO 🧚


okay that's the whole page, bestie πŸ’– the footer's source/version + date vibes are Jan 1980 and the c8y(1) manual name β€” consider this the cute sign-off. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from