TREXE(1)
okay bestie, welcome to trexe β she's a User Commands girly, section 1 of the manual, and she's lowkey about to rearrange your whole workflow. No cap. π
π NAME π
trexe β that's it. That's the name. It's giving "I said what I said", and honestly? Iconic. She's trexe, she does trexe things, periodt. β¨
π SYNOPSIS π
trexe
right?? no args, no flags, just vibes. You summon her, then you hand her options one by one like little gifts and she eats every single time. π
β¨ DESCRIPTION β¨
okay so here's the tea, bestie π β every single one of these is [optional] (except --help, she's the exception, she's the moment), and there is so much here. Do not skip any of it, I'm telling you the whole thing, all of it, character for character, because gatekeeping flags is not the energy we're bringing into this group chat. π«Ά
π the ones that apply to ALL the services π
--helpβ displays the usage and exits. Baby's first flag, and she's perfect. π--versionβ prints the version information and exits. [optional] π--remoteβ the URL for all the services. [optional]--instanceβ the instance for all the services. [optional]--server-certβ the server TLS certificate for all the services, PEM-encoded. [optional]--client-keyβ the client private TLS key far all the services, PEM-encoded. Yes she literally wrote "far". We are not fixing it. It's part of her charm now. [optional] π--client-certβ the client TLS certificate for all the services, PEM-encoded. [optional]--access-tokenβ the authentication token for all the services (JWT, OAuth token, you name it), and it gets included as an HTTPAuthorizationbearer token. [optional]--token-reload-intervalβ the default access token refresh timeout. [optional]--googleapi-authβ useGoogleAPIAuthfor all the services. [optional]--credential-helperβ the credential helper executable for all the services. [optional]--retry-limitβ retry limit for gRPC errors for all the services. [optional]--retry-delayβ retry delay for gRPC errors for all the services. [optional]--retry-on-codeβ the gRPC status code(s), as string(s), to retry on for all the services, e.g.'UNKNOWN','INTERNAL'. [optional]--request-timeoutβ the timeout for gRPC requests for all the services (set it to0to disable the timeout). [optional]--min-throughputβ the minimum throughput for gRPC requests for all the services, in bytes per seconds. The value may be suffixed withK,M,GorT. [optional]--keepalive-timeβ the gRPC keepalive pings period for all the services (set it to0to disable keepalive pings). [optional]--load-balancing-policyβ the gRPC load balancing policy for all the services, and the valid options are'round_robin'and'grpclb'. [optional]
π§ the CAS girlies π§
--cas-remoteβ the URL for the CAS service. [optional]--cas-instanceβ the name of the CAS instance. [optional]--cas-server-certβ the server TLS certificate for CAS, PEM-encoded. [optional]--cas-client-keyβ the client private TLS key for CAS, PEM-encoded. [optional]--cas-client-certβ the client TLS certificate for CAS, PEM-encoded. [optional]--cas-access-tokenβ the authentication token for CAS (JWT, OAuth token etc), and it will be included as an HTTPAuthorizationbearer token. [optional]--cas-token-reload-intervalβ the access token refresh timeout for the CAS service. [optional]--cas-googleapi-authβ useGoogleAPIAuthfor the CAS service. [optional]--cas-credential-helperβ the credential helper executable for the CAS service. [optional]--cas-retry-limitβ the retry limit for gRPC errors for the CAS service. [optional]--cas-retry-delayβ the retry delay for gRPC errors for the CAS service. [optional]--cas-retry-on-codeβ the gRPC status code(s), as string(s), to retry on for the CAS service, e.g.,'UNKNOWN','INTERNAL'. [optional]--cas-request-timeoutβ the timeout for gRPC requests for the CAS service (set it to0to disable the timeout). [optional]--cas-min-throughputβ the minimum throughput for gRPC requests for the CAS service, in bytes per seconds. The value may be suffixed withK,M,GorT. [optional]--cas-keepalive-timeβ the gRPC keepalive pings period for the CAS service (set it to0to disable keepalive pings). [optional]--cas-load-balancing-policyβ the gRPC load balancing policy for the CAS service, valid options are'round_robin'and'grpclb'. [optional]
π¦ ActionCache, my beloved π¦
--ac-remoteβ the URL for the ActionCache service. [optional]--ac-instanceβ the name of the ActionCache instance. [optional]--ac-server-certβ the server TLS certificate for ActionCache, PEM-encoded. [optional]--ac-client-keyβ the client private TLS key for ActionCache, PEM-encoded. [optional]--ac-client-certβ the client TLS certificate for ActionCache, PEM-encoded. [optional]--ac-access-tokenβ the authentication token for ActionCache (JWT, OAuth token etc), and it will be included as an HTTPAuthorizationbearer token. [optional]--ac-token-reload-intervalβ the access token refresh timeout for the ActionCache service. [optional]--ac-googleapi-authβ useGoogleAPIAuthfor the ActionCache service. [optional]--ac-credential-helperβ the credential helper executable for the ActionCache service. [optional]--ac-retry-limitβ the retry limit for gRPC errors for the ActionCache service. [optional]--ac-retry-delayβ the retry delay for gRPC errors for the ActionCache service. [optional]--ac-retry-on-codeβ the gRPC status code(s), as string(s), to retry on for the ActionCache service, e.g.,'UNKNOWN','INTERNAL'. [optional]--ac-request-timeoutβ the timeout for gRPC requests for the ActionCache service (set it to0to disable the timeout). [optional]--ac-min-throughputβ the minimum throughput for gRPC requests for the ActionCache service, in bytes per seconds. The value may be suffixed withK,M,GorT. [optional]--ac-keepalive-timeβ the gRPC keepalive pings period for the ActionCache service (set it to0to disable keepalive pings). [optional]--ac-load-balancing-policyβ the gRPC load balancing policy for the ActionCache service, valid options are'round_robin'and'grpclb'. [optional]
π₯ Execution, she runs things (literally) π₯
--exec-remoteβ the URL for the Execution service. [optional]--exec-instanceβ the name of the Execution instance. [optional]--exec-server-certβ the server TLS certificate for Execution, PEM-encoded. [optional]--exec-client-keyβ the client private TLS key for Execution, PEM-encoded. [optional]--exec-client-certβ the client TLS certificate for Execution, PEM-encoded. [optional]--exec-access-tokenβ the authentication token for Execution (JWT, OAuth token etc), and it will be included as an HTTPAuthorizationbearer token. [optional]--exec-token-reload-intervalβ the access token refresh timeout for the Execution service. [optional]--exec-googleapi-authβ useGoogleAPIAuthfor the Execution service. [optional]--exec-credential-helperβ the credential helper executable for the Execution service. [optional]--exec-retry-limitβ the retry limit for gRPC errors for the Execution service. [optional]--exec-retry-delayβ the retry delay for gRPC errors for the Execution service. [optional]--exec-retry-on-codeβ the gRPC status code(s), as string(s), to retry on for the Execution service, e.g.,'UNKNOWN','INTERNAL'. [optional]--exec-request-timeoutβ the timeout for gRPC requests for the Execution service (set it to0to disable the timeout). [optional]--exec-min-throughputβ the minimum throughput for gRPC requests for the Execution service, in bytes per seconds. The value may be suffixed withK,M,GorT. [optional]--exec-keepalive-timeβ the gRPC keepalive pings period for the Execution service (set it to0to disable keepalive pings). [optional]--exec-load-balancing-policyβ the gRPC load balancing policy for the Execution service, valid options are'round_robin'and'grpclb'. [optional]
πΈ LogStream, she's the narrator πΈ
--logstream-remoteβ the URL for the LogStream service. [optional]--logstream-instanceβ the name of the LogStream instance. [optional]--logstream-server-certβ the server TLS certificate for LogStream, PEM-encoded. [optional]--logstream-client-keyβ the client private TLS key for LogStream, PEM-encoded. [optional]--logstream-client-certβ the client TLS certificate for LogStream, PEM-encoded. [optional]--logstream-access-tokenβ the authentication token for LogStream (JWT, OAuth token etc), and it will be included as an HTTPAuthorizationbearer token. [optional]--logstream-token-reload-intervalβ the access token refresh timeout for the LogStream service. [optional]--logstream-googleapi-authβ useGoogleAPIAuthfor the LogStream service. [optional]--logstream-credential-helperβ the credential helper executable for the LogStream service. [optional]--logstream-retry-limitβ the retry limit for gRPC errors for the LogStream service. [optional]--logstream-retry-delayβ the retry delay for gRPC errors for the LogStream service. [optional]--logstream-retry-on-codeβ the gRPC status code(s), as string(s), to retry on for the LogStream service, e.g.,'UNKNOWN','INTERNAL'. [optional]--logstream-request-timeoutβ the timeout for gRPC requests for the LogStream service (set it to0to disable the timeout). [optional]--logstream-min-throughputβ the minimum throughput for gRPC requests for the LogStream service, in bytes per seconds. The value may be suffixed withK,M,GorT. [optional]--logstream-keepalive-timeβ the gRPC keepalive pings period for the LogStream service (set it to0to disable keepalive pings). [optional]--logstream-load-balancing-policyβ the gRPC load balancing policy for the LogStream service, valid options are'round_robin'and'grpclb'. [optional]
π the config + actual-doing-stuff era π
--config-fileβ a config file to specify all the options in TOML. [optional]--dβ Download completed action outputs to this path. Leave empty for no download. [optional]--digest-functionβ set a custom digest function. Supported functions:SHA512,SHA384,SHA256,SHA1,MD5. [optional, default = "SHA256"]--working-dirβ path to the working directory. [optional]--input-root-digestβ input root digest for the Action. [optional]--input-pathβ input path for the Action.--input-path=<path>for each input. Uselocal-path:remote-path[:PROPERTIES]to map an input to a specific path remotely, with optional properties.PROPERTIESis a comma-separated list of'ro','rw','unix_mode','mtime'. [optional]--output-pathβ the output path to capture.--output-path=<path>for each output. [optional]--output-node-propertiesβ a list of keys that indicate what additional file attributes should be captured β--output-node-properties=<name>for each property. [optional]--stdout-fileβ the filepath to store stdout. [optional]--stderr-fileβ the filepath to store stderr. [optional]--platform-propertiesβ the platform requirements for the execution environment β--platform-properties=<key>=<value>,<key>=...for each property. [optional]--environmentβ [Deprecated] use--envinstead, she's the glow-up. [optional]--envβ the environment variables to set in the running program's environment. To specify multiple ones, use--env=K1=V1 --env=K2=V2 .... [optional]--exec-timeoutβ how long an Action gets to vibe before the execution gets killed. That's the timeout, bestie, it's giving "you have until the timer runs out" π--exec-timeout=<seconds>[optional]--priorityβ the priority (aka the relative importance) of this action. A priority of0means the default priority, so if you write0you're saying "no thoughts, just default".--priority=<priority>[optional]--skip-cache-lookupβ flag saying the server should not check the cache when executing an action. Like, don't even look. π [optional]--do-not-cacheβ flag saying ActionResults should not be cached, and duplicate Action executions will not be merged. No storing, no merging, we move independent β¨ [optional]--follow-symlinksβ follow symlinks when building input trees. If you enable it, each input cannot be circular (so no ouroboros behaviour, bestie, that's a no π). Enabled by default. [optional]--do-not-follow-symlinksβ do not follow symlinks. The opposite vibe, the icon of boundaries. [optional]--correlated-invocations-idβ an identifier that ties multiple tool invocations together. Example from the page: runs offoo_test,bar_testandbaz_teston a post-submit of a given patch. Friend group, but for invocations π«Ά--correlated-invocations-id=<str>[optional]--tool-invocation-idβ an identifier that ties multiple actions together into one final result. Example: multiple actions are required to build and runfoo_test. It's the group chat that ends in one group project.--tool-invocation-id=<str>[optional]--action-mnemonicβ a brief description of the kind of action, likeCppCompileorGoLink. A little name tag for your action π--action-mnemonic=<str>[optional]--target-idβ an identifier for the target which produced the action that trexe will send.--target-id=<str>[optional]--configuration-idβ an identifier for the configuration in which the target was built, so you can tell apart, e.g. different sets of host tools or different target platforms. The "which fit was I wearing" of build configs π--configuration-id=<str>[optional]--tool-nameβ an extra string to append to the tool-name (trexe) that gets sent in the metadata. Useful when you want to add more info about the invocation, e.x.pythonto indicate python was used--tool-name=<str>[optional]--tool-versionβ an extra string to append to the tool-version (e.x.0.0.1) sent in the metadata. Useful for extra info about the invocation, e.x.2.3.4to append2.3.4(version of a package named intool-name) to the tool-version metadata--tool-version=<str>[optional]--locality-hintβ a hint to the scheduler about the locality of the execution. It's used to schedule the execution on a worker that's close to the data of a previous execution. Heads up though: this only works if the remote scheduler is BuildGrid. [optional]--saltβ an optional value to place theActioninto a separate cache namespace from other instances having the same field contents. Seasoning your cache π§--salt=<str>[optional]--waitβ flag saying trexe should block until execution is complete. This is the default behavior if--operationis not set. Sit tight, bestie β³ [optional]--no-waitβ flag saying trexe should not block until execution is complete. If--operationis not set, this causes trexe to exit with code0on successful job submission and write the operation id tostdoutin plaintext (e.g.app-cr/6283a9c6-85b2-4b03-92bd). If--operationis set, this causes trexe to exit with a non-zero code. And per the page, this is also the default if--operationis not set. [optional]
ok so the page says--waitis the default when--operationisn't set and that--no-waitis the default when--operationisn't set. The doc really does say both, bestie, I'm just the messenger π no cap.
--operationβ operation ID to look up and download outputs from (into the specified directory) if-dis set. [optional]--cancelβ cancels the specified operation. Requires--operation. Can't cancel what you didn't name, periodt. [optional]--result-metadata-fileβ the metadata of trexe execution in JSON gets written into this file π [optional]--action-result-jsonβ the full action result in JSON gets written into this file. Full send, all of it β¨ [optional]--cache-onlyβ if it's not already cached, execute the action in a local BuildBox runner and cache the result. Cache first, ask questions later πΎ [optional]--buildbox-runβ runner command for local execution. [optional]--runner-argβ arguments to pass to buildbox-run for local execution. This can be useful if the buildbox-run implementation you're using supports non-standard options β so, extra toppings for your runner π [optional]--log-progressβ enables progress logging [optional] [optional]
not it saying [optional] twice π the page is so committed to how optional this is. It's iconic, honestly.
--stream-logsβ enables live streaming of the remote command'sstdout/stderrto the localstdout/stderr. It's giving front-row seats πΏ [optional]--use-localcasβ use the LocalCAS API for CAS requests. This requires connecting tobuildbox-casd. [optional]--localcas-skip-uploadβ skip uploading to the remote CAS when using the LocalCAS API. Heads up: this has no effect if--use-localcasisn't set. [optional]--num-digest-threadsβ the number of threads to hash files to digests.Default=min(hardware-concurrency,16)β so your CPU core count, but never more than16. [optional]--num-io-threadsβ the number of threads for proxy CAS instances to upload or download blobs from/to remote CAS. For now, only upload is parallelized.Default=min(hardware-concurrency*2,32)β double your cores, capped at32. [optional]--log-levelβ log level, and your options aredebug,error,info,trace,warning. [optional, default = "error"]--verboseβ sets the log level to'debug'. The "tell me everything" button π [optional]- Command to remote β
POSITIONAL[optional] --metrics-modeβ Metrics Mode:--metrics-mode=MODE. Options forMODEare:udp://<hostname>:<port>file:///path/to/filestderr[optional]
--metrics-publish-intervalβ metrics publishing interval π [optional]--metrics-prefixβ prefix of metric names, so all your metrics are tagged with a cute little family name π·οΈ [optional]
and that's the whole flag buffet, bestie β you ate π
this page is trexe version 1.4.16, from August 2026, living in section TREXE(1). go forth and invoke responsibly, mwah π«Άπβ¨
π¦ where this page comes from
- ubuntu stonking: buildbox 1.4.16+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms