-
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.
- Loading branch information
1 parent
7c95306
commit 71f7890
Showing
7 changed files
with
105 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Default Generator | ||
|
||
This is the default generator that comes pre-installed with stamp. It generates new generators. | ||
|
||
![yo dog](https://i.imgflip.com/98dgrp.jpg) |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{{`{{ .Message }}`}} 👋 |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# {{ "" }}yaml-language-server: $schema=https://raw.githubusercontent.com/twelvelabs/stamp/refs/heads/main/docs/stamp.schema.json | ||
--- | ||
name: "{{ .GeneratorName }}" | ||
description: "{{ .GeneratorName }} description." | ||
|
||
values: | ||
- key: Name | ||
default: '{{`{{ env "USER" }}`}}' | ||
|
||
- key: Message | ||
default: "Hello, {{`{{ .Name }}`}}" | ||
|
||
tasks: | ||
- type: create | ||
src: | ||
path: greeting.txt | ||
dst: | ||
path: greeting.txt |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/twelvelabs/stamp/refs/heads/main/docs/stamp.schema.json | ||
--- | ||
name: generator | ||
description: | | ||
Generator for creating new generators. | ||
values: | ||
- key: GeneratorName | ||
default: "{{ base .DstPath }}" | ||
|
||
tasks: | ||
- type: create | ||
src: | ||
path: _src | ||
dst: | ||
path: _src | ||
|
||
- type: create | ||
src: | ||
path: generator.yaml | ||
content_type: text | ||
dst: | ||
path: generator.yaml | ||
content_type: text |
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