https://github.com/heaths/go-test
https://github.com/heaths/go-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/heaths/go-test
- Owner: heaths
- License: mit
- Created: 2022-11-25T03:01:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T03:01:08.000Z (over 3 years ago)
- Last Synced: 2025-01-01T10:16:46.644Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# {{param "name" (param "github.repo") "What is your project name?" | titlecase}}
To create a new repository from this template repository for Go projects,
using the [GitHub CLI](https://github.com/cli/cli) run:
```bash
gh extension install heaths/gh-template
gh template clone --template heaths/template-golang --public
```
The `gh template` command will:
1. Create a new repository with the given `` on GitHub.
2. Copy the `heaths/template-golang` files into that repo.
3. Clone the new repository into a directory named `` in the current directory.
4. Apply built-in and passed parameters, or prompt for undefined parameters, to format template files.
This will create a new repo with the given `` in GitHub, copy the
`heaths/template-golang` files into that repo, and clone it into a
subdirectory of the current directory named ``.
See [heaths/gh-template](https://github.com/heaths/gh-template) for more information
about this GitHub CLI extension.
## License
Licensed under the [MIT](LICENSE.txt) license.