Skip to content

Commit 49b2436

Browse files
committed
feat(experiment): charming scaffolds
1 parent 3aa60a2 commit 49b2436

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

internal/experiment/experiment.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ const (
3838
// manage their app manifest on app settings (remote manifest).
3939
BoltInstall Experiment = "bolt-install"
4040

41+
// Charm experiment enables beautiful prompts.
42+
Charm Experiment = "charm"
43+
4144
// Placeholder experiment is a placeholder for testing and does nothing... or does it?
4245
Placeholder Experiment = "placeholder"
4346
)
@@ -47,6 +50,7 @@ const (
4750
var AllExperiments = []Experiment{
4851
BoltFrameworks,
4952
BoltInstall,
53+
Charm,
5054
Placeholder,
5155
}
5256

internal/experiment/experiment_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func Test_Includes(t *testing.T) {
2626

2727
// Test expected experiments
2828
require.Equal(t, true, Includes(Experiment("bolt")))
29+
require.Equal(t, true, Includes(Experiment("charm")))
2930

3031
// Test invalid experiment
3132
require.Equal(t, false, Includes(Experiment("should-fail")))

0 commit comments

Comments
 (0)