Skip to content

Commit b40db6a

Browse files
author
Tomas Rutkauskas
committed
Make Program class and Main method public
Updated the `Program` class and its `Main` method to be public for improved accessibility and external interaction. This change ensures compliance with conventions requiring a public entry point for execution.
1 parent 7d33445 commit b40db6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ConvertApi.Cli/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
using Microsoft.AspNetCore.WebUtilities;
55
using Microsoft.Net.Http.Headers;
66

7-
class Program
7+
public class Program
88
{
99
private const int HttpClientTimeoutSeconds = 1800;
1010
private const string ConvertApiBaseUrl = "https://v2.convertapi.com/convert";
1111
private const string UserAgentFormat = "convertapi-cli/{0}";
1212

13-
static async Task Main(string[] args)
13+
public static async Task Main(string[] args)
1414
{
1515
if (args.Length < 2 && Console.IsInputRedirected == false)
1616
{

0 commit comments

Comments
 (0)