Huge Refactor

- Cleaned up Program.cs by moving a lot of functions to their own classes
- Renamed topics to community
- Choosing a community is no longer optional with the switch to JSON
- Added csharpier tool and reformttered all code
This commit is contained in:
Tony Bark 2025-03-22 19:37:05 -04:00
parent d91ff3352b
commit 188318c724
12 changed files with 396 additions and 382 deletions

View file

@ -7,19 +7,18 @@ namespace StaggerPost;
/// </summary>
public class Config
{
/// <summary>
/// Gets or sets the name of the schedule file.
/// </summary>
public string? File { get; set; }
/// <summary>
/// Gets or sets the name of the schedule file.
/// </summary>
public string? File { get; set; }
/// <summary>
/// Gets or sets the directory path where the schedule file is stored.
/// </summary>
public string? Path { get; set; }
/// <summary>
/// Gets or sets the list of available topics from the configuration file.
/// </summary>
public List<string> Topics { get; set; } = new List<string>();
/// <summary>
/// Gets or sets the directory path where the schedule file is stored.
/// </summary>
public string? Path { get; set; }
/// <summary>
/// Gets or sets the list of available topics from the configuration file.
/// </summary>
public List<string> Communities { get; set; } = new List<string>();
}