Skip to main content

General Web App Icon
gwa-cli

Crates.io docs.rs Crates.io Downloads

PyPI version PyPi Downloads

GitHub: Repo License: MIT

A lightning-fast, interactive CLI for creating new GWA projects.

gwa-cli is the official command-line tool for scaffolding a new General Web App (GWA) project. It provides an interactive experience to configure your new project, allowing you to select components, define names, and set up database credentials before generating all the necessary files from the GWA template.

This tool handles all the heavy lifting, so you can go from an empty directory to a fully structured, ready-to-run, full-stack application in seconds.

✨ Features

  • Interactive Mode: A guided, user-friendly process to configure every aspect of your new project.
  • Modular Component Selection: Choose to include the Backend (FastAPI), Frontend (SvelteKit + Tauri), or both.
  • Intelligent Defaults: Sensible defaults are provided for all settings, speeding up creation.
  • Fast-Track Mode: Skip all prompts with a --yes flag for rapid, non-interactive project generation.
  • Powered by Rust: Fast, reliable, and packaged as a single native binary.

🚀 Getting Started

Prerequisites

You must have Rust and Cargo installed on your system to build and install gwa-cli.

Installation

You can install the gwa binary directly from this source repository using cargo.

This command will build the project in release mode and place the gwa executable in your Cargo binary path (~/.cargo/bin/), making it available system-wide.

cargo install gwa

Verify the installation:

gwa --version

🛠️ Usage

The primary command is gwa create.

Interactive Creation (Recommended)

To start the interactive setup wizard, simply run:

gwa create <your-project-name>

The CLI will guide you through a series of questions:

  • Project Name (if not provided)
  • Component Selection (Backend / Frontend)
  • Application Identifiers (for Tauri)
  • Database Configuration

After you confirm the summary, it will generate the project in a new directory named <your-project-name>.

Non-Interactive Creation

For automated scripts or quick tests, you can use the --yes (-y) flag. This will skip all interactive prompts and use the default configuration.

Note: In non-interactive mode, the project name is a required argument.

gwa create my-new-app --yes

This will instantly create a new project named my-new-app with both backend and frontend components included.

Command-Line Options

Here are the details for the create command:

gwa create [OPTIONS] [NAME]

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Release files for gwa 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwa 0.0.7
File Size Uploaded
gwa-0.0.7.tar.gz 42.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwa 0.0.7
File Interpreter ABI Platform
gwa-0.0.7-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details

Total release size: 3.7 MB

Release files / gwa-0.0.7.tar.gz

Download URL gwa-0.0.7.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b4c98cbba8822123d0990f4fc7ae316e284fb84003a5834821ae207cb2532a7b
BLAKE2b-256 checksum
How to use checksums
fda91ca11a45d71e685ca1cdd092e0fdecdf994da1c41afeb5681c78dfcb8bbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.19

Release files / gwa-0.0.7-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL gwa-0.0.7-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
d516e485cfad71f79e9e181b3a67058ef628c742adcffcf0d107c07c51ea01f1
BLAKE2b-256 checksum
How to use checksums
70e0a570893cc1cf09aaa954e24218170135f4a41e7747cad4d3ccdd64b1eab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.19

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page