You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Microsoft.ML.Data/Commands/DataCommand.cs
+9-9
Original file line number
Diff line number
Diff line change
@@ -20,38 +20,38 @@ public static class DataCommand
20
20
{
21
21
publicabstractclassArgumentsBase
22
22
{
23
-
[Argument(ArgumentType.Multiple,HelpText="The data loader",ShortName="loader",SortOrder=1,NullName="<Auto>")]
23
+
[Argument(ArgumentType.Multiple,Visibility=ArgumentAttribute.VisibilityType.CmdLineOnly,HelpText="The data loader",ShortName="loader",SortOrder=1,NullName="<Auto>")]
[Argument(ArgumentType.AtMostOnce,IsInputFileName=true,HelpText="The data file",ShortName="data",SortOrder=0)]
27
27
publicstringDataFile;
28
28
29
-
[Argument(ArgumentType.AtMostOnce,HelpText="Model file to save",ShortName="out")]
29
+
[Argument(ArgumentType.AtMostOnce,Visibility=ArgumentAttribute.VisibilityType.CmdLineOnly,HelpText="Model file to save",ShortName="out")]
30
30
publicstringOutputModelFile;
31
31
32
-
[Argument(ArgumentType.AtMostOnce,IsInputFileName=true,HelpText="Model file to load",ShortName="in",SortOrder=90)]
32
+
[Argument(ArgumentType.AtMostOnce,Visibility=ArgumentAttribute.VisibilityType.CmdLineOnly,IsInputFileName=true,HelpText="Model file to load",ShortName="in",SortOrder=90)]
33
33
publicstringInputModelFile;
34
34
35
-
[Argument(ArgumentType.Multiple,HelpText="Load transforms from model file?",ShortName="loadTrans",SortOrder=91)]
35
+
[Argument(ArgumentType.Multiple,Visibility=ArgumentAttribute.VisibilityType.CmdLineOnly,HelpText="Load transforms from model file?",ShortName="loadTrans",SortOrder=91)]
[Argument(ArgumentType.AtMostOnce,HelpText="The web server to publish the RESTful API",Hide=true)]
44
+
[Argument(ArgumentType.AtMostOnce,Visibility=ArgumentAttribute.VisibilityType.CmdLineOnly,HelpText="The web server to publish the RESTful API",Hide=true)]
45
45
publicServerChannel.IServerFactoryServer;
46
46
47
47
// This is actually an advisory value. The implementations themselves are responsible for
48
48
// determining what they consider appropriate, and the actual heuristics is a bit more
0 commit comments