File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,11 @@ Get bugs from Detail for a repository and help the user triage them.
1010
1111## Determining the Repository
1212
13- If ` $ARGUMENTS ` is not empty, use it as the repository (` owner/repo ` ).
13+ If ` $ARGUMENTS ` is not empty, use it as the repository (` owner/repo ` ) for all ` detail bugs ` commands .
1414
15- Otherwise, auto-detect from the current git remote:
16- ``` bash
17- git remote get-url origin 2> /dev/null | sed -E ' s|.*github\.com[:/]||;s|\.git$||'
18- ```
19- Use the extracted ` owner/repo ` as the argument for all ` detail bugs ` commands.
15+ Otherwise, the Detail CLI will infer the repository from the git remote. Use the CLI with no repository specified.
16+
17+ If commands fail to infer the repository, ask the user to provide the repository and use it for the ` detail bugs ` commands.
2018
2119## Prerequisites
2220
Original file line number Diff line number Diff line change @@ -10,14 +10,11 @@ Guide the user through creating one or more new rules for their repository.
1010
1111## Determining the Repository
1212
13- If ` $ARGUMENTS ` is not empty, use it as the repository (` owner/repo ` ).
13+ If ` $ARGUMENTS ` is not empty, use it as the repository (` owner/repo ` ) for all ` detail rules ` commands .
1414
15- Otherwise, auto-detect from the current git remote:
16- ``` bash
17- git remote get-url origin 2> /dev/null | sed -E ' s|.*github\.com[:/]||;s|\.git$||'
18- ```
15+ Otherwise, the Detail CLI will infer the repository from the git remote. Use the CLI with no repository specified.
1916
20- Use the extracted ` owner/repo ` as the argument for all ` detail rules ` commands.
17+ If commands fail to infer the repository, ask the user to provide the repository and use it for the ` detail rules ` commands.
2118
2219## Prerequisites
2320
You can’t perform that action at this time.
0 commit comments