action/cloudflare/short_link library

Classes

CloudflareShortLinkCliAction
Cloudflare deployment process for short links.

Functions

buildCloudflareShortLinkOptions({required String binding, required List<String> allowedHosts, required String notFoundUrl}) → String
Build the options object literal of shortLink.Functions.*.
upsertCloudflareKvNamespace(String source, {required String binding, required String namespaceId}) → String
Add or update the KV namespace binding in "kv_namespaces" of the Wrangler environment object source, preserving the other bindings.