From a54bc3c4b67039254913735df08543b0914e961f Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Thu, 24 Aug 2023 23:58:21 +0200 Subject: [PATCH] Add more information to README.md --- README.md | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/README.md b/README.md index 099a987..38841d0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,74 @@ # Ryujinx-Mako A custom GitHub App to aid Ryujinx with project management and moderation + +## Usage + +1. Add the following steps to your workflow: + + ```yml + - name: Checkout Ryujinx-Mako + uses: actions/checkout@v3 + with: + repository: Ryujinx/Ryujinx-Mako + ref: master + path: ".ryujinx-mako" + + - name: Setup Ryujinx-Mako + uses: .ryujinx-mako/.github/actions/setup-mako + ``` + +2. Execute the available commands like this: + + ```yml + - name: Setup git identity for Ryujinx-Mako + run: | + poetry -C .ryujinx-mako shell + # ryujinx-mako [] + # for example: + ryujinx-mako setup-git + ``` + +## Available commands + +``` +usage: ryujinx_mako [-h] {setup-git,update-reviewers} ... + +A python module to aid Ryujinx with project management and moderation + +options: + -h, --help show this help message and exit + +subcommands: + setup-git Set git identity to Ryujinx-Mako + + update-reviewers Update reviewers for the specified PR +``` + +### setup-git + +``` +usage: ryujinx_mako setup-git [-h] [-l] + +Set git identity to Ryujinx-Mako + +options: + -h, --help show this help message and exit + -l, --local Set git identity only for the current repository. +``` + +### update-reviewers + +``` +usage: ryujinx_mako update-reviewers [-h] repo_path pr_number config_path + +Update reviewers for the specified PR + +positional arguments: + repo_path + pr_number + config_path + +options: + -h, --help show this help message and exit +```