Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SGizek/Raiku/llms.txt
Use this file to discover all available pages before exploring further.
raiku publish bridges the gap between a locally validated package and a merged pull request. It runs the full validation suite against your package directory, computes the SHA-256 hash of raiku.toml, constructs the exact JSON entry that must be added to index/index.json, and prints step-by-step instructions for opening a PR against the Raiku repository. By default, nothing is pushed — the command is entirely local and read-only unless you pass --submit. This design keeps contributors in full control and makes the contribution process transparent and auditable.
Usage
Flags
| Flag | Default | Description |
|---|---|---|
--dir | . | Path to the package directory to publish |
--dry-run | false | Run validation and print output, but do not write any files |
--submit | false | Automatically create a branch and open a PR on GitHub (requires raiku login) |
What raiku publish Outputs
When validation succeeds, the command prints three things:
- Package summary — name, version, language, author, build command, stability level, and the computed SHA-256 hash of
raiku.toml. - Exact
index/index.jsonentry — a ready-to-paste JSON block containing all required fields. - Contribution instructions — a numbered checklist: fork the repo, copy your package to
UserSub/<Language>/<name>/, add the JSON entry toindex/index.json, and open a PR againstmain.
Manual PR Workflow
raiku publish is always UserSub/<Language>/<name>. Copy your package directory there, add the index entry, and open the PR.
raiku publish does not push anything to GitHub by default. It is a local helper that produces the artefacts you need to submit a PR manually.Automated Submission with --submit
When --submit is passed, Raiku uses the GitHub token stored by raiku login to:
- Fetch the current
HEADSHA of themainbranch. - Create a new branch named
add/<language>/<name>. - Upload
raiku.toml,version.yml, andREADME.mdvia the GitHub Contents API. - Open a pull request against
mainwith a pre-filled description including the index entry JSON.
Examples
Index Entry Format
raiku publish prints the index entry in the following structure. Copy it verbatim into index/index.json: