mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-28 04:03:39 +00:00
Update docs with the easier way to run the CLI
This commit is contained in:
@@ -13,6 +13,18 @@ Please follow the [instructions provided here](Dotnet.md).
|
||||
3. In the Terminal window, type `cd` , press the SPACE key, then drag and drop the extracted folder into the window, then press the RETURN key.
|
||||
4. Execute the following command to export, replacing `TOKEN` and `CHANNEL` with your own values:
|
||||
|
||||
```console
|
||||
./DiscordChatExporter.Cli.sh export -t TOKEN -c CHANNEL
|
||||
```
|
||||
|
||||
If the above command throws a "Permission denied" error, use `chmod` to fix the permissions:
|
||||
|
||||
```console
|
||||
chmod +x DiscordChatExporter.Cli.sh
|
||||
```
|
||||
|
||||
Alternatively, if the script doesn't work, you can run the following command to run the application directly:
|
||||
|
||||
```console
|
||||
dotnet DiscordChatExporter.Cli.dll export -t TOKEN -c CHANNEL
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user