2018-09-08 01:26:45 +08:00
|
|
|
|
#Region "Microsoft.VisualBasic::75651adef0929e39fb916325c72c3023, Microsoft.VisualBasic.Core\CommandLine\Reflection\CLITypes.vb"
|
2018-08-02 20:14:48 +08:00
|
|
|
|
|
|
|
|
|
|
' Author:
|
|
|
|
|
|
'
|
|
|
|
|
|
' asuka (amethyst.asuka@gcmodeller.org)
|
|
|
|
|
|
' xie (genetics@smrucc.org)
|
|
|
|
|
|
' xieguigang (xie.guigang@live.com)
|
|
|
|
|
|
'
|
|
|
|
|
|
' Copyright (c) 2018 GPL3 Licensed
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
' This program is free software: you can redistribute it and/or modify
|
|
|
|
|
|
' it under the terms of the GNU General Public License as published by
|
|
|
|
|
|
' the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
|
' (at your option) any later version.
|
|
|
|
|
|
'
|
|
|
|
|
|
' This program is distributed in the hope that it will be useful,
|
|
|
|
|
|
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
|
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
|
' GNU General Public License for more details.
|
|
|
|
|
|
'
|
|
|
|
|
|
' You should have received a copy of the GNU General Public License
|
|
|
|
|
|
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
' /********************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
' Summaries:
|
|
|
|
|
|
|
|
|
|
|
|
' Enum CLITypes
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
'
|
|
|
|
|
|
' /********************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#End Region
|
|
|
|
|
|
|
|
|
|
|
|
Imports Microsoft.VisualBasic.ApplicationServices
|
|
|
|
|
|
|
|
|
|
|
|
Namespace CommandLine.Reflection
|
|
|
|
|
|
|
|
|
|
|
|
''' <summary>
|
|
|
|
|
|
''' The data type enumeration of the target optional parameter switch.
|
|
|
|
|
|
''' </summary>
|
|
|
|
|
|
''' <remarks></remarks>
|
|
|
|
|
|
Public Enum CLITypes As Byte
|
|
|
|
|
|
|
|
|
|
|
|
''' <summary>
|
|
|
|
|
|
''' File/directory path, is equals most string.
|
|
|
|
|
|
''' (对于指定为路径类型的参数值,在生成命令行的时候会自动调用<see cref="CLIPath"/>函数,在Linux系统之中,文件夹也是一种文件)
|
|
|
|
|
|
''' </summary>
|
|
|
|
|
|
File = 1
|
|
|
|
|
|
|
|
|
|
|
|
''' <summary>
|
|
|
|
|
|
''' String.(对于指定为字符串类型的参数,在调用的时候回自动调用<see cref="Utils.CLIToken"/>函数)
|
|
|
|
|
|
''' </summary>
|
|
|
|
|
|
''' <remarks></remarks>
|
|
|
|
|
|
[String] = 2
|
|
|
|
|
|
''' <summary>
|
|
|
|
|
|
''' Int
|
|
|
|
|
|
''' </summary>
|
|
|
|
|
|
''' <remarks></remarks>
|
|
|
|
|
|
[Integer] = 3
|
|
|
|
|
|
''' <summary>
|
|
|
|
|
|
''' Real
|
|
|
|
|
|
''' </summary>
|
|
|
|
|
|
''' <remarks></remarks>
|
|
|
|
|
|
[Double] = 4
|
|
|
|
|
|
''' <summary>
|
|
|
|
|
|
''' This is a flag value, if this flag presents in the CLI, then this named Boolean value is TRUE, otherwise is FALSE.
|
|
|
|
|
|
''' </summary>
|
|
|
|
|
|
[Boolean] = 5
|
|
|
|
|
|
End Enum
|
|
|
|
|
|
End Namespace
|