Skip to main content

tcb fn layer sort

Reorders the layers bound to a function. The order decides which layer wins when they contain the same file.

Usage​

tcb fn layer sort <functionName> [options]

Flags​

FlagRequiredDescriptionDefault
<functionName>YesFunction name—
--code-secret <secret>NoCodeSecret of an encrypted function—
-e, --env-id <envId>NoEnvironment IDCurrent default environment

Example​

tcb fn layer sort myFunc -e my-env-id