wrap CLI with fang

This commit is contained in:
2025-06-19 01:53:16 +01:00
parent a6fb3c69c7
commit 856da5cd04
4 changed files with 66 additions and 29 deletions

2
new.go
View File

@@ -95,7 +95,7 @@ func runPrompt(client *github.Client, pc *promptConfig) (*github.Gitignore, erro
i, _, err := prompt.Run()
if err != nil {
return nil, fmt.Errorf("error running selection prompt: %w", err)
return nil, err
}
content, _, err := client.Gitignores.Get(context.Background(), templates[i])