Skip to content

Template Initializer #115

@wata727

Description

@wata727

GitHub's template repositories offer very little customization functionality, which means it's difficult to provide proper onboarding to developers who create repositories based on the template. To solve this issue, it might be useful to have the "Template Initializer" that should run first.

The template initializer is implemented as a simple Go script that asks questions that developers can answer with a yes or no to set up the appropriate repository. Imagine something like create-next-app.

The following is an example of the expected behavior:

$ go run ./tools/setup

RuleSet name?: tflint-ruleset-example
Do you want to sign release binaries with your GPG key?: y
Do you want to enable Dependabot auto-merge?: y

The template initializer will rewrite files according to your instructions, some of which may be automated using your GitHub access token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions