cortextool(1)
๐ฆ cortextool(1) โ the little CLI that runs your Cortex life ๐
Okay bestie, settle in, because this is cortextool, from the General Commands Manual, and it's genuinely iconic. It's a whole command-line tool and it's here to help you manage cortex. That's it, that's the vibe. โจ
๐ธ NAME ๐ธ
cortextool โ yes, that's the name, that's the whole name, she's confident and she doesn't need a subtitle ๐
๐ SYNOPSIS ๐
cortextool [<flags>] <command> [<args> ...]
So it's flags first (optional), then a command (mandatory, main character energy), then whatever args that command wants. Simple. Slay.
๐ DESCRIPTION ๐
A command-line tool to manage cortex.
That's literally the whole description and honestly? Respect. She said "I do one thing and I do it well." ๐ซถ
โจ OPTIONS โจ (the global ones, the ones that go up top)
These are the big-picture flags, the ones that live before your command. Learn them once, use them everywhere. Obsessed.
--helpโ Show context-sensitive help. Also, lowkey, try--help-longand--help-manโ she's got range ๐--config="/homeless-shelter/.cortextool/config"โ Path to thecortextoolconfig file. Yes, that default path is real, yes it's giving "nobody's home," no we don't ask questions ๐--context=CONTEXTโ Name of the context to use from the config file. Pick your fighter.--log.level="info"โ Sets the level of the logger. Default is"info", obviously.--push-gateway.endpoint=PUSH-GATEWAY.ENDPOINTโ The url for the push-gateway to register metrics. Drop that endpoint ๐ฏ--push-gateway.job=PUSH-GATEWAY.JOBโ The job name to register metrics under.--push-gateway.interval=1mโ Interval to forward metrics to the push gateway. Default:1m. Every minute, she checks in. Consistent queen. โฐ
๐ COMMANDS ๐
This is the good part. Buckle up, there's a lot and every single one matters. ๐
๐ง help [<command>...]
Show help. That's it. She's helpful, she's humble, she's the friend who actually reads the docs.
๐ฅ alerts verify [<flags>]
Verifies that alerts in an alertmanager cluster are deduplicated. Genuinely useful for verifying your configuration is correct when you're transferring from Prometheus to Cortex alert evaluation. Like a vibe check but for your alerts. ๐
--ignore-alerts=IGNORE-ALERTSโ A comma separated list of Alert names to ignore in deduplication checks. Some alerts just get a pass, ok?--source-label="prometheus"โ Label to look for when deciding if two alerts are duplicates of eachother from separate sources. Default:"prometheus".--grace-period=2โ Grace period. Don't consider alert groups with the incorrect amount of alert replicas erroneous unless the alerts have existed for more than this amount of time, in minutes. Default:2.--frequency=FREQUENCYโ Setting this value will turncortextoolinto a long-running process, running the alerts verify check every # of minutes specified. She'll just... keep going. Forever. No cap. ๐
๐ alertmanager get [<flags>]
Get the alertmanager config currently in the cortex alertmanager. Fetch, bestie.
--disable-colorโ disable colored output (sad, but sometimes you gotta, for the pipelines ๐ญ)
โญ alertmanager delete
Delete the alertmanager config currently in the cortex alertmanager.
Heads up: there's no flags listed for this one, no confirmer, no "are you sure" โ just you, your choices, and the consequences ๐
๐ alertmanager load <config> [<template-files>...]
load a set of rules to a designated cortex endpoint
Takes a <config> and then any number of [<template-files>...]. Load it up, she's carrying. ๐ซถ
๐ฆ rules list [<flags>]
List the rules currently in the cortex ruler. Very "let me see what we're working with" of her.
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.--format=tableโ Backend type to interact with:<json|yaml|table>. Default:table.--disable-colorโ disable colored output
๐ rules print [<flags>]
Print the rules currently in the cortex ruler. Same energy as list but make it print. ๐จ๏ธ
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.--disable-colorโ disable colored output
๐ฏ rules get [<flags>] <namespace> <group>
Retrieve a rulegroup from the ruler. You give her a namespace and a group, she gives you the goods. ๐
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.--disable-colorโ disable colored output
๐ rules delete [<flags>] <namespace> <group>
Delete a rulegroup from the ruler. Gone. Poof. She's not asking twice (well, actually, she's not asking at all ๐).
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.
๐ธ rules delete-namespace [<flags>] <namespace>
Delete a namespace from the ruler. Whole namespace. The way she just takes it ALL out ๐ญ
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.
๐ rules load [<flags>] <rule-files>...
load a set of rules to a designated cortex endpoint
Give her one or more <rule-files> and she'll ship them. ๐
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.
๐ง rules diff [<flags>] [<rule-files>...]
diff a set of rules to a designated cortex endpoint
She compares. She reports. She does NOT let you push blind. This is the responsible friend of the group and we love her for it. ๐
--address=ADDRESSโ Address of the cortex cluster, alternatively setCORTEX_ADDRESSor use config file.--id=IDโ Cortex tenant id, alternatively setCORTEX_TENANT_IDor use config file.--use-legacy-routesโ If set, API requests to cortex will use the legacy/api/prom/routes, alternatively setCORTEX_USE_LEGACY_ROUTES.--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. The default is/api/v1/rules--tls-ca-path=""โ TLS CA certificate to verify cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH.--tls-cert-path=""โ TLS client certificate to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH.--tls-key-path=""โ TLS client certificate private key to authenticate with cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH.--namespaces=NAMESPACESโ comma-separated list of namespaces to check during a diff. Cannot be used together with--ignored-namespaces.--ignored-namespaces=IGNORED-NAMESPACESโ comma-separated list of namespaces to ignore during a diff. Cannot be used together with--namespaces.--rule-files=RULE-FILESโ The rule files to check. Flag can be reused to load multiple files. Reuse it, she doesn't mind ๐ซถ--rule-dirs=RULE-DIRSโ Comma separated list of paths to directories containing rules yaml files. Each file in a directory with a.ymlor.yamlsuffix will be parsed.--disable-colorโ disable colored output--verboseโ show diff output with rules changes
Two things to keep in your cute little head:--namespacesand--ignored-namespacescan NOT be used together, and that's not a suggestion, that's a rule ๐ซ
and that's literally just part one bestie, she's still going โ ๐
๐ธ rules sync โ push your rules to Cortex
rules sync [<flags>] [<rule-files>...]
okay so this one syncs a whole set of rules to a designated cortex endpoint. bestie, it's the โจ main character โจ of the rules workflow imo.
--address=ADDRESSโ the address of the cortex cluster. you can also setCORTEX_ADDRESSinstead, or just use the config file ๐--id=IDโ your Cortex tenant id. alternatively setCORTEX_TENANT_ID, or use the config file ๐ซถ--use-legacy-routesโ if set, API requests to cortex will use the legacy/api/prom/routes. alternatively setCORTEX_USE_LEGACY_ROUTES๐ฆ--ruler-api-path=""โ if set, API requests to cortex will use an alternative path for the ruler API, alternatively setCORTEX_RULER_API_PATH. the default is/api/v1/rules๐--tls-ca-path=""โ TLS CA certificate to verify the cortex API as part of mTLS, alternatively setCORTEX_TLS_CA_PATH๐--tls-cert-path=""โ TLS client certificate to authenticate with the cortex API as part of mTLS, alternatively setCORTEX_TLS_CERT_PATH๐--tls-key-path=""โ TLS client certificate private key to authenticate with the cortex API as part of mTLS, alternatively setCORTEX_TLS_KEY_PATH๐--namespaces=NAMESPACESโ comma-separated list of namespaces to check during a diff. cannot be used together with--ignored-namespaces๐ซ--ignored-namespaces=IGNORED-NAMESPACESโ comma-separated list of namespaces to ignore during a sync. cannot be used together with--namespaces๐ซ--rule-files=RULE-FILESโ the rule files to check. the flag can be reused to load multiple files ๐--rule-dirs=RULE-DIRSโ comma separated list of paths to directories containing rules yaml files. every file in a directory with a.ymlor.yamlsuffix will be parsed โจ
lowkey important:--namespacesand--ignored-namespacesare giving sworn enemies โ pick one, you literally cannot have both ๐
๐ rules prepare โ glow-up your aggregations
rules prepare [<flags>] [<rule-files>...]
this one modifies a set of rules by including a specific label in aggregations. it's giving "let me just add a little something" ๐
--rule-files=RULE-FILESโ the rule files to check. flag can be reused to load multiple files ๐--rule-dirs=RULE-DIRSโ comma separated list of paths to directories containing rules yaml files. every file in a directory with a.ymlor.yamlsuffix will be parsed โจ-i,--in-placeโ edits the rule file in place. (yes bestie it's literally editing your files, so maybe peek at them first ๐)-l,--label="cluster"โ the label to include as part of the aggregations. default is"cluster"๐ท๏ธ--label-excluded-rule-groups=LABEL-EXCLUDED-RULE-GROUPSโ comma separated list of rule group names to exclude when including the configured label to aggregations ๐ โโ๏ธ
๐ฆ rules lint โ the formatting fairy
rules lint [<flags>] [<rule-files>...]
formats a set of rule files. it reorders keys alphabetically, uses 4 spaces as indentantion, and formats PromQL expressions to a single line. so satisfying, ngl ๐โจ
--rule-files=RULE-FILESโ the rule files to check. flag can be reused to load multiple files ๐--rule-dirs=RULE-DIRSโ comma separated list of paths to directories containing rules yaml files. every file in a directory with a.ymlor.yamlsuffix will be parsed โจ-n,--dry-runโ performs a trial run that doesn't make any changes and (mostly) produces the same outpupt as a real run ๐
๐ฅ rules check โ bestie behaviour enforcement
rules check [<flags>] [<rule-files>...]
runs various best practice checks against rules. it's the friend who tells you your outfit is cute but your shoes don't match ๐ซถ
--rule-files=RULE-FILESโ the rule files to check. flag can be reused to load multiple files ๐--rule-dirs=RULE-DIRSโ comma separated list of paths to directories containing rules yaml files. every file in a directory with a.ymlor.yamlsuffix will be parsed โจ--strictโ fails rules checks that do not match best practices exactly. no notes, no grace, no vibes ๐
โญ loadgen โ the stress-test queen
loadgen [<flags>]
simple load generator for Cortex. she generates. she loads. she serves metrics ๐
--write-url=""โ the write URL ๐--series-name="node_cpu_seconds_total"โ name of the metric that will be generated โจ--active-series=1000โ number of active series to send ๐ข--scrape-interval=15sโ period to send metrics โฐ--parallelism=10โ how many metrics to send simultaneously ๐โโ๏ธ--batch-size=100โ how big a batch to send ๐ฆ--write-timeout=500msโ timeout for write requests โณ--query-url=""โ the query URL ๐--query="sum(node_cpu_seconds_total)"โ query to run ๐งฎ--query-parallelism=10โ number of queries to run in parallel โก--query-timeout=20sโ timeout for queries โณ--query-duration=1hโ length of query ๐--metrics-listen-address=":8080"โ address to serve metrics on ๐ก
๐ remote-read export โ take your metrics home
remote-read export --address=ADDRESS [<flags>]
export metrics remote read series into a local TSDB. it's giving "packing up your stuff and moving out" ๐ฆโจ
--address=ADDRESSโ address of the cortex cluster, alternatively set$CORTEX_ADDRESS๐--remote-read-path="/prometheus/api/v1/read"โ path of the remote read endpoint ๐ฃ๏ธ--id=""โ Cortex tenant id, alternatively set$CORTEX_TENANT_ID๐ซถ--key=""โ api key to use when contacting cortex, alternatively set$CORTEX_API_KEY๐--read-timeout=30sโ timeout for read requests โณ--selector="up"โ PromQL selector to filter metrics on. to return all metrics,'{__name__!=""}'can be used ๐ฏ--from="2026-10-21T20:15:19Z"โ start of the time window to select metrics ๐--to="2026-10-21T21:15:19Z"โ end of the time window to select metrics ๐--tsdb-path=""โ path to the folder where to store the TSDB blocks, if not set a new directory in$TEMPis created ๐๏ธ
๐ remote-read dump โ spill the tea
remote-read dump --address=ADDRESS [<flags>]
dump remote read series. literally just dumping them out, no filter, no shame ๐ซ
--address=ADDRESSโ address of the cortex cluster, alternatively set$CORTEX_ADDRESS๐--remote-read-path="/prometheus/api/v1/read"โ path of the remote read endpoint ๐ฃ๏ธ--id=""โ Cortex tenant id, alternatively set$CORTEX_TENANT_ID๐ซถ--key=""โ api key to use when contacting cortex, alternatively set$CORTEX_API_KEY๐--read-timeout=30sโ timeout for read requests โณ--selector="up"โ PromQL selector to filter metrics on. to return all metrics,'{__name__!=""}'can be used ๐ฏ--from="2026-10-21T20:15:19Z"โ start of the time window to select metrics ๐--to="2026-10-21T21:15:19Z"โ end of the time window to select metrics ๐
๐ remote-read stats โ the numbers version
remote-read stats --address=ADDRESS [<flags>]
show statistic of remote read series. the way that this just gives you the receipts ๐ญ๐
--address=ADDRESSโ address of the cortex cluster, alternatively set$CORTEX_ADDRESS๐--remote-read-path="/prometheus/api/v1/read"โ path of the remote read endpoint ๐ฃ๏ธ--id=""โ Cortex tenant id, alternatively set$CORTEX_TENANT_ID๐ซถ--key=""โ api key to use when contacting cortex, alternatively set$CORTEX_API_KEY๐--read-timeout=30sโ timeout for read requests โณ--selector="up"โ PromQL selector to filter metrics on. to return all metrics,'{__name__!=""}'can be used ๐ฏ--from="2026-10-21T20:15:19Z"โ start of the time window to select metrics ๐--to="2026-10-21T21:15:19Z"โ end of the time window to select metrics ๐
๐ง acl generate-header โ the golden ticket
acl generate-header --id=ID --rule=RULE
generate the header that needs to be passed to the datasource for setting ACLs. it's giving backstage pass ๐ซโจ
--id=IDโ Cortex tenant ID, alternatively setCORTEX_TENANT_ID๐ซถ--rule=RULEโ the access control rules (Prometheus selectors). set it multiple times to set multiple rules ๐
๐ analyse prometheus โ cardinality detective era
analyse prometheus --address=ADDRESS [<flags>]
take the metrics being used in Grafana and get the cardinality from a Prometheus. she investigates ๐๐
--address=ADDRESSโ address of the Prometheus/Cortex instance, alternatively set$CORTEX_ADDRESS๐--id=""โ username to use when contacting Prometheus/Cortex, alternatively set$CORTEX_TENANT_ID๐ซถ--key=""โ password to use when contacting Prometheus/Cortex, alternatively set$CORTEX_API_KEY๐--read-timeout=30sโ timeout for read requests โณ--grafana-metrics-file="metrics-in-grafana.json"โ the path for the input file containing the metrics from the grafana-analyse command ๐--ruler-metrics-file="metrics-in-ruler.json"โ the path for the input file containing the metrics from the ruler-analyse command ๐--output="prometheus-metrics.json"โ the path for the output file ๐ค
๐ธ analyse grafana โ dashboard archaeology
analyse grafana --address=ADDRESS [<flags>]
analyse and output the metrics used in Grafana Dashboards. bestie we are going digging through dashboards ๐
--address=ADDRESSโ address of the Grafana instance, alternatively set$GRAFANA_ADDRESS๐--key=""โ api key to use when contacting Grafana, alternatively set$GRAFANA_API_KEY๐--read-timeout=300sโ timeout for read requests โณ--output="metrics-in-grafana.json"โ the path for the output file ๐ค
๐ analyse ruler โ rules, but make it metrics
analyse ruler --address=ADDRESS [<flags>]
analyse and extract the metrics used in Cortex rules ๐ง โจ
--address=ADDRESSโ address of the Prometheus/Cortex instance, alternatively set$CORTEX_ADDRESS๐--id=""โ username to use when contacting Prometheus/Cortex, alternatively set$CORTEX_TENANT_ID๐ซถ--key=""โ password to use when contacting Prometheus/Cortex, alternatively set$CORTEX_API_KEY๐--output="metrics-in-ruler.json"โ the path for the output file ๐ค
๐ฆ analyse dashboard โ feeding it files
analyse dashboard [<flags>] <files>...
analyse and output the metrics used in Grafana dashboard files. you literally hand her the files, she does the rest ๐โโ๏ธ
--output="metrics-in-grafana.json"โ the path for the output file ๐ค
๐ analyse rule-file โ same energy, rules version
analyse rule-file [<flags>] <files>...
analyse and output the metrics used in Prometheus rules files ๐โจ
--output="metrics-in-ruler.json"โ the path for the output file ๐ค
๐ bucket-validation โ trust but verify
bucket-validation [<flags>]
validate that an object store bucket works correctly. she does a little vibe check on your bucket ๐ชฃโ
--object-count=2000โ number of objects to create & delete ๐ข--report-every=100โ every X operations a progress report gets printed ๐--test-runs=1โ number of times we want to run the whole test ๐--prefix="tenant"โ path prefix to use for test objects in object store ๐ท๏ธ--retries-on-error=3โ number of times we want to retry if object store returns error ๐--bucket-config=BUCKET-CONFIGโ the CLI args to configure a storage bucket ๐ชฃ--bucket-config-helpโ help text explaining how to use the-bucket-configparameter ๐
โญ config view โ see the whole picture
config view
display merged configuration. everything, all at once, merged ๐ซถ
๐ config get-contexts โ roll call
config get-contexts
list all contexts ๐
๐ config current-context โ where are we rn
config current-context
display the current context ๐
๐ง config use-context โ switch it up
config use-context <name>
set the current context โจ
๐ config set-context โ build the vibe
config set-context [<flags>] <name>
create or modify a context ๐ ๏ธ
--cluster=CLUSTERโ cluster name for the context ๐ข--user=USERโ user name for the context ๐ค
๐ config set-cluster โ cluster era
config set-cluster [<flags>] <name>
create or modify a cluster ๐
--address=ADDRESSโ Cortex cluster address ๐--tls-ca-path=TLS-CA-PATHโ TLS CA certificate path ๐--tls-cert-path=TLS-CERT-PATHโ where your TLS client certificate lives, bestie. drop the path and she's ready to show her ID ๐ณ--tls-key-path=TLS-KEY-PATHโ and this is the matching TLS client key path. they're a set, don't separate them ๐ญ--use-legacy-routesโ flips you over to the legacy API routes. old school, but sometimes old school is the vibe ๐ซถ--ruler-api-path=RULER-API-PATHโ wanna point at a custom ruler API path? say less, that's literally this flag โจ
๐ config set-credentials [<flags>] <name>
okay so this one is the moment you create or modify user credentials โ yes, both, it's giving multitasking main character energy ๐
--id=IDโ the Tenant ID. know your tenant, love your tenant ๐--user=USERโ your Basic auth username. iconic, essential ๐ชช--key=KEYโ the Basic auth password/key that goes with it. guard it with your life, no cap ๐--auth-token=AUTH-TOKENโ a Bearer token for JWT auth. different auth flavor, same slay ๐
๐ฆ config delete-context <name>
Deletes a context. that's it, that's the whole thing โ poof, gone, she's not coming back ๐
โญ version
Gets the version of the cortextool CLI. tiny command, big "is my stuff up to date" energy ๐ง
and that's the whole page, bestie โ you made it to the end, I'm so proud ๐ญ๐
this was cortextool(1) โ that's the footer, and yeah, I'm mentioning it in the sign-off because we're cute like that ๐ go forth and run your commands, you gorgeous nerd ๐โจ
๐ฆ where this page comes from
- nixpkgs unstable: cortex-tools 0.21.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms