#oauth #server #platform #testing

bin+lib cargo-faasta

Build and deploy wasi-http wasm to the faasta serverless platform

2 releases

0.1.1 Apr 27, 2025
0.1.0 Apr 23, 2025

#438 in Authentication

Download history 253/week @ 2025-04-23 32/week @ 2025-04-30 10/week @ 2025-05-07

295 downloads per month

MIT license

88KB
1.5K SLoC

Faasta CLI

Command-line interface for the Faasta (Functions as a Service) platform.

Features

  • Initialize new Faasta functions
  • Deploy functions to Faasta servers
  • Run functions locally for testing
  • Authentication with GitHub OAuth

Installation

cargo install faasta-cli

Usage

cargo faasta init       # Initialize a new Faasta function in current directory
cargo faasta new NAME   # Create a new Faasta function in a new directory
cargo faasta build      # Build the function for deployment
cargo faasta deploy     # Deploy the function to a Faasta server
cargo faasta run        # Run the function locally for testing
cargo faasta login      # Authenticate with GitHub
cargo faasta list       # List all deployed functions
cargo faasta metrics    # View metrics for your deployed functions
cargo faasta invoke     # Invoke a deployed function
cargo faasta unpublish  # Unpublish a function from the server

Configuration

The CLI uses a configuration file located at ~/.faasta/config.json.

License

See the main project repository for license information.

Dependencies

~34–49MB
~885K SLoC