gh-templates-darwin-arm64 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +242 -0
- package/bin/gh-templates +0 -0
- package/package.json +16 -0
package/README.md
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
# 📁 Gh Templates
|
2
|
+
|
3
|
+
This repository provides a collection of reusable Git templates to streamline your workflow across multiple repositories. It includes fully supported **Issue Templates**, **Pull Request Templates**, and more.
|
4
|
+
|
5
|
+
[](https://github.com/rafaeljohn9/gh-templates/releases)
|
6
|
+
[](LICENSE)
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
## 📚 Table of Contents
|
11
|
+
|
12
|
+
- [Contributing](#contributing)
|
13
|
+
- [Features](#features)
|
14
|
+
- [Beta Release Downloads](#beta-release-downloads)
|
15
|
+
- [Installation](#installation)
|
16
|
+
- [Quick Install (Recommended)](#quick-install-recommended)
|
17
|
+
- [Manual Installation](#manual-installation)
|
18
|
+
- [Example Usage](#example-usage)
|
19
|
+
- [Issue Templates](#issue-templates)
|
20
|
+
- [Pull Request Templates](#pull-request-templates)
|
21
|
+
- [License Files](#license-files)
|
22
|
+
- [Gitignore Files](#gitignore-files)
|
23
|
+
- [Code of Conduct (Coming Soon)](#code-of-conduct-coming-soon)
|
24
|
+
|
25
|
+
---
|
26
|
+
|
27
|
+
## Contributing
|
28
|
+
|
29
|
+
We welcome contributions from everyone! Don’t worry if you’re not familiar with Rust—the project is primarily composed of YAML files (for workflows), Markdown files (for templates and documentation), and license files. Rust is only used for the CLI interface.
|
30
|
+
|
31
|
+
You can help by:
|
32
|
+
- Opening issues
|
33
|
+
- Suggesting new GitHub templates
|
34
|
+
- Sharing feedback to improve the project
|
35
|
+
|
36
|
+
Your ideas and participation are valued, and we’re happy to support you as you get involved.
|
37
|
+
|
38
|
+
---
|
39
|
+
|
40
|
+
## Features
|
41
|
+
|
42
|
+
- **Issue Templates**: Standardized templates for bug reports, feature requests, documentation, community collaboration, developer experience feedback, support questions, and tests.
|
43
|
+
- **Pull Request Templates**: Easily add consistent PR templates to your repositories.
|
44
|
+
- **Easy Installation**: Quickly set up templates using a provided installation script.
|
45
|
+
- **Customizable**: All templates can be tailored to fit your project's needs.
|
46
|
+
|
47
|
+
---
|
48
|
+
|
49
|
+
## Beta Release Downloads
|
50
|
+
|
51
|
+
You can download the latest alpha release binaries for your platform from the `/releases/<tag>` directory. These are currently available as artifacts for different operating systems and architectures:
|
52
|
+
|
53
|
+
| Platform | Filename |
|
54
|
+
|------------------------------------|---------------------------------------------|
|
55
|
+
| macOS (Apple Silicon) | `gh-templates-aarch64-apple-darwin` |
|
56
|
+
| Linux (aarch64) | `gh-templates-aarch64-unknown-linux-gnu` |
|
57
|
+
| macOS (Intel) | `gh-templates-x86_64-apple-darwin` |
|
58
|
+
| Windows (x86_64) | `gh-templates-x86_64-pc-windows-gnu.exe` |
|
59
|
+
| Linux (x86_64, GNU) | `gh-templates-x86_64-unknown-linux-gnu` |
|
60
|
+
| Linux (x86_64, musl) | `gh-templates-x86_64-unknown-linux-musl` |
|
61
|
+
|
62
|
+
To download, visit the [releases page](https://github.com/rafaeljohn9/gh-templates/releases) and select the appropriate binary for your OS and architecture. Verify the SHA256 checksum after downloading.
|
63
|
+
|
64
|
+
---
|
65
|
+
|
66
|
+
## Installation
|
67
|
+
|
68
|
+
### Quick Install (Recommended)
|
69
|
+
|
70
|
+
Install `gh-templates` automatically with a single command:
|
71
|
+
|
72
|
+
#### Linux/macOS
|
73
|
+
|
74
|
+
```bash
|
75
|
+
curl -sSL https://raw.githubusercontent.com/RafaelJohn9/gh-templates/main/install/install.sh | bash
|
76
|
+
```
|
77
|
+
|
78
|
+
#### Windows (PowerShell)
|
79
|
+
|
80
|
+
```powershell
|
81
|
+
iwr -useb https://raw.githubusercontent.com/RafaelJohn9/gh-templates/main/install/install.ps1 | iex
|
82
|
+
```
|
83
|
+
|
84
|
+
> ✅ The installer automatically:
|
85
|
+
> - Detects your OS and architecture
|
86
|
+
> - Downloads the latest version
|
87
|
+
> - Installs to the appropriate location (`~/.local/bin` on Linux/macOS, `~/bin` on Windows)
|
88
|
+
> - Makes the binary executable
|
89
|
+
|
90
|
+
> ⚠️ **Note**: Make sure your install directory is in your `PATH`. On Linux/macOS, you may need to add `export PATH="$HOME/.local/bin:$PATH"` to your shell profile.
|
91
|
+
|
92
|
+
---
|
93
|
+
|
94
|
+
### Manual Installation
|
95
|
+
|
96
|
+
If you prefer to install manually, download the appropriate binary for your platform:
|
97
|
+
|
98
|
+
#### Linux (x86_64, GNU)
|
99
|
+
|
100
|
+
```sh
|
101
|
+
wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-unknown-linux-gnu
|
102
|
+
chmod +x gh-templates-x86_64-unknown-linux-gnu
|
103
|
+
mkdir -p ~/.local/bin
|
104
|
+
mv gh-templates-x86_64-unknown-linux-gnu ~/.local/bin/gh-templates
|
105
|
+
```
|
106
|
+
|
107
|
+
#### Linux (x86_64, musl)
|
108
|
+
|
109
|
+
```sh
|
110
|
+
wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-unknown-linux-musl
|
111
|
+
chmod +x gh-templates-x86_64-unknown-linux-musl
|
112
|
+
mkdir -p ~/.local/bin
|
113
|
+
mv gh-templates-x86_64-unknown-linux-musl ~/.local/bin/gh-templates
|
114
|
+
```
|
115
|
+
|
116
|
+
#### Linux (aarch64)
|
117
|
+
|
118
|
+
```sh
|
119
|
+
wget https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-aarch64-unknown-linux-gnu
|
120
|
+
chmod +x gh-templates-aarch64-unknown-linux-gnu
|
121
|
+
mkdir -p ~/.local/bin
|
122
|
+
mv gh-templates-aarch64-unknown-linux-gnu ~/.local/bin/gh-templates
|
123
|
+
```
|
124
|
+
|
125
|
+
#### macOS (Apple Silicon)
|
126
|
+
|
127
|
+
```sh
|
128
|
+
curl -LO https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-aarch64-apple-darwin
|
129
|
+
chmod +x gh-templates-aarch64-apple-darwin
|
130
|
+
mkdir -p ~/.local/bin
|
131
|
+
mv gh-templates-aarch64-apple-darwin ~/.local/bin/gh-templates
|
132
|
+
```
|
133
|
+
|
134
|
+
#### macOS (Intel)
|
135
|
+
|
136
|
+
```sh
|
137
|
+
curl -LO https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-apple-darwin
|
138
|
+
chmod +x gh-templates-x86_64-apple-darwin
|
139
|
+
mkdir -p ~/.local/bin
|
140
|
+
mv gh-templates-x86_64-apple-darwin ~/.local/bin/gh-templates
|
141
|
+
```
|
142
|
+
|
143
|
+
#### Windows (x86_64)
|
144
|
+
|
145
|
+
```powershell
|
146
|
+
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\bin"
|
147
|
+
Invoke-WebRequest -Uri "https://github.com/RafaelJohn9/gh-templates/releases/latest/download/gh-templates-x86_64-pc-windows-gnu.exe" -OutFile "$env:USERPROFILE\bin\gh-templates.exe"
|
148
|
+
```
|
149
|
+
|
150
|
+
> ⚠️ **Note**: Make sure `$env:USERPROFILE\bin` is in your `PATH` environment variable.
|
151
|
+
|
152
|
+
---
|
153
|
+
|
154
|
+
## Example Usage
|
155
|
+
|
156
|
+
Below are some example commands for using `gh-templates` to add templates to your repository:
|
157
|
+
|
158
|
+
> 💡 **Tip:**
|
159
|
+
> It is recommended you use the labels from this repository by running:
|
160
|
+
> `gh label clone rafaeljohn9/gh-templates`
|
161
|
+
|
162
|
+
### Issue Templates
|
163
|
+
|
164
|
+
```sh
|
165
|
+
# Add an issue template
|
166
|
+
gh-templates issue add bug
|
167
|
+
|
168
|
+
# Add multiple issues
|
169
|
+
gh-templates issue add bug feature dx
|
170
|
+
|
171
|
+
# Preview an issue template
|
172
|
+
gh-templates issue preview bug
|
173
|
+
|
174
|
+
# List available issue templates
|
175
|
+
gh-templates issue list
|
176
|
+
```
|
177
|
+
|
178
|
+
### Pull Request Templates
|
179
|
+
|
180
|
+
```sh
|
181
|
+
# Add a PR template
|
182
|
+
gh-templates pr add default
|
183
|
+
|
184
|
+
# Preview a PR template
|
185
|
+
gh-templates pr preview default
|
186
|
+
|
187
|
+
# List available PR templates
|
188
|
+
gh-templates pr list
|
189
|
+
|
190
|
+
# Add template and specify output location
|
191
|
+
gh-templates pr add bug --output .github/pull_request_template.md
|
192
|
+
```
|
193
|
+
|
194
|
+
### License Files
|
195
|
+
|
196
|
+
```sh
|
197
|
+
# Add a LICENSE file (MIT)
|
198
|
+
gh-templates license add mit
|
199
|
+
|
200
|
+
# Add a LICENSE file (Apache 2.0)
|
201
|
+
gh-templates license add apache-2.0
|
202
|
+
|
203
|
+
# Preview a license file
|
204
|
+
gh-templates license preview mit
|
205
|
+
|
206
|
+
# List available license files
|
207
|
+
gh-templates license list
|
208
|
+
|
209
|
+
# List popular licenses
|
210
|
+
gh-templates license list --popular
|
211
|
+
|
212
|
+
# List non-software licenses
|
213
|
+
gh-templates license list --non-software
|
214
|
+
|
215
|
+
# Force overwrite existing file
|
216
|
+
gh-templates license add mit --force
|
217
|
+
```
|
218
|
+
|
219
|
+
### Gitignore Files
|
220
|
+
|
221
|
+
```sh
|
222
|
+
# Add a .gitignore for Rust
|
223
|
+
gh-templates gitignore add Rust
|
224
|
+
|
225
|
+
# Add a .gitignore for Node.js
|
226
|
+
gh-templates gitignore add Node
|
227
|
+
|
228
|
+
# Preview a .gitignore file
|
229
|
+
gh-templates gitignore preview Rust
|
230
|
+
|
231
|
+
# List available .gitignore templates
|
232
|
+
gh-templates gitignore list
|
233
|
+
```
|
234
|
+
|
235
|
+
### Code of Conduct (Coming Soon)
|
236
|
+
|
237
|
+
```sh
|
238
|
+
# Add a code of conduct file (not yet available)
|
239
|
+
gh-templates conduct add default
|
240
|
+
```
|
241
|
+
|
242
|
+
> 📌 **Note:** Currently, `issue`, `pr`, `license`, and `gitignore` templates are supported. Support for code of conduct and other templates will be added in future releases.
|
package/bin/gh-templates
ADDED
Binary file
|
package/package.json
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"name": "gh-templates-darwin-arm64",
|
3
|
+
"version": "0.1.19",
|
4
|
+
"description": "GitHub Templates CLI tool - darwin arm64",
|
5
|
+
"bin": {
|
6
|
+
"gh-templates": "./bin/gh-templates"
|
7
|
+
},
|
8
|
+
"files": ["bin/"],
|
9
|
+
"license": "Apache-2.0",
|
10
|
+
"repository": {
|
11
|
+
"type": "git",
|
12
|
+
"url": "git+https://github.com/RafaelJohn9/gh-templates.git"
|
13
|
+
},
|
14
|
+
"os": ["darwin"],
|
15
|
+
"cpu": ["arm64"]
|
16
|
+
}
|