Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove indent setting from CLI tool #888

Closed
nojaf opened this issue Jun 4, 2020 · 1 comment
Closed

Remove indent setting from CLI tool #888

nojaf opened this issue Jun 4, 2020 · 1 comment
Labels
clitool Area command line tool good first issue Long hanging fruit: easy issue to get your feet wet!

Comments

@nojaf
Copy link
Contributor

nojaf commented Jun 4, 2020

fantomas-tool.exe" --help
USAGE: dotnet fantomas [--help] [--recurse] [--force] [--profile] [--fsi <string>] [--stdin] [--stdout]
                       [--out <string>] [--indent <int>] [--check] [--config <string>] [--version] [<string>]

INPUT:

    <string>              Input path: can be a folder or file with *.fs,*.fsi,*.fsx,*.ml,*.mli extension.

OPTIONS:

    --recurse             Process the input folder recursively.
    --force               Print the source unchanged if it cannot be parsed correctly.
    --profile             Print performance profiling information.
    --fsi <string>        Read F# source from stdin as F# signatures.
    --stdin               Read F# source from standard input.
    --stdout               Write the formatted source code to standard output.
    --out <string>        Give a valid path for files/folders. Files should have .fs, .fsx, .fsi, .ml or .mli
                          extension only.
    --indent <int>        Set number of spaces for indentation (default = 4). The value should be between 1 and 10.
    --check               Don't format files, just check if they have changed. Exits with 0 if it's formatted
                          correctly, with 1 if some files need formatting and 99 if there was an internal error
    --config, -c <string> Use configuration found in file or folder.
    --version, -v         Displays the version of Fantomas
    --help                display this list of options.

The --indent value should be coming from a configuration file.
This setting should be removed.

@nojaf nojaf added good first issue Long hanging fruit: easy issue to get your feet wet! clitool Area command line tool labels Jun 4, 2020
@nojaf
Copy link
Contributor Author

nojaf commented Jul 9, 2020

This happened as part of #940

@nojaf nojaf closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clitool Area command line tool good first issue Long hanging fruit: easy issue to get your feet wet!
Projects
None yet
Development

No branches or pull requests

1 participant