-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs for better displaying subgroup support
- Loading branch information
1 parent
c091010
commit 0fa4669
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ Copies content of given repository on GitHub to current directory, and runs its | |
tmplr gitlab:owner/repo | ||
tmplr [email protected]:owner/repo | ||
tmplr https://gitlab.com/owner/repo | ||
tmplr gitlab:owner/group/repo --subgroup | ||
|
||
# 🪣 download from BitBucket | ||
tmplr bitbucket:owner/repo | ||
|
@@ -44,6 +45,14 @@ tmplr owner/repo/subdirectory # 👉 sub directory | |
|
||
<br> | ||
|
||
> [!TIP] | ||
> For cloning [gitlab subgroups](https://docs.gitlab.com/ee/user/group/subgroups/), use the `--subgroup` flag: | ||
> ```bash | ||
> tmplr gitlab:dude/fun-projects/starter-recipe --subgroup | ||
> ``` | ||
<br> | ||
### Working directory | ||
Use `-d` or `--dir` option to specify a working directory. **`tmplr`** will copy the repository to the given directory (creating all necessary directories) and runs the recipe from there: | ||
|