Updated GUI, CLI and Formats explained (markdown)

Alexey Golub
2021-07-29 01:46:29 -07:00
parent 7001c49480
commit 21c440724e

@@ -200,21 +200,22 @@ dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -f Json
``` ```
### Changing the output filename ### Changing the output filename
You can change the filename by using `-o name.EXTENSION`. e.g. for the html format You can change the filename by using `-o name.ext`. e.g. for the `HTML` format:
```powershell ```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o myserver.html dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o myserver.html
``` ```
### Changing the output directory ### Changing the output directory
You can change the export directory by using `-o`. You can change the export directory by using `-o` and providing a path that ends with a slash or does not have a file extension.
If any of the folders in the path has a space in its name, add quotes ("). If any of the folders in the path have a space in its name, escape them with quotes (").
```powershell ```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports" dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports"
``` ```
### Changing the filename and output directory ### Changing the filename and output directory
You can change both the filename and export directory by using `-o directory\name.EXTENSION`. You can change both the filename and export directory by using `-o directory\name.ext`.
If any of the folders in the path has a space in its name, add quotes ("). Note that the filename must have an extension, otherwise it will be considered a directory name.
If any of the folders in the path have a space in its name, escape them with quotes (").
```powershell ```powershell
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\myserver.html" dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555 -o "C:\Discord Exports\myserver.html"
``` ```