Console interface of this software uses CommandLineParser.
Using command line parameters differs a little bit depending on where you run this software.
Examples in this section assume that commands are run from ConsoleInterface
-folder.
For up to date help
dotnet run -- help
Configurations are read from appsettings.json
and appsettings.Development.json
.
- Create
appsettings.Development.json
usingappsettings.json
as base. - Replace necessary configuration values.
TableStorage.ConnectionString can be retrieved from Azure Portal or from
the output of Prepare-Environment.ps1
. See
Function App instructions for more.
SlackClient.BearerToken can be retrieved from Slack Application
For up to date help
dotnet run -- help
Fetching questionnaire ID:s
dotnet run -- questionnaires
Fetching answers for all questionnaires
dotnet run -- answers
Fetching answers for single questionnaire
dotnet run -- answers -q e746a0db-6984-4fc4-8d6d-b5fad5baaa90
Writing answers to CSV-file
dotnet run -- answers -q e746a0db-6984-4fc4-8d6d-b5fad5baaa90 -o test.csv