https://github.com/mause/repro
https://github.com/mause/repro
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mause/repro
- Owner: Mause
- License: mit
- Created: 2022-08-25T06:36:12.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-18T19:24:34.000Z (over 1 year ago)
- Last Synced: 2024-10-31T17:56:03.029Z (over 1 year ago)
- Language: TypeScript
- Size: 872 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
@mause/repro
=================
Simple tool to quickly run reproduction code from a GitHub issue
[](https://oclif.io)
[](https://npmjs.org/package/@mause/repro)
[](https://github.com/Mause/repro/actions/workflows/node.js.yml)
[](https://npmjs.org/package/@mause/repro)
[](https://github.com/Mause/repro/blob/main/LICENSE)
* [Usage](#usage)
* [Commands](#commands)
# Usage
```sh-session
$ npm install -g @mause/repro
$ repro COMMAND
running command...
$ repro (--version)
@mause/repro/0.0.0 linux-x64 node-v16.17.0
$ repro --help [COMMAND]
USAGE
$ repro COMMAND
...
```
# Commands
* [`repro load ISSUE`](#repro-load-issue)
* [`repro run ISSUE`](#repro-run-issue)
## `repro load ISSUE`
Load code blocks from an issue into a file
```
USAGE
$ repro load [ISSUE]
ARGUMENTS
ISSUE Issue to load - either a URL or owner/name/issue_id triplet
DESCRIPTION
Load code blocks from an issue into a file
EXAMPLES
$ repro load owner/repo/issue_id
```
_See code: [dist/commands/load.ts](https://github.com/Mause/repro/blob/v0.0.0/dist/commands/load.ts)_
## `repro run ISSUE`
Load code blocks from an issue into a file and run them
```
USAGE
$ repro run [ISSUE]
ARGUMENTS
ISSUE Issue to load and run - either a URL or owner/name/issue_id triplet
DESCRIPTION
Load code blocks from an issue into a file and run them
EXAMPLES
$ repro run owner/repo/issue_id
```
_See code: [dist/commands/run.ts](https://github.com/Mause/repro/blob/v0.0.0/dist/commands/run.ts)_