remove ilo run command file
[yosql.git] / yosql-website / content / configuration / files / sqlFilesSuffix.md
blobb8a14199f0d45f141f61c09f853f9e3a4abc004b
1 ---
2 title: sqlFilesSuffix
3 date: 2019-09-27T18:51:08+02:00
4 menu:
5   main:
6     parent: Files
7 categories:
8   - Configuration
9 tags:
10   - sql
11   - files
12   - suffix
13 ---
15 The `sqlFilesSuffix` option can be used to change which file extension is expected by `YoSQL` while searching for your `.sql` files. It defaults to `.sql`.
17 ## Configuration Options
19 ### Option: '.sql'
21 The default value of the `sqlFilesSuffix` configuration option is `.sql`. It matches all files that end with `.sql`.
23 ### Option: '.other'
25 Changing the `sqlFilesSuffix` configuration option to `.other` configures `YoSQL` look for files that end in `.other`.
27 ## Related Options
29 - [inputBaseDirectory](../inputbasedirectory/): Controls the base directory for `.sql` files.
30 - [outputBaseDirectory](../outputbasedirectory/): Controls the output directory for `.java` files.
31 - [skipLines](../skiplines/): Skip lines at the beginning of each `.sql` file.
32 - [sqlFilesCharset](../sqlfilescharset/): Controls the charset used to read `.sql` files.
33 - [sqlStatementSeparator](../sqlstatementseparator/): The statement separator to use when parsing `.sql` files.
35 ## Tooling
37 ### Maven
39 In order to use `YoSQL` together with [Maven](https://maven.apache.org/), take a look at the tooling [documentation for Maven](/tooling/maven/).
41 {{< maven/config/files/sqlFilesSuffix >}}
43 ### Gradle
45 In order to use `YoSQL` together with [Gradle](https://gradle.org/), take a look at the tooling [documentation for Gradle](/tooling/gradle/).
47 ```groovy
48 plugins {
49   id("wtf.metio.yosql")
52 yosql {
53   files {
54       sqlFilesSuffix = configValue
55   }
57 ```
59 ### Bazel
61 In order to use `YoSQL` together with [Bazel](https://bazel.build/), take a look at the tooling [documentation for Bazel](/tooling/bazel/).
63 ### CLI
65 In order to use YoSQL on the command line, take a look at the tooling [documentation for CLI](/tooling/cli/).
67 ```shell
68 $ yosql --files-sql-files-suffix=configValue
69 ```
71 The shorter form is available as well:
73 ```shell
74 $ yosql --sql-files-suffix=configValue
75 ```