Author SHA1 Message Date
chrnx 1764aa764b Merge pull request 'release: crates.io OIDC → main' (#7) from develop into main
CI / check (push) Successful in 27s
Promote → GitHub / push-github (push) Successful in 6s
2026-07-18 20:18:40 +00:00
chrnx e5a1b7583a Merge pull request 'release: promote develop → main' (#5) from develop into main 2026-07-18 19:04:12 +00:00
chrnx 371c5f708f Merge pull request 'feat: Create command finished' (#3) from develop into main
Reviewed-on: #3
2026-07-13 00:24:45 +00:00
4 changed files with 15 additions and 26 deletions

No files matched your search

Generated
+1 -1
View File
@@ -254,7 +254,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
[[package]]
name = "matcha-cli"
version = "26.8.0-beta.0"
version = "26.7.0-beta.0"
dependencies = [
"assert_cmd",
"clap",
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "matcha-cli"
version = "26.8.0-beta.0"
version = "26.7.0-beta.0"
edition = "2021"
description = "The green-tea CLI: scaffold a project, generate controllers, steps and providers already wired into their module, and run with your runtime detected. One native binary, no JS runtime needed to install it."
description = "The CLI for Green Tea — scaffold and manage graph-based apps."
license = "MIT"
repository = "https://github.com/Expressive-Tea/matcha"
+6 -14
View File
@@ -1,32 +1,24 @@
# matcha
The [green-tea](https://github.com/Expressive-Tea/green-tea) CLI — scaffold, run, and generate green-tea apps from a single native binary. No JS runtime required to install or operate.
The [green-tea](https://git.svc.zoit.services/Green-Tea/core) CLI — scaffold, run, and generate green-tea apps from a single native binary. No JS runtime required to install or operate.
## Install
```bash
cargo install matcha-cli
curl -fsSL https://git.svc.zoit.services/Green-Tea/matcha/raw/branch/main/install.sh | sh
```
Builds from [crates.io](https://crates.io/crates/matcha-cli) and installs the `matcha`
binary. Needs a Rust toolchain; takes a few seconds.
**Prebuilt binary** (no Rust), from the latest GitHub release:
```bash
curl -fsSL https://raw.githubusercontent.com/Expressive-Tea/matcha/main/install.sh | sh
```
Drops the binary in `~/.local/bin`. Env vars go on the `sh` side of the pipe:
Installs a prebuilt binary to `~/.local/bin` — no Rust required. Env vars go on
the `sh` side of the pipe:
```bash
curl -fsSL …/install.sh | MATCHA_VERSION=v26.7.0 MATCHA_INSTALL_DIR=/usr/local/bin sh
```
**From git** (compiles the default branch):
**From source** (requires Rust — compiles and installs):
```bash
cargo install --git https://github.com/Expressive-Tea/matcha
cargo install --git https://git.svc.zoit.services/Green-Tea/matcha
```
## Usage
+6 -9
View File
@@ -1,17 +1,14 @@
#!/bin/sh
# matcha installer — downloads a prebuilt binary from GitHub Releases.
# matcha installer — downloads a prebuilt binary from Gitea Releases.
# curl -fsSL <raw>/install.sh | sh
# Env: MATCHA_VERSION (tag, default latest), MATCHA_INSTALL_DIR (default ~/.local/bin),
# MATCHA_REPO_BASE / MATCHA_API_BASE (override to install from the internal Gitea,
# whose release API is GitHub-compatible for everything this script touches).
# MATCHA_REPO_BASE (default the Gitea repo URL).
set -eu
# Public by default: the Gitea host is unreachable outside the network, and this script
# is what crates.io and the README point people at.
REPO_BASE="${MATCHA_REPO_BASE:-https://github.com/Expressive-Tea/matcha}"
# The API lives on its own host, NOT under the repo path. Keep it separate from
# REPO_BASE (which is used for release DOWNLOAD urls under the repo).
API_BASE="${MATCHA_API_BASE:-https://api.github.com/repos/Expressive-Tea/matcha}"
REPO_BASE="${MATCHA_REPO_BASE:-https://git.svc.zoit.services/Green-Tea/matcha}"
# The API lives at the host root (/api/v1/...), NOT under the repo path. Keep it
# separate from REPO_BASE (which is used for release DOWNLOAD urls under the repo).
API_BASE="${MATCHA_API_BASE:-https://git.svc.zoit.services/api/v1/repos/Green-Tea/matcha}"
INSTALL_DIR="${MATCHA_INSTALL_DIR:-$HOME/.local/bin}"
err() { echo "matcha-install: $*" >&2; exit 1; }