File: PythonInstallCommandAnnotation.cs
Web Access
Project: src\src\Aspire.Hosting.Python\Aspire.Hosting.Python.csproj (Aspire.Hosting.Python)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Aspire.Hosting.ApplicationModel;
 
namespace Aspire.Hosting.Python;
 
/// <summary>
/// Represents the annotation for the Python package manager's install command.
/// </summary>
/// <param name="args">
/// The command line arguments for the Python package manager's install command.
/// This includes the command itself (i.e. "install", "sync").
/// </param>
internal sealed class PythonInstallCommandAnnotation(string[] args) : IResourceAnnotation
{
    /// <summary>
    /// Gets the command-line arguments supplied to the Python package manager.
    /// </summary>
    public string[] Args { get; } = args;
}