mirror of
https://github.com/tonytins/staggerpost.git
synced 2025-03-25 02:39:12 +00:00
- 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
24 lines
723 B
C#
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>();
|
|
}
|