alepha@docs:~/docs/framework/packages/alepha/cli$
cat platform-lib.md | pretty1 min read
Last commit:
#Alepha - Cli Platform Lib
#Installation
Part of the alepha package. Import from alepha/cli/platform-lib.
npm install alepha
#Overview
Framework-agnostic platform deploy services.
Exports PlatformOrchestrator + adapters + secret stores + the
platformOptions atom: everything needed to drive a deploy
programmatically. No $command instances and no
AppEntryProvider / ViteBuildProvider dependency, so consumers
importing this subpath don't pull in the CLI argv-parser or Vite.
Used by Alepha Rocket (and other non-CLI deploy orchestrators) to
call orchestrator.up({ ... }) directly. For CLI usage
(alepha platform up), import AlephaCliPlatformPlugin from
alepha/cli/platform, which adds the command layer on top.
#API Reference
#Providers
GitHubSecretStore- GitHub Actions secret store backed by theghCLI.MemorySecretStore- In-memory implementation of SecretStoreProvider for testing.PlatformCacheProvider- Caches cloud provider login state to avoid slow auth checks.SecretStoreProvider- Abstract provider for managing secrets in an external store.