docs: label tenant examples and LLM prompt guides

This commit is contained in:
Your Name committed 2026-10-18 09:48:54 +07:00
1 parent 408f07e27a
commit cbd816592b
3 files changed
+29 -1

No files matched your search

+12
View File
@@ -116,6 +116,18 @@ async function main() {
});
console.log(`Created Pull Request #${pr.number}: ${pr.title}`);
console.log(`URL: ${pr.html_url}`);
} else if (sub === 'merge') {
const index = args[1];
const method = args[2] || 'merge'; // merge, rebase, rebase-merge, squash
if (!index) {
console.error('Usage: bun tools/gitea.ts prs merge <pr_number> [method]');
process.exit(1);
}
await api(`/repos/${OWNER}/${REPO}/pulls/${index}/merge`, {
method: 'POST',
body: JSON.stringify({ Do: method }),
});
console.log(`Merged Pull Request #${index} using method: ${method}`);
}
break;
}