├── .editorconfig ├── .github └── workflows │ ├── ci.yaml │ └── release.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── examples ├── complex │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── README.md │ ├── docs │ │ ├── auth.md │ │ └── base.md │ ├── template.toml │ └── {{project_name}} │ │ ├── README.md │ │ ├── docs │ │ └── base.md │ │ ├── logo.png │ │ └── templates │ │ └── base.html ├── default-from-variable │ ├── template.toml │ └── {{directory_name}} │ │ └── {{manifest}}.md ├── hooks │ ├── do_stuff.py │ ├── greet.py │ ├── template.toml │ └── {{directory_name}} │ │ └── {{file_name}}.py ├── slugify │ ├── template.toml │ └── {{title $$ slugify}}.md ├── super-basic │ ├── template.toml │ └── {{directory_name}} │ │ └── {{file_name}}.py └── with-directory │ ├── README.md │ ├── some-files.py │ ├── template.toml │ └── template_root │ └── {{file_name}}.py ├── kickstart.gif ├── rustfmt.toml └── src ├── cli ├── mod.rs ├── prompt.rs └── terminal.rs ├── definition.rs ├── errors.rs ├── filters.rs ├── generation.rs ├── lib.rs ├── main.rs ├── snapshots ├── kickstart__definition__tests__can_validate_definition@default_not_in_choice.toml.snap ├── kickstart__definition__tests__can_validate_definition@default_not_matching_regex.toml.snap ├── kickstart__definition__tests__can_validate_definition@invalid_regex.toml.snap ├── kickstart__definition__tests__can_validate_definition@only_if_matching_type.toml.snap ├── kickstart__definition__tests__can_validate_definition@only_if_not_filled_yet_var.toml.snap ├── kickstart__definition__tests__can_validate_definition@only_if_unknown_var.toml.snap ├── kickstart__definition__tests__can_validate_definition@regex_on_wrong_type.toml.snap ├── kickstart__definition__tests__can_validate_definition@unsupported_type.toml.snap ├── kickstart__definition__tests__can_validate_definition@valid.toml.snap └── validation │ ├── default_not_in_choice.toml │ ├── default_not_matching_regex.toml │ ├── invalid_regex.toml │ ├── only_if_matching_type.toml │ ├── only_if_not_filled_yet_var.toml │ ├── only_if_unknown_var.toml │ ├── regex_on_wrong_type.toml │ ├── unsupported_type.toml │ └── valid.toml ├── utils.rs └── value.rs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/README.md -------------------------------------------------------------------------------- /examples/complex/.travis.yml: -------------------------------------------------------------------------------- 1 | # The CI setup for the template itself 2 | -------------------------------------------------------------------------------- /examples/complex/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Another file 2 | -------------------------------------------------------------------------------- /examples/complex/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/complex/README.md -------------------------------------------------------------------------------- /examples/complex/docs/auth.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/complex/docs/base.md: -------------------------------------------------------------------------------- 1 | # Some docs 2 | -------------------------------------------------------------------------------- /examples/complex/template.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/complex/template.toml -------------------------------------------------------------------------------- /examples/complex/{{project_name}}/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/complex/{{project_name}}/README.md -------------------------------------------------------------------------------- /examples/complex/{{project_name}}/docs/base.md: -------------------------------------------------------------------------------- 1 | # Django docs 2 | -------------------------------------------------------------------------------- /examples/complex/{{project_name}}/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/complex/{{project_name}}/logo.png -------------------------------------------------------------------------------- /examples/complex/{{project_name}}/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/complex/{{project_name}}/templates/base.html -------------------------------------------------------------------------------- /examples/default-from-variable/template.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/default-from-variable/template.toml -------------------------------------------------------------------------------- /examples/default-from-variable/{{directory_name}}/{{manifest}}.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/hooks/do_stuff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/hooks/do_stuff.py -------------------------------------------------------------------------------- /examples/hooks/greet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/hooks/greet.py -------------------------------------------------------------------------------- /examples/hooks/template.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/hooks/template.toml -------------------------------------------------------------------------------- /examples/hooks/{{directory_name}}/{{file_name}}.py: -------------------------------------------------------------------------------- 1 | print("Hello, {{greeting_recipient}}!") 2 | -------------------------------------------------------------------------------- /examples/slugify/template.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/slugify/template.toml -------------------------------------------------------------------------------- /examples/slugify/{{title $$ slugify}}.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/slugify/{{title $$ slugify}}.md -------------------------------------------------------------------------------- /examples/super-basic/template.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/super-basic/template.toml -------------------------------------------------------------------------------- /examples/super-basic/{{directory_name}}/{{file_name}}.py: -------------------------------------------------------------------------------- 1 | print("Hello, {{greeting_recipient}}!") 2 | -------------------------------------------------------------------------------- /examples/with-directory/README.md: -------------------------------------------------------------------------------- 1 | # A README for the template itself -------------------------------------------------------------------------------- /examples/with-directory/some-files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/with-directory/some-files.py -------------------------------------------------------------------------------- /examples/with-directory/template.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/examples/with-directory/template.toml -------------------------------------------------------------------------------- /examples/with-directory/template_root/{{file_name}}.py: -------------------------------------------------------------------------------- 1 | print("Hello, {{greeting_recipient}}!") 2 | -------------------------------------------------------------------------------- /kickstart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/kickstart.gif -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | use_small_heuristics = "max" 2 | -------------------------------------------------------------------------------- /src/cli/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/cli/mod.rs -------------------------------------------------------------------------------- /src/cli/prompt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/cli/prompt.rs -------------------------------------------------------------------------------- /src/cli/terminal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/cli/terminal.rs -------------------------------------------------------------------------------- /src/definition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/definition.rs -------------------------------------------------------------------------------- /src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/errors.rs -------------------------------------------------------------------------------- /src/filters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/filters.rs -------------------------------------------------------------------------------- /src/generation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/generation.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@default_not_in_choice.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@default_not_in_choice.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@default_not_matching_regex.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@default_not_matching_regex.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@invalid_regex.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@invalid_regex.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@only_if_matching_type.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@only_if_matching_type.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@only_if_not_filled_yet_var.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@only_if_not_filled_yet_var.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@only_if_unknown_var.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@only_if_unknown_var.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@regex_on_wrong_type.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@regex_on_wrong_type.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@unsupported_type.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@unsupported_type.toml.snap -------------------------------------------------------------------------------- /src/snapshots/kickstart__definition__tests__can_validate_definition@valid.toml.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/kickstart__definition__tests__can_validate_definition@valid.toml.snap -------------------------------------------------------------------------------- /src/snapshots/validation/default_not_in_choice.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/default_not_in_choice.toml -------------------------------------------------------------------------------- /src/snapshots/validation/default_not_matching_regex.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/default_not_matching_regex.toml -------------------------------------------------------------------------------- /src/snapshots/validation/invalid_regex.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/invalid_regex.toml -------------------------------------------------------------------------------- /src/snapshots/validation/only_if_matching_type.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/only_if_matching_type.toml -------------------------------------------------------------------------------- /src/snapshots/validation/only_if_not_filled_yet_var.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/only_if_not_filled_yet_var.toml -------------------------------------------------------------------------------- /src/snapshots/validation/only_if_unknown_var.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/only_if_unknown_var.toml -------------------------------------------------------------------------------- /src/snapshots/validation/regex_on_wrong_type.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/regex_on_wrong_type.toml -------------------------------------------------------------------------------- /src/snapshots/validation/unsupported_type.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/unsupported_type.toml -------------------------------------------------------------------------------- /src/snapshots/validation/valid.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/snapshots/validation/valid.toml -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/utils.rs -------------------------------------------------------------------------------- /src/value.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Keats/kickstart/HEAD/src/value.rs --------------------------------------------------------------------------------