This is the San Francisco Compute command line tool.
Install the command line tool by running:
curl -fsSL https://sfcompute.com/cli/install | bash
Then, you can run the cli:
sf --version # 0.1.0
- Install Deno
- Install dependencies
deno install
- Use same mental model as
npm install
- Use same mental model as
- Auth your CLI with
deno run prod login
- Make code changes
- Test changes with
deno run devv
to test against local APIdeno run prod
to test against production API- The
deno run <env>
is an alias to the user facingsf
command. So if you wanted to runsf login
locally against the local API, rundeno run devv login
This is ran locally
deno run release <major|minor|patch>