To run the application run the following from the repo's root directory, where <path/to/dir>
is the path to a C# project whose files you want to analyze.
CsPurity --project CsPurity/ <path/to/dir>
Or if you want to pass only the paths to the file(s) to analyze, use the flag --files
CsPurity --project CsPurity/ --files <path/to/file1> <path/to/file2> ...
If you want pass the content of one file as a string to the program, for instance by piping, use can use the --string
flag.
For more information, see the help:
CsPurity --project /d/Melker/git-repos/masters-thesis/CsPurity/ --help
To run tests, run dotnet test CsPurity/
from the repo's root directory.