c8y(1)
π 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 is10, 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 is60s.-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 is0.--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 is0ms.--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. Default is0ms.--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,markdownorcurl. Default ismarkdown.--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 shellfor/whileloops. π-o,--output="table"β Output format i.e.table,json,csv,csvheader. Default istable.--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 is5.--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 forceoutput=jsonandview=off. Raw mode, no filter. π₯--retries=3β Max number of attempts when a failed http call is encountered. Default is3.--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.peterort1234/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 is600s.--totalPages=0β Total number of pages to get. Default is0.-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 isauto.--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 is1.
π 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
- 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