Patched!
patched-cli is a CLI that generates vulnerability patches for your codebase.
Quickstart guide
- Install patched-cli.
pip install patched-cli
- Run
patched-cliwith your git repository as its argument or working directory. When the working directory is the git repositorypatched-cli
When the argument is the git repositorypatched-cli /path/to/my/git/repository - If this is the first time running
patched-cli, you will be redirected to patched's sign-in page to generate a token. Copy the token and paste it to the prompt. If this is not the first time runningpatched-clian application directory should already exist under your user's home directory if you are using a Unix-based operating system or AppData folder if you are using a windows based operating system. Alternatively you can set the environment variablePATCHED_ACCESS_TOKENbefore runningpatched-cli.export PATCHED_ACCESS_TOKEN="your-patched-access-token-here" patched-cli
- To create a pull request you can set the
--create-prflag.patched-cli --create-prIfpatched.codesis not installed in your GitHub repository you can givepatched-cliyour GitHub Personal Access Token via the option--github-access-tokenor set the environment variablePATCHED_GITHUB_TOKENexport PATCHED_GITHUB_TOKEN="your.patched.access.token.here" patched-cli --create-pr
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
patched_cli-0.0.2.tar.gz
(12.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file patched_cli-0.0.2.tar.gz.
File metadata
- Download URL: patched_cli-0.0.2.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c22a51a2a153d23550edacb1af1d41bc2089cead160f860a904d78524a2ec441
|
|
| MD5 |
4a7ebfbe74c0a76a5e487032c24349d2
|
|
| BLAKE2b-256 |
f6fb10131d971725ac5c0633d1f409504181e05fded0c6cc6bcdfb03f97eaf17
|
File details
Details for the file patched_cli-0.0.2-py3-none-any.whl.
File metadata
- Download URL: patched_cli-0.0.2-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e2197e62cbae05d9387ddae6fc2812b02ddb028a9492488e43edf3b6c1b092
|
|
| MD5 |
98584070d6fd865577e48b2ead957229
|
|
| BLAKE2b-256 |
32d3d1b62be5cf6d994bb691076a70fd7039f2c1156de794888cbefa0a7225e8
|