Crates.io | create-gpui-app |
lib.rs | create-gpui-app |
version | 0.1.3 |
source | src |
created_at | 2024-05-21 13:31:09.612856 |
updated_at | 2024-08-22 01:22:58.183484 |
description | A CLI tool to create a new gpui app. |
homepage | |
repository | https://github.com/zed-industries/create-gpui-app |
max_upload_size | |
id | 1246841 |
size | 22,860 |
Create a new GPUI app in a single command.
GPUI is a fast, productive UI framework for Rust from the creators of Zed.
cargo install create-gpui-app
create-gpui-app --name my-app
cd my-app
You'll need to have Rust and Cargo installed on your machine. You can install Rust through rustup.
To create a new app, run:
create-gpui-app --name my-app
cd my-app
By default this will output:
my-app
├── src
│ ├── main.rs
├── Cargo.toml
├── README.md
To set up your application as a workspace, run:
create-gpui-app --workspace --name my-app
cd my-app
This will output a directory structure like this:
my-app
├── Cargo.toml
├── crates
│ └── my-app
│ ├── Cargo.toml
│ └── src
│ └── main.rs
└── README.md
create-gpui-app
with no arguments will create a new app called gpui-app
.
cargo run
cargo build --release
See the zed development troubleshooting guide for assistance with common errors.
Your contributions are welcome! Please read CONTRIBUTING.md for more details.
create-gpui-app
is open source software licensed as MIT.