├── .github └── workflows │ ├── build.yaml │ └── ci.yaml ├── .gitignore ├── LICENSE ├── README.md ├── go.mod ├── go.sum ├── internal └── codetoprompt │ ├── codetoprompt.go │ ├── codetoprompt_test.go │ └── testdata │ ├── dir_foo │ ├── dir_to_ignore_qux │ │ └── file_qux.txt │ ├── file_bar.txt │ └── file_to_ignore_bar.txt │ └── file_foo.txt └── main.go /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/README.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/go.sum -------------------------------------------------------------------------------- /internal/codetoprompt/codetoprompt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/internal/codetoprompt/codetoprompt.go -------------------------------------------------------------------------------- /internal/codetoprompt/codetoprompt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/internal/codetoprompt/codetoprompt_test.go -------------------------------------------------------------------------------- /internal/codetoprompt/testdata/dir_foo/dir_to_ignore_qux/file_qux.txt: -------------------------------------------------------------------------------- 1 | line 1 2 | -------------------------------------------------------------------------------- /internal/codetoprompt/testdata/dir_foo/file_bar.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/internal/codetoprompt/testdata/dir_foo/file_bar.txt -------------------------------------------------------------------------------- /internal/codetoprompt/testdata/dir_foo/file_to_ignore_bar.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | line 3 4 | -------------------------------------------------------------------------------- /internal/codetoprompt/testdata/file_foo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/internal/codetoprompt/testdata/file_foo.txt -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alesr/codetoprompt/HEAD/main.go --------------------------------------------------------------------------------