staggerpost/Config.cs
Tony Bark 188318c724 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
2025-03-22 19:37:05 -04:00

24 lines
723 B
C#

// I hereby waive this project under the public domain - see UNLICENSE for details.
namespace StaggerPost;
/// <summary>
/// Represents the configuration settings for exporting a schedule,
/// including file name, directory path, and available topics.
/// </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 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>();
}