@@ -2857,6 +2857,74 @@ public partial record DotNetNuGetWhy: ICommandLine
2857
2857
public static DotNetNuGetWhy operator - ( DotNetNuGetWhy command , IEnumerable < ( string name , string value ) > vars ) => command . RemoveVars ( vars ) ;
2858
2858
}
2859
2859
2860
+ [ ExcludeFromCodeCoverage ]
2861
+ public partial record DotNetNuConfigGet : ICommandLine
2862
+ {
2863
+ /// <summary>
2864
+ /// Appends an argument.
2865
+ /// </summary>
2866
+ /// <param name="command">The command to which an argument will be added.</param>
2867
+ /// <param name="arg">Argument to add.</param>
2868
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2869
+ public static DotNetNuConfigGet operator + ( DotNetNuConfigGet command , string arg ) => command . AddArgs ( arg ) ;
2870
+
2871
+ /// <summary>
2872
+ /// Removes an argument by its name.
2873
+ /// </summary>
2874
+ /// <param name="command">The command to which an argument will be removed.</param>
2875
+ /// <param name="arg">Argument to remove.</param>
2876
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2877
+ public static DotNetNuConfigGet operator - ( DotNetNuConfigGet command , string arg ) => command . RemoveArgs ( arg ) ;
2878
+
2879
+ /// <summary>
2880
+ /// Appends arguments.
2881
+ /// </summary>
2882
+ /// <param name="command">The command to which arguments will be added.</param>
2883
+ /// <param name="args">Arguments to add.</param>
2884
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2885
+ public static DotNetNuConfigGet operator + ( DotNetNuConfigGet command , IEnumerable < string > args ) => command . AddArgs ( args ) ;
2886
+
2887
+ /// <summary>
2888
+ /// Removes arguments by their name.
2889
+ /// </summary>
2890
+ /// <param name="command">The command to which arguments will be removed.</param>
2891
+ /// <param name="args">Arguments to remove.</param>
2892
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2893
+ public static DotNetNuConfigGet operator - ( DotNetNuConfigGet command , IEnumerable < string > args ) => command . RemoveArgs ( args ) ;
2894
+
2895
+ /// <summary>
2896
+ /// Appends an environment variable.
2897
+ /// </summary>
2898
+ /// <param name="command">The command to which an environment variable will be added.</param>
2899
+ /// <param name="var">Environment variable to add.</param>
2900
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2901
+ public static DotNetNuConfigGet operator + ( DotNetNuConfigGet command , ( string name , string value ) var ) => command . AddVars ( var ) ;
2902
+
2903
+ /// <summary>
2904
+ /// Removes environment variable by its name and value.
2905
+ /// </summary>
2906
+ /// <param name="command">The command to which an environment variable will be removed.</param>
2907
+ /// <param name="var">Environment variable to remove.</param>
2908
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2909
+ public static DotNetNuConfigGet operator - ( DotNetNuConfigGet command , ( string name , string value ) var ) => command . RemoveVars ( var ) ;
2910
+
2911
+ /// <summary>
2912
+ /// Appends environment variables.
2913
+ /// </summary>
2914
+ /// <param name="command">The command to which environment variables will be added.</param>
2915
+ /// <param name="vars">Environment variables to add.</param>
2916
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2917
+ public static DotNetNuConfigGet operator + ( DotNetNuConfigGet command , IEnumerable < ( string name , string value ) > vars ) => command . AddVars ( vars ) ;
2918
+
2919
+ /// <summary>
2920
+ /// Removes environment variables by their name and value.
2921
+ /// </summary>
2922
+ /// <param name="command">The command to which environment variables will be removed.</param>
2923
+ /// <param name="vars">environment variables to remove.</param>
2924
+ /// <returns>Returns a new command with the corresponding changes.</returns>
2925
+ public static DotNetNuConfigGet operator - ( DotNetNuConfigGet command , IEnumerable < ( string name , string value ) > vars ) => command . RemoveVars ( vars ) ;
2926
+ }
2927
+
2860
2928
[ ExcludeFromCodeCoverage ]
2861
2929
public partial record DotNetPack : ICommandLine
2862
2930
{
0 commit comments