infraflow
v0.1.26
Published
The InfraFlow command line: deploy a folder, follow logs, open a shell, expose local services through tunnels.
Readme
infraflow
The InfraFlow command line.
npm install -g infraflow # or: npx infraflow <command>No token is needed to install it. What you sign in with depends on what you want to do, and the two are independent:
| To… | Sign in with | Command |
| --- | --- | --- |
| deploy, read logs, open a shell, change variables | an API token (Settings, then API tokens) | infraflow auth <token> |
| expose services of this machine through tunnels | a machine token (Tunnels, then Add a machine) | infraflow login <token> |
infraflow auth ifl_…
infraflow up api # send this folder, build it, deploy it
infraflow link api # this folder is `api` from now on
infraflow run -- npm run dev # run locally with the service's variables
infraflow logs --follow
infraflow shellThe program is a single native file. This package fetches the one for your
system the first time it runs, from https://infraflow.app/dl/. Set
INFRAFLOW_ORIGIN to use another InfraFlow platform, and INFRAFLOW_REFETCH=1
to fetch it again.
Without Node.js:
curl -fsSL https://infraflow.app/install.sh | sh # Linux, macOS
irm https://infraflow.app/install.ps1 | iex # WindowsDocumentation: https://infraflow.app/docs/cli
