PGET.EXE是一個.NET命令行工具箱,其靈感來自Git和BusyBox,它通過直觀命令和高級API公開.NET API。它提供了安裝,查詢和公開Nuget軟件包,探索.nuget Pacakge檔案,探索.NET組件文件或在GAC-全局彙編文件中,生成庫或彙編文檔,其中XML註釋和查詢組件中的命令提供。除此之外,它還提供了生成GUID和查詢XML的工具。
客觀的:
為什麼要pget?
創建了PGET是因為現有命令行工具沒有Visual Studio和Package Manager控制台提供的所有功能,例如Display Package Metadata,Nuget存儲庫中的搜索軟件包,Dispard packages的元數據來自本地存儲庫或Project Repository ./ packages和packages./packages並顯示Nuget Package package file file Metadata和Files。 PGET還提供了探索和瀏覽.NET組件和XML的強制性功能。
特徵
存儲庫:
二進製版本已發佈到孤兒分支構建。
手動下載
自動下載
~ /Downloads $ curl -O -L https://github.com/caiorss/pget/raw/build/pget.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 127 100 127 0 0 169 0 --:--:-- --:--:-- --:--:-- 169
100 2143k 100 2143k 0 0 257k 0 0:00:08 0:00:08 --:--:-- 529k
~ /Downloads $
~ /Downloads $ /usr/bin/chmod +x pget.exe
~ /Downloads $ ./pget.exe -v
Pget - Package Get - Version 1.0
Copyright (C) 2016 Caio Rodrigues 或者
cd ~ /bin
curl -O -L https://github.com/caiorss/pget/raw/build/pget.exe
/usr/bin/chmod +x pget.exe
./pget.exe -v 運行命令$ make exe 。它假設FSC -F#編譯器和Nuget.exe在$路徑變量中。它構建了具有所有依賴關係靜態鏈接的Standlone App pget.exe,還構建了fsharp.core(f#runtime)靜態鏈接。
$ make exe
fsc src/Pget.fs src/PgetCmd.fsx --out:bin/pget.exe
--target:exe
--platform:anycpu
-r:packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll
-r:packages/Microsoft.Web.Xdt.2.1.1/lib/net40/Microsoft.Web.XmlTransform.dll
--staticlink:NuGet.Core
--standalone
F# Compiler for F# 4.1
Freely distributed under the Apache 2.0 Open Source License
測試:
$ file bin/pget.exe
bin/pget.exe: PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows
$ bin/pget.exe --version
Pget - Package Get - Version 1.3.1
2016 Public Domain Software
Repository - https://github.com/caiorss/pget
msbuild
$ msbuild pget-exe.fsproj /p:Configuration=Releasexbuild
$ xbuild pget-exe.fsproj /p:Configuration=Release$ cd obj/Release && ./Pget.exe -v
Pget - Package Get - Version 1.3.1
2016 Public Domain Software
Repository - https://github.com/caiorss/pget$ pget.exe --version或$ pget.exe -v例子:
$ mono obj/debug/pget.exe- version
PGET-軟件包獲取 - 版本2.5.0.0
2016年公共領域軟件
存儲庫-https://github.com/caiorss/pget
$ pget.exe例子:
$ mono obj/debug/pget.exe
PGET-軟件包獲取 - 增強命令行接口到Nuget.core
pget.exe repo顯示回購命令的幫助。
pget.exe nuget show show for nuget相關命令
pget.exe ASM顯示有關彙編相關命令的幫助。
pget.exe nupkg顯示Nuget軟件包相關命令的幫助。
pget.exe xml顯示XML相關命令的幫助
- version | -v顯示版本
- 螺旋| -H顯示幫助
- DOC打開在線文檔。
列表存儲庫
repo-列表列表當前存儲庫中的所有軟件包./package
repo [path] - 列表列出[路徑]存儲庫中的所有軟件包。
顯示存儲庫
repo-節目顯示當前./packages存儲庫中的所有軟件包
repo [路徑] - 顯示在[路徑]存儲庫中的所有軟件包。
顯示包裝元數據
repo -show [pack]在./packages目錄中顯示軟件包[pack]
repo [path] - show [pack]在[repo]目錄中顯示軟件包[pack]。
顯示包裝文件
repo -files [pack]在./packages中顯示軟件包[pack]的內容文件
repo [path] - 文件[pack]在[repo]中顯示封裝[pack]的內容文件
將軟件包安裝到存儲庫
repo-安裝[pack]將最新版本的軟件包[pack]安裝到./packages
repo-安裝[pack] [ver]安裝軟件包[pack]的版本[ver]
repo [path] - 安裝[pack]將最新版本的軟件包[pack]安裝到存儲庫[路徑] ie:〜/nuget
repo [path] - 安裝[pack] [ver]將軟件包[pack]的版本[ver]安裝到存儲庫[路徑]
安裝通過參數的軟件包列表
repo-安裝列表fparsec nuget.core-2.0.0將這些軟件包安裝到./packages
repo /tmp /repo - 安裝列表fparsec nuget.core-2.0.0將這些軟件包安裝到 /tmp /repository
安裝文件中列出的軟件包列表
repo - 安裝文件 - 文件安裝文件./packages.list中列出的所有軟件包to ./packages目錄。
repo-安裝 - 文件[文件]安裝文件./packages.list中列出的所有軟件包to ./packages目錄。
repo [path] - 安裝from-file [file]安裝文件[文件]中列出的所有軟件包
打開包裝項目URL或許可URL
repo - url [pack]瀏覽一個包裝中的項目URL ./packages。
repo-license [pack]在./packages中的包裝[pack]的瀏覽許可URL。
repo [path] - url [pack]在[路徑]中瀏覽軟件包[pack]的項目URL
repo [path] - license [pack]瀏覽牌照的wress package [pack]在[路徑]中
顯示f# *.fsx腳本的引用:[frm]:.NET Framework Net40 | Net45
repo -ref [frm]顯示當前./packages的所有彙編參考。
repo -ref -pack [pack]在./packages中顯示所有彙編引用。
repo [path] - ref [frm]顯示當前[repo]目錄中的所有彙編參考。
repo [path] -ref [frm] [pack]顯示來自[repo]目錄的軟件包中的所有彙編參考
nuget命令:
Nuget - 搜索[軟件包]按名稱搜索包。
nuget-節目[軟件包]顯示軟件包信息(元數據)。
Nuget-開放式Nuget網站-https://www.nuget.org
NUPKG文件:
nupkg -show [file]顯示一個 *.nupkg文件的元數據
nupkg-文件[文件]在nupkg [file]中顯示文件
彙編文件: *.exe或 *.dll
ASM - INFO [文件]顯示來自彙編[文件]或GAC的所有彙編屬性。
ASM -REFS [文件]從彙編[文件]或GAC中顯示所有彙編引用。
ASM - resources [file]顯示來自彙編文件的資源。
ASM - namespace | -ns [文件]顯示所有導出的名稱空間。
ASM - namespace | -ns [file] [nspace]顯示從彙編[文件]導出的名稱空間中的所有類型。
ASM - type [文件]顯示由彙編[文件]或GAC中的彙編導出的所有類型。
ASM - type [file] [type]顯示有關彙編[文件]或GAC導出的[類型]的信息。
ASM-型Info [類型]嘗試找到一種類型並顯示其信息。
ASM - -Search-方法[file] [type] [方法]搜索並顯示包含[方法]的類型[類型]的所有方法。
ASM - interface [file]顯示由彙編[文件]導出的所有接口。
ASM - Abstract [file]顯示由彙編[文件]導出的所有抽像類。
ASM-級[文件]顯示由彙編[文件]導出的所有類。
ASM - classn [file]顯示由彙編[文件]導出的所有非抽取類
ASM - docgen [file]在屏幕上打印所有類型的文檔
ASM - docgen [file] [output-file]將所有類型的文檔導出到org模式文件。
XML查詢命令。
XML-顯示[XMLURI]從URI或文件顯示格式的XML人類可讀輸出。
XML -show [xmluri] [file]導出[xmluri](文件或URL)到XML人類可讀文件。
XML-架構[xmluri]顯示XML結構 - 標籤層次結構
XML - struct [xmluri] atter顯示帶有屬性名稱的層次結構標籤。
XML-架構[xmluri] ns顯示XML結構標籤層次結構
XML -NS顯示所有XML名稱空間
XML - 名稱空間顯示所有XML名稱空間
XML - XVALUE [XPATH] [XMLURI]使用XPath查詢XML節點並顯示其值。
xml - xtext [xpath] [xmluri]使用XPath查詢XML節點並顯示其文本。
xml - xtext -nons [xpath] [xmluri]使用XPath查詢XML節點,並顯示其文本忽略命名空間。
xml -xattr [xpath] [attr] [xmluri]使用XPath查詢XML節點,並顯示節點屬性的值。
xml -xattr -nons [xpath] [attr] [xmluri]類似於上面的命令,但忽略了名稱空間。
FSPROJ- FSPROJ文件的幫助者。
fsproj -ref [frm]生成。
打開pget在線文檔:https://caiorss.github.io/pget
- doc
顯示系統信息
- 系統
生成GUID-全球唯一標識符
- 定向
--------------------------------------------------------------
命令縮寫:
- 安裝-i
- 安裝 - from-file-if
- 安裝列表-il
- 螺旋 - h
-version -v
-ver -v
-list -L
-search -s
-Show -sh
PGET-軟件包獲取 - 版本2.5.0.0
2016年公共領域軟件
存儲庫-https://github.com/caiorss/pget
$ pget.exe repo例子:
$ bin/pget.exe repo
列表存儲庫
repo-列表列表當前存儲庫中的所有軟件包./package
repo [path] - 列表列出[路徑]存儲庫中的所有軟件包。
顯示存儲庫
repo-節目顯示當前./packages存儲庫中的所有軟件包
repo [路徑] - 顯示在[路徑]存儲庫中的所有軟件包。
顯示包裝元數據
repo -show [pack]在./packages目錄中顯示軟件包[pack]
repo [path] - show [pack]在[repo]目錄中顯示軟件包[pack]。
顯示包裝文件
repo -files [pack]在./packages中顯示軟件包[pack]的內容文件
repo [path] - 文件[pack]在[repo]中顯示封裝[pack]的內容文件
將軟件包安裝到存儲庫
repo-安裝[pack]將最新版本的軟件包[pack]安裝到./packages
repo-安裝[pack] [ver]安裝軟件包[pack]的版本[ver]
repo [path] - 安裝[pack]將最新版本的軟件包[pack]安裝到存儲庫[路徑] ie:〜/nuget
repo [path] - 安裝[pack] [ver]將軟件包[pack]的版本[ver]安裝到存儲庫[路徑]
安裝通過參數的軟件包列表
repo-安裝列表fparsec nuget.core-2.0.0將這些軟件包安裝到./packages
repo /tmp /repo - 安裝列表fparsec nuget.core-2.0.0將這些軟件包安裝到 /tmp /repository
安裝文件中列出的軟件包列表
repo - 安裝文件 - 文件安裝文件./packages.list中列出的所有軟件包to ./packages目錄。
repo-安裝 - 文件[文件]安裝文件./packages.list中列出的所有軟件包to ./packages目錄。
repo [path] - 安裝from-file [file]安裝文件[文件]中列出的所有軟件包
打開包裝項目URL或許可URL
repo - url [pack]瀏覽一個包裝中的項目URL ./packages。
repo-license [pack]在./packages中的包裝[pack]的瀏覽許可URL。
repo [path] - url [pack]在[路徑]中瀏覽軟件包[pack]的項目URL
repo [path] - license [pack]瀏覽牌照的wress package [pack]在[路徑]中
顯示f# *.fsx腳本的引用:[frm]:.NET Framework Net40 | Net45
repo -ref [frm]顯示當前./packages的所有彙編參考。
repo -ref -pack [pack]在./packages中顯示所有彙編引用。
repo [path] - ref [frm]顯示當前[repo]目錄中的所有彙編參考。
repo [path] -ref [frm] [pack]顯示來自[repo]目錄的軟件包中的所有彙編參考
$ pget.exe repo --list或$ pget.exe -l例子:
$ bin/pget.exe repo -l
Microsoft.Web.Xdt 2.1.1
NuGet.Core 2.12.0
$ tree packages
packages
├── Microsoft.Web.Xdt.2.1.1
│ ├── lib
│ │ └── net40
│ │ └── Microsoft.Web.XmlTransform.dll
│ └── Microsoft.Web.Xdt.2.1.1.nupkg
└── NuGet.Core.2.12.0
├── lib
│ └── net40-Client
│ └── NuGet.Core.dll
└── NuGet.Core.2.12.0.nupkg
6 directories, 4 files$ pget.exe repo --list [directory]或$ pget.exe --l [directory]例子:
$ bin/pget.exe repo -l /home/arch/nuget
Common.Logging 2.1.2
Deedle 1.2.5
Deedle.RPlugin 1.2.5
DynamicInterop 0.7.4
EntityFramework 6.0.0
Eto.Forms 2.2.0
Eto.Platform.Gtk 2.2.0
Eto.Platform.Gtk3 2.2.0
FAKE 4.39.0
...$ pget.exe pget repo --show或$ pget.exe repo -sh例子:
$ bin/pget.exe repo --show
Id Microsoft.Web.Xdt
Title Microsoft Xml Document Transformation
Tags
Version 2.1.1
Summary Microsoft Xml Document Transformation (XDT) enables transformig XML files. This is the same technology used to transform web.config files for Visual Studio web projects.
Authors Microsoft Corporation
Project URL
Dependencies
Download Count -1
Description Microsoft Xml Document Transformation (XDT) library. For more info on XDT please visit http://msdn.microsoft.com/en-us/library/dd465326.aspx.
Id NuGet.Core
Title
Tags nuget
Version 2.12.0
Summary
Authors Outercurve Foundation
Project URL https://github.com/NuGet/NuGet2
Dependencies Microsoft.Web.Xdt 2.1.0
Download Count -1
Description NuGet.Core is the core framework assembly for NuGet that the rest of NuGet builds upon.
$ pget.exe repo [path] --show或$ pget.exe repo [path] -sh例子:
$ bin/pget.exe repo /tmp/testrepo --show
Id FParsec
Title FParsec
Tags parser combinator f# fsharp c# csharp parsec fparsec
Version 1.0.2
Summary
Authors Stephan Tolksdorf
Project URL http://www.quanttec.com/fparsec/
Dependencies
Download Count -1
Description FParsec is a parser combinator library for F#.
You can find comprehensive documentation for FParsec at http://www.quanttec.com/fparsec. The documentation includes a feature list, a tutorial, a user’s guide and an API reference.
This package uses the basic “low-trust” configuration of FParsec, which does not use any unverifiable code and is optimized for maximum portability. If you need to parse very large files or if you employ FParsec for performance-critical jobs, consider using the alternate “Big Data Edition” NuGet package (see nuget.org/packages/fparsec-big-data-edition).
Id FSharp.Data
Title F# Data
Tags F# fsharp data typeprovider WorldBank CSV HTML CSS JSON XML HTTP linqpad-samples
Version 2.3.2
Summary Library of F# type providers and data access tools
Authors Tomas Petricek, Gustavo Guerra, Colin Bull
Project URL http://fsharp.github.io/FSharp.Data
Dependencies Zlib.Portable 1.11.0, Zlib.Portable 1.11.0, Zlib.Portable 1.11.0
Download Count -1
Description The F# Data library (FSharp.Data.dll) implements everything you need to access data in your F# applications and scripts. It implements F# type providers for working with structured file formats (CSV, HTML, JSON and XML) and for accessing the WorldBank data. It also includes helpers for parsing CSV, HTML and JSON files and for sending HTTP requests.
...$ pget.exe repo --show [package-Id]或 - $ pget.exe repo -sh [package-Id]例子:
$ bin/pget.exe repo --show NuGet.Core
Id NuGet.Core
Title
Tags nuget
Version 2.12.0
Summary
Authors Outercurve Foundation
Project URL https://github.com/NuGet/NuGet2
Dependencies Microsoft.Web.Xdt 2.1.0
Download Count -1
Description NuGet.Core is the core framework assembly for NuGet that the rest of NuGet builds upon.$ pget.exe repo [path] --show [package-Id]或者
$ pget.exe repo [path] -sh [package-Id]例子:
$ bin/pget.exe repo ~/nuget --show NUnit.Console
Id NUnit.Console
Title NUnit Console Runner Version 3 Plus Extensions
Tags nunit test testing tdd runner
Version 3.5.0
Summary Console runner for the NUnit 3 unit-testing framework with selected extensions.
Authors Charlie Poole
Project URL http://nunit.org/
Dependencies NUnit.ConsoleRunner 3.5.0, NUnit.Extension.NUnitProjectLoader 3.5.0, NUnit.Extension.VSProjectLoader 3.5.0, NUnit.Extension.NUnitV2ResultWriter 3.5.0, NUnit.Extension.NUnitV2Driver 3.5.0, NUnit.Extension.TeamCityEventListener 1.0.2
Download Count -1
Description This package includes the nunit3-console runner and test engine for version 3.0 of the NUnit unit-testing framework.
The following extensions are included with this package:
* NUnitProjectLoader - loads tests from NUnit projects
* VSProjectLoader - loads tests from Visual Studio projects
* NUnitV2ResultWriter - saves results in NUnit V2 format.
* NUnitV2FrameworkDriver - runs NUnit V2 tests.
* TeamCityEventListener - supports special progress messages used by teamcity.
Other extensions, if needed, must be installed separately$ pget.exe repo --files [package-id]例子:
$ bin/pget.exe repo --files OxyPlot.Core
packages/OxyPlot.Core.1.0.0/lib/portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1+Xamarin.iOS10/OxyPlot.dll
packages/OxyPlot.Core.1.0.0/lib/portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1+Xamarin.iOS10/OxyPlot.pdb
packages/OxyPlot.Core.1.0.0/lib/portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1+Xamarin.iOS10/OxyPlot.xml
packages/OxyPlot.Core.1.0.0/lib/net45/OxyPlot.dll
packages/OxyPlot.Core.1.0.0/lib/net45/OxyPlot.pdb
packages/OxyPlot.Core.1.0.0/lib/net45/OxyPlot.xml
packages/OxyPlot.Core.1.0.0/lib/net40-client/OxyPlot.dll
packages/OxyPlot.Core.1.0.0/lib/net40-client/OxyPlot.pdb
packages/OxyPlot.Core.1.0.0/lib/net40/OxyPlot.dll
packages/OxyPlot.Core.1.0.0/lib/net40/OxyPlot.pdb
packages/OxyPlot.Core.1.0.0/lib/sl5/OxyPlot.dll
packages/OxyPlot.Core.1.0.0/lib/sl5/OxyPlot.pdb
packages/OxyPlot.Core.1.0.0/README.md
packages/OxyPlot.Core.1.0.0/CHANGELOG.md
$ bin/pget.exe repo --files FParsec
packages/FParsec.1.0.2/lib/net40-client/FParsec.dll
packages/FParsec.1.0.2/lib/net40-client/FParsec.XML
packages/FParsec.1.0.2/lib/net40-client/FParsecCS.dll
packages/FParsec.1.0.2/lib/net40-client/FParsecCS.XML
packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll
packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.XML
packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll
packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.XML$ pget.exe repo [path] --files [package-id]$ bin/pget.exe repo ~ /nuget --files FParsec
/home/arch/nuget/FParsec.1.0.2/lib/net40-client/FParsec.dll
/home/arch/nuget/FParsec.1.0.2/lib/net40-client/FParsec.XML
/home/arch/nuget/FParsec.1.0.2/lib/net40-client/FParsecCS.dll
/home/arch/nuget/FParsec.1.0.2/lib/net40-client/FParsecCS.XML
/home/arch/nuget/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll
/home/arch/nuget/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.XML
/home/arch/nuget/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll
/home/arch/nuget/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.XML
$ bin/pget.exe repo ~ /nuget --files Mono.Cecil
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net20/Mono.Cecil.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net20/Mono.Cecil.Mdb.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net20/Mono.Cecil.Pdb.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net35/Mono.Cecil.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net35/Mono.Cecil.Mdb.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net35/Mono.Cecil.Pdb.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net35/Mono.Cecil.Rocks.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net40/Mono.Cecil.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net40/Mono.Cecil.Mdb.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net40/Mono.Cecil.Pdb.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/net40/Mono.Cecil.Rocks.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/sl40/Mono.Cecil.dll
/home/arch/nuget/Mono.Cecil.0.9.5.4/lib/sl40/Mono.Cecil.Rocks.dll
$ pget.exe repo --ref [framework]框架是.NET框架版本。可能是:
例子:
$ bin/pget.exe repo --ref net40
# r "packages/FParsec.1.0.2/lib/net40-client/FParsec.dll"
# r "packages/FParsec.1.0.2/lib/net40-client/FParsecCS.dll"
# r "packages/Microsoft.Web.Xdt.2.1.1/lib/net40/Microsoft.Web.XmlTransform.dll"
# r "packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll"
# r "packages/OxyPlot.Core.1.0.0/lib/net40/OxyPlot.dll"
# r "packages/OxyPlot.Pdf.1.0.0/lib/net40/OxyPlot.Pdf.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/MigraDoc.DocumentObjectModel.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/MigraDoc.Rendering.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/MigraDoc.RtfRendering.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/PdfSharp.Charting.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/PdfSharp.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/MigraDoc.DocumentObjectModel.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/MigraDoc.Rendering.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/MigraDoc.RtfRendering.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/PdfSharp.Charting.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/PdfSharp.resources.dll"
$ bin/pget.exe repo --ref net45
# r "packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll"
# r "packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll"
# r "packages/Microsoft.Web.Xdt.2.1.1/lib/net40/Microsoft.Web.XmlTransform.dll"
# r "packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll"
# r "packages/OxyPlot.Core.1.0.0/lib/net40/OxyPlot.dll"
# r "packages/OxyPlot.Pdf.1.0.0/lib/net40/OxyPlot.Pdf.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/MigraDoc.DocumentObjectModel.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/MigraDoc.Rendering.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/MigraDoc.RtfRendering.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/PdfSharp.Charting.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/PdfSharp.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/MigraDoc.DocumentObjectModel.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/MigraDoc.Rendering.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/MigraDoc.RtfRendering.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/PdfSharp.Charting.resources.dll"
# r "packages/PDFsharp-MigraDoc-GDI.1.32.4334.0/lib/net20/de/PdfSharp.resources.dll"
$ pget.exe repo --ref [framework] [package-id]例子:
$ bin/pget.exe repo --ref net45 FParsec
# r "packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll"
# r "packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll" $ pget.exe repo [path] --ref [framework]例子:
$ bin/pget.exe repo /tmp/packages -i FSharp.Data
Installing: FSharp.Data 2.3.2
$ bin/pget.exe repo /tmp/packages -i FParsec
Installing: FParsec 1.0.2
$ ls /tmp/packages/
FParsec.1.0.2/ FSharp.Data.2.3.2/ Zlib.Portable.1.11.0/
$ bin/pget.exe repo /tmp/packages --ref net40
# r "/tmp/packages/FParsec.1.0.2/lib/net40-client/FParsec.dll"
# r "/tmp/packages/FParsec.1.0.2/lib/net40-client/FParsecCS.dll"
# r "/tmp/packages/FSharp.Data.2.3.2/lib/net40/FSharp.Data.dll"
# r "/tmp/packages/FSharp.Data.2.3.2/lib/net40/FSharp.Data.DesignTime.dll"
# r "/tmp/packages/Zlib.Portable.1.11.0/lib/portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid/Zlib.Portable.dll"
$ bin/pget.exe repo /tmp/packages --ref net45
# r "/tmp/packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll"
# r "/tmp/packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll"
# r "/tmp/packages/FSharp.Data.2.3.2/lib/portable-net45+netcore45+wpa81+wp8/FSharp.Data.dll"
# r "/tmp/packages/FSharp.Data.2.3.2/lib/portable-net45+netcore45+wpa81+wp8/FSharp.Data.DesignTime.dll"
# r "/tmp/packages/Zlib.Portable.1.11.0/lib/portable-net4+sl5+wp8+win8+wpa81+MonoTouch+MonoAndroid/Zlib.Portable.dll" $ pget.exe repo [path --ref [framework] [package-id]例子:
$ bin/pget.exe repo ~ /nuget --ref net45 FParsec
# r "/home/arch/nuget/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll"
# r "/home/arch/nuget/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll"
$ bin/pget.exe repo ~ /nuget --ref net45 FSharp.Data
# r "/home/arch/nuget/FSharp.Data.2.3.1/lib/portable-net45+netcore45+wpa81+wp8/FSharp.Data.dll"
# r "/home/arch/nuget/FSharp.Data.2.3.1/lib/portable-net45+netcore45+wpa81+wp8/FSharp.Data.DesignTime.dll" $ pget.exe repo --url [packageId]例子:
$ bin/pget.exe repo --url FParsec
Opening http://www.quanttec.com/fparsec/$ pget.exe repo [path] --url [packageId]例子:
$ bin/pget.exe repo ~ /nuget --url Eto.Forms
Opening https://github.com/picoe/Eto$ pget.exe repo --license [packageId]例子:
$ bin/pget.exe repo --license FParsec
Opening http://www.quanttec.com/fparsec/license.html$ pget.exe repo [path] --licence [packageId]例子:
$ bin/pget.exe repo ~ /nuget --license NUnit.Console
Opening http://nunit.org/nuget/nunit3-license.txt$ pget.exe repo --install [package-id]或 - $ pget.exe repo -i [package-id]例子:
$ bin/pget.exe repo --install OxyPlot.Pdf
Installing: OxyPlot.Pdf 1.0.0
$ ls -l packages
total 0
drwxrwxrwx 1 arch arch 280 dez 19 00:52 Microsoft.Web.Xdt.2.1.1/
drwxrwxrwx 1 arch arch 264 dez 19 01:45 NuGet.Core.2.12.0/
drwxrwxrwx 1 arch arch 488 dez 19 02:22 OxyPlot.Core.1.0.0/
drwxrwxrwx 1 arch arch 480 dez 19 02:22 OxyPlot.Pdf.1.0.0/
drwxrwxrwx 1 arch arch 296 dez 19 02:22 PDFsharp-MigraDoc-GDI.1.32.4334.0/
bin/pget.exe repo -sh OxyPlot.Core
Id OxyPlot.Core
Title OxyPlot core library (PCL)
Tags plotting plot charting chart
Version 1.0.0
Summary
Authors Oystein Bjorke
Project URL http://oxyplot.org/
Dependencies
Download Count -1
Description OxyPlot is a plotting library for .NET. This is the portable core library that is referenced by the platform-specific OxyPlot packages.
$ pget.exe repo --install [package-id] [version]或者
$ pget.exe repo -i [package-id] [version]例子:
$ bin/pget.exe repo -i FParsec 1.0.2
$ ls -l packages
total 0
drwxrwxrwx 1 arch arch 256 dez 19 02:31 FParsec.1.0.2/
drwxrwxrwx 1 arch arch 280 dez 19 00:52 Microsoft.Web.Xdt.2.1.1/
drwxrwxrwx 1 arch arch 264 dez 19 01:45 NuGet.Core.2.12.0/
drwxrwxrwx 1 arch arch 488 dez 19 02:22 OxyPlot.Core.1.0.0/
drwxrwxrwx 1 arch arch 480 dez 19 02:22 OxyPlot.Pdf.1.0.0/
drwxrwxrwx 1 arch arch 296 dez 19 02:22 PDFsharp-MigraDoc-GDI.1.32.4334.0/$ pget.exe repo [path] --install [package-id]或者
$ pget.exe repo [path] -i [package-id] -r [path]例子:
$ bin/pget.exe repo -i /home/arch/nuget OxyPlot.Pdf
Installing: OxyPlot.Pdf 1.0.0
$ bin/pget.exe repo /home/arch/nuget -sh OxyPlot.Pdf
Id OxyPlot.Pdf
Title OxyPlot PDF extensions (for Silverlight and NET4)
Tags pdf plotting plot charting chart
Version 1.0.0
Summary
Authors Oystein Bjorke
Project URL http://oxyplot.org/
Dependencies OxyPlot.Core [1.0.0], PDFsharp-MigraDoc-GDI [1.32.4334], OxyPlot.Core [1.0.0], PDFsharp-MigraDoc-GDI [1.32.4334], OxyPlot.Core [1.0.0]
Download Count -1
Description OxyPlot is a plotting library for .NET. This package contains .pdf export extensions for .NET 4 (based on PDFsharp) and Silverlight (based on SilverPDF).
$ pget.exe repo [path] --install [package-id] [version]或者
$ pget.exe repo [path] -i [package-id] -v [package]例子:
$ bin/pget.exe repo ~ /nuget -i Microsoft.Web.Xdt 1.0.0$ pget.exe repo --install-list FParsec-1.0.2 OxyPlot或者
$ pget.exe repo -il FParsec-1.0.2 OxyPlot如果未指定版本,則安裝了最後版本。
$ pget.exe repo ~/nuget --install-list FParsec-1.0.2 OxyPlot或者
$ pget.exe repo ~/nuget -il FParsec-1.0.2 OxyPlot ... packageN$ pget.exe repo --install-from-file或者
$ pget.exe repo -iffile packages.list的示例。如果未列出該版本,它將將最新版本的軟件包版本安裝到./packages。
文件:packages.list
FSharp.Data 1.0.0
Deedle 1.0.0
OxyPlot.Pdf
OxyPlot.WindowsForms$ pget.exe repo --install-from-file [packages-list-file]或者
$ pget.exe repo -if [package-list-file]$ pget.exe nuget例子:
$ bin/pget.exe nuget
nuget命令:
Nuget - 搜索[軟件包]按名稱搜索包。
nuget-節目[軟件包]顯示軟件包信息(元數據)。
Nuget-開放式Nuget網站-https://www.nuget.org
$ pget.exe nuget --search [keyword]例子:
$ bin/pget.exe nuget -s oxyplot
Id AnnotationGUIOxyplot
Title
Tags
Version 0.0.1
Summary
Authors tschwarz
Project URL
Dependencies
Download Count 68
Description My package description.
Id Eto.OxyPlot
Title Eto.OxyPlot
Tags
Version 1.2.0-beta
Summary
Authors Loren Van Spronsen
Project URL
Dependencies Eto.Forms 2.2.0, OxyPlot.Core 1.0.0-unstable2063
Download Count 3382
Description OxyPlot bindings for the Eto UI framework
... ... ...pget.exe nuget --show例子:
$ bin/pget.exe nuget --show FParsec
Id FParsec
Title FParsec
Tags parser combinator parsec fsharp
Version 0.9.1
Summary FParsec is a parser combinator library for F#.
Authors Stephan Tolksdorf (FParsec), Ryan Riley (NuGet Package)
Project URL http://quanttec.com/fparsec/
Dependencies
Download Count 66877
Description FParsec is a parser combinator library for F#
$ bin/pget.exe nuget --show FParsecsdadfsf
Error: I can't find the package FParsecsdadfsf
$ bin/pget.exe nuget --show FSharp.Core
Id FSharp.Core
Title FSharp.Core
Tags f#
Version 2.0.0.0
Summary FSharp.Core.dll
Authors Microsoft
Project URL
Dependencies
Download Count 460728
Description FSharp.Core.dll which can be referenced in other nuget packages.
$ pget.exe nupkg例子:
$ bin/pget.exe nupkg
NUPKG文件:
nupkg -show [file]顯示一個 *.nupkg文件的元數據
nupkg-文件[文件]在nupkg [file]中顯示文件
顯示nuget軟件包元數據
$ pget.xe nupkg --show [nupkg-file]例子:
$ bin/pget.exe nupkg --show ./packages/FParsec.1.0.2/FParsec.1.0.2.nupkg
Id FParsec
Title FParsec
Tags parser combinator f# fsharp c# csharp parsec fparsec
Version 1.0.2
Summary
Authors Stephan Tolksdorf
Project URL http://www.quanttec.com/fparsec/
Dependencies
Download Count -1
Description FParsec is a parser combinator library for F#.
You can find comprehensive documentation for FParsec at http://www.quanttec.com/fparsec. The documentation includes a feature list, a tutorial, a user’s guide and an API reference.
This package uses the basic “low-trust” configuration of FParsec, which does not use any unverifiable code and is optimized for maximum portability. If you need to parse very large files or if you employ FParsec for performance-critical jobs, consider using the alternate “Big Data Edition” NuGet package (see nuget.org/packages/fparsec-big-data-edition).
$ pget.exe nupkg --files [nupkg-file]例子:
$ bin/pget.exe nupkg --files ./packages/FParsec.1.0.2/FParsec.1.0.2.nupkg
lib/net40-client/FParsec.dll
lib/net40-client/FParsec.XML
lib/net40-client/FParsecCS.dll
lib/net40-client/FParsecCS.XML
lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll
lib/portable-net45+netcore45+wpa81+wp8/FParsec.XML
lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll
lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.XML$ pget.exe asm例子:
$ bin/pget.exe asm
彙編文件: *.exe或 *.dll
ASM - -INFO [文件]顯示來自彙編[文件]的所有彙編屬性。
ASM -REFS [文件]從彙編[文件]中顯示所有彙編引用。
ASM - resources [file]顯示來自彙編文件的資源。
ASM - namespace | -ns [文件]顯示所有導出的名稱空間。
ASM - namespace | -ns [file] [nspace]顯示從彙編[文件]導出的名稱空間中的所有類型。
ASM - type [file]顯示由彙編[文件]導出的所有類型
ASM - type [file] [type]顯示有關彙編[文件]導出的[類型]的信息。
ASM - interface [file]顯示由彙編[文件]導出的所有接口。
ASM - Abstract [file]顯示由彙編[文件]導出的所有抽像類。
ASM-級[文件]顯示由彙編[文件]導出的所有類。
ASM - classn [file]顯示由彙編[文件]導出的所有非抽取類
ASM - docgen [file]在屏幕上打印所有類型的文檔
ASM - docgen [file] [output-file]將所有類型的文檔導出到org模式文件。
$ pget.exe asm --type-info [type name]例子:
$ pget.exe asm --type-info System.IO.Directory
**** Type Info
- Name: Directory
- Full Name: System.IO.Directory
- Namespace: System.IO
- Module: mscorlib.dll
- Base Type: System.Object
* Predicates *
- Class: True
- Abstract Class: True
- Primitive False
- Array: False
- Interface False
- Enum False
- Public True
- Visible True
**** Fields
**** Properties
**** Constructors
**** Instance Methods
- Public System.Boolean Equals (System.Object obj)
- Public System.Int32 GetHashCode ()
- Public System.Type GetType ()
- Public System.String ToString ()
....
**** Static Methods
- Public Static System.IO.DirectoryInfo CreateDirectory (System.String path)
- Public Static System.IO.DirectoryInfo CreateDirectory (System.String path, System.Security.AccessControl.DirectorySecurity directorySecurity)
- Public Static System.Void Delete (System.String path)
- Public Static System.Void Delete (System.String path, System.Boolean recursive)
- Public Static System.Boolean Exists (System.String path)
- Public Static System.DateTime GetLastAccessTime (System.String path)
- Public Static System.DateTime GetLastAccessTimeUtc (System.String path)
- Public Static System.DateTime GetLastWriteTime (System.String path)
- Public Static System.DateTime GetLastWriteTimeUtc (System.String path)
... ...
$ pget.exe asm --info [assembly-file or asm-gac]在GAC中顯示彙編文件的彙編屬性。
例子:
$ bin/pget.exe asm --info ~ /bin/nuget.exe
Assembly Attributes
-------------------------------------------
Name NuGet
Version 3.4.4.1321
CLR Version v4.0.30319
Product NuGet
Culture
Company Microsoft Corporation
Description NuGet Command Line
Copyright Microsoft Corporation. All rights reserved.
GUID
Com Visible False
Codebase file:///home/arch/bin/nuget.exe示例2:
$ bin/pget.exe asm --info ~ /nuget/FSharp.Core.3.1.2.5/lib/net40/FSharp.Core.dll
Assembly Attributes
-------------------------------------------
Name FSharp.Core
Version 4.3.1.0
CLR Version v4.0.30319
Product Microsoft® Visual Studio® 2013
Culture
Company Microsoft Corporation
Description FSharp.Core.dll
Copyright © Microsoft Corporation. All rights reserved.
GUID
Com Visible False
Codebase file:///home/arch/nuget/FSharp.Core.3.1.2.5/lib/net40/FSharp.Core.dll示例3:在GAC(system.xml.dll)中顯示有關彙編的信息
$ mono bin/Debug/Pget.exe asm --info System.Xml
Assembly Attributes
-------------------------------------------
Name System.Xml
Version 4.0.0.0
CLR Version v4.0.30319
Product Mono Common Language Infrastructure
Culture
Company Mono development team
Description System.Xml.dll
Copyright (c) Various Mono authors
GUID
Com Visible False
Codebase file:///usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
顯示組件文件引用的組件
$ pget.exe asm --refs [assembly-file]例子:
$ bin/pget.exe asm --refs ~ /bin/nuget.exe
Name = mscorlib Version = 4.0.0.0 Culture =
Name = Microsoft.CSharp Version = 4.0.0.0 Culture =
Name = System.Core Version = 4.0.0.0 Culture =
Name = System Version = 4.0.0.0 Culture =
Name = System.Xml.Linq Version = 4.0.0.0 Culture =
Name = System.Xml Version = 4.0.0.0 Culture =
Name = Microsoft.Build Version = 4.0.0.0 Culture =
Name = Microsoft.Build.Framework Version = 4.0.0.0 Culture =
Name = System.ComponentModel.Composition Version = 4.0.0.0 Culture =
Name = Microsoft.Build.Utilities.v4.0 Version = 4.0.0.0 Culture =
Name = System.Numerics Version = 4.0.0.0 Culture =
Name = System.Data Version = 4.0.0.0 Culture =
Name = System.Runtime.Serialization Version = 4.0.0.0 Culture =
Name = System.Security Version = 4.0.0.0 Culture =
Name = System.ComponentModel.DataAnnotations Version = 4.0.0.0 Culture =
Name = WindowsBase Version = 4.0.0.0 Culture =
Name = System.ServiceModel Version = 4.0.0.0 Culture =
Name = System.Data.Services.Client Version = 4.0.0.0 Culture =
Name = System.IO.Compression Version = 4.0.0.0 Culture =
Name = System.Net.Http Version = 4.0.0.0 Culture =
Name = System.IdentityModel Version = 4.0.0.0 Culture =
Name = System.Net.Http.WebRequest Version = 4.0.0.0 Culture =$ pget.exe asm --resources [asmfile]例子:
$ bin/pget.exe asm --resources bin/pget.exe
FSCore.resources
NuGet.CommonResources.resources
NuGet.NuGet.Frameworks.Strings.resources
NuGet.Resources.AnalysisResources.resources
NuGet.Resources.NuGetResources.resources
NuGet.Authoring.nuspec.xsd$ pget.exe asm --type [asmFile]示例1:通過彙編文件顯示導出類型。
$ bin/pget.exe repo --files NuGet.Core
packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll
$ bin/pget.exe asm --type packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll
NuGet.IPackageRule
NuGet.PackageIssue
NuGet.DefaultPackageRuleSet
NuGet.PackageIssueLevel
NuGet.AssemblyMetadata
NuGet.AssemblyMetadataExtractor
NuGet.IFrameworkTargetable
NuGet.IPackageFile
...
NuGet.IPackageAssemblyReference
NuGet.PhysicalPackageAssemblyReference
NuGet.ConfigurationDefaults
NuGet.ICredentialProvider
NuGet.SettingsCredentialProvider
NuGet.ISettings
NuGet.NullSettings
NuGet.Settings
NuGet.SettingValue
...
NuGet.Resources.NuGetResources
NuGet.ProjectSystemExtensions
NuGet.PathUtility
NuGet.CryptoHashProvider
NuGet.StreamExtensions
NuGet.PackageHelper
NuGet.XmlUtility
NuGet.IProjectSystem
NuGet.PackageSaveModes
NuGet.Constants
NuGet.PackageDependency
NuGet.VersionUtility
NuGet.XElementExtensions示例2:通過GAC中的組裝顯示出口類型。
$ mono bin/Debug/Pget.exe asm --type System.Xml
System.Xml.Xsl.Runtime.ContentIterator
System.Xml.Xsl.Runtime.ElementContentIterator
System.Xml.Xsl.Runtime.NodeKindContentIterator
System.Xml.Xsl.Runtime.AttributeIterator
System.Xml.Xsl.Runtime.NamespaceIterator
System.Xml.Xsl.Runtime.AttributeContentIterator
System.Xml.Xsl.Runtime.ContentMergeIterator
System.Xml.Xsl.Runtime.DodSequenceMerge
System.Xml.Xsl.Runtime.SetIteratorResult
... ... ...
System.Xml.Xsl.XsltContext
System.Xml.Xsl.XsltException
System.Xml.Xsl.XsltCompileException
System.Xml.Xsl.XslTransform
System.Xml.Xsl.XsltSettings
$ pget.exe asm --type [asmFile] [TypeName]示例:顯示有關nuget.zippackage類型的信息,由nuget.core.dll導出。
$ bin/pget.exe repo -files nuget.core
packages/nuget.core.2.12.0/lib/net40-client/nuget.core.dll
$ bin/pget.exe asm -type packages/nuget.2.12.0/lib/net40-client/nuget.core.dll nuget.zippackage
****類型信息
- 名稱:Zippackage
- 全名:nuget.zippackage
- 名稱空間:nuget
- 模塊:nuget.core.dll
- 基本類型:nuget.localpackage
*謂詞*
- 班級:正確
- 摘要類:錯誤
- 原始錯誤
- 數組:false
- 接口false
- 枚舉錯誤
- 公共
- 可見的真實
****字段
**** 特性
-System.String ID
-nuget.semantistion版本
-System.String標題
-System.Collections.generic.IENUMASTION'1 [SYSTEM.STRING]作者
-System.Collections.generic.IENUMOSTIRS'1 [SYSTEM.STRING]所有者
-System.uri Iconurl
-System.URI Clichurl
-System.uri Projecturl
-System.URI Reportabuseurl
-INT32下載計數
- 布爾值需要元素
- 布爾發展依賴性
-System.String描述
-System.String摘要
-System.String發行
-System.String語言
-System.String標籤
-System.version Minclientvers
-Boolean isabsolutelatestestion
-Boolean islatestversion
- 布爾列出
-System.nullable`1 [System.DateTimeOffset]發布
-System.String版權
-System.Collections.generic.IENUMOSTION“ 1 [NUGET.PACKAGEDEPENDENCENCENCETSET]依賴部
-System.Collections.generic.IENUMOSTION'1 [NUGET.FRAMEWORKASSEMBLYREFERY] FRAFERWORKASSEMBLIES
-System.Collections.generic.IENUMETIOS“ 1 [NUGET.IPACKAGAGEASSEMBLYREFERFER]彙編
-System.Collections.generic.Icollection`1 [nuget.packagereferenceset] PackageAsseMblyReferences
****構造函數
void .ctor(string)
void .ctor(func`1,func`1)
void .ctor(流)
**** 方法
-System.IO.Stream getStream()
- void rextractents(nuget.ifilesystem,system.String)
-System.String GetPackageIdentifier(System.io.packaging.package)
-System.Collections.generic.IENUMSOUST'1 [SYSTEM.RUNTIME.VERSINING.FRAMEWORKNAME] getSupportedFrameWorks()
-System.Collections.generic.IENUMOSTIRS'1 [NUGET.IPACKAGEFILE] getFiles()
-System.String ToString()
- 布爾等於(system.Object)
-INT32 GethashCode()
-system.type getType()
示例:顯示有關eTO.forms.form.form.dll中定義的類型信息。
注意:有關方法,字段和屬性的摘要來自file eto.xml
$ bin/pget.exe asm -type packages/eto.forms.2.3.0/lib/net45/eto.dll eto.forms.forms.forms.formsem
****類型信息
- 名稱:表格
- 全名:eto.forms.form
- 名稱空間:eto.forms
- 模塊:eto.dll
- 基本類型:eto.forms.window
*謂詞*
- 班級:正確
- 摘要類:錯誤
- 原始錯誤
- 數組:false
- 接口false
- 枚舉錯誤
- 公共
- 可見的真實
****字段
**** 特性
- 布爾人展示
獲取或設置一個值,指示最初顯示時應激活表單。
-System.String標題
獲取或設置窗口的標題
-ETO.Drawing.Point位置
獲取或設置窗口的位置
-ETO.Drawing.Rectangle邊界
獲取或設置窗口的大小和位置
-ETO.FORMS.Toolbar工具欄
獲取或設置窗口的工具欄。
- 雙不透明度
獲取或設置窗口的不透明度
-ETO.FORMS.WINDOW所有者
獲取或設置此窗口的所有者。
-ETO.Forms.screen屏幕
獲取屏幕此窗口大部分都包含在窗口中。通常由窗口的屏幕中心定義。
-ETO.Forms.menubar菜單
獲取或設置此窗口的菜單欄
-ETO.Drawing.Icon圖標
獲取或設置圖標以顯示在菜單欄中顯示的窗口。
- 布爾可重新解析
獲取或設置一個值,以指示是否可以解析。
- 布爾可最大化
獲取或設置一個值,指示是否可以最大化。
- 布爾可最小化
獲取或設置一個值,指示是否可以最小化。
- 布爾showintaskbar
獲取或設置一個值,指示這是否會在任務欄中顯示。
- 布爾最高
獲取或設置一個值,以指示這是否超過所有其他窗口。
-ETO.FORMS.WindowState WindowState
獲取或設置窗口的狀態。
-ETO.Drawing.Rectangle恢復
在最小化或最大化窗口之前獲取窗口的邊界,或者如果正常(如果是正常)的電流邊界。
-Eto.forms.windowstyle窗口風格
獲取或設置此窗口的樣式。
- 單邏輯像素化
在高DPI顯示器上,獲取每個邏輯像素的像素的數量。
-System.Collections.generic.IENUMOSTIRS'1 [ETO.FORMS.CONTROL]控件
獲得該容器直接包含的控件的列舉
-ETO.Drawing.Padding填充
獲取或設置面板周圍的填充物。
-ETO.Drawing.Size尺寸最小尺寸
獲取或設置面板的最小尺寸。
-ETO.FORMS.ContextMenu ContextMenu
獲取或設置面板的上下文菜單。
-ETO.Forms.Control內容
獲取或設置面板的主要內容。
-ETO.Drawing.size size客戶端
獲取或設置控件客戶端區域的大小
-System.Collections.generic.IENUMETIOS“ 1 [eto.forms.control] visualcontrols
獲取視覺樹中的控件的枚舉。
-System.Collections.generic.IENUMASTION'1 [ETO.FORMS.CONTROL]兒童
列舉所有包含的兒童控制,包括子容器內的控件
-System.Collections.generic.IENUMOSTIRS'1 [ETO.FORMS.CONTROL] VISUALCHILDREN
獲取視覺樹中所有包含的兒童控件的列舉,包括子容器內的控件。
- 布爾加載
獲取一個值,表明控件已加載到表單上,即已創建,添加到父
-System.Object標籤
獲取或設置一個包含有關控件的數據的用戶定義對象
-Eto.Drawing.size尺寸
獲取或設置控件的大小。使用-1指定寬度和/或高度的自動尺寸。
-INT32寬度
獲取或設置控制大小的寬度。
-INT32高度
獲取或設置控制大小的高度。
- 啟用布爾值
獲取或設置一個值,指示是否已啟用並接受用戶輸入。
- 布爾可見
獲取或設置一個指示用戶是否可見的值。
-ETO.FORMS.CONTAINER父母
獲取已添加此控件的容器,如果有的話
-Eto.forms.container VisualParent
獲取此控件的視覺容器(如果有)。
-ETO.Drawing.Color BackgroundColor
獲取或設置控件背景的顏色
- 布爾hasfocus
獲取一個指示此實例是否具有鍵盤輸入焦點的值。
- 布爾人
獲得一個值,指示兒童控制的佈局是否被暫停。
-Eto.forms.window parentwindow
獲取窗口此控件包含在
-System.Collections.generic.IENUMOSTION'1 [SYSTEM.STRING]支持PlatFormCommands
獲取可用於將系統功能連接到用戶定義的邏輯的受支持的平台命令
-ETO.FORMS.Cursor光標
獲取或設置鼠標懸停在控件上時要使用的光標類型
-System.String Tooltip
獲取或設置工具提示以顯示鼠標懸停在控件上時
-Eto.Widget父母
獲取該小部件已添加到的父窗口小部件,如果有的話
-System.Collections.generic.IENUMASTION'1 [eto.widget]父母
通過穿越該財產,獲得了繼承人中所有父母小部件的列舉。
-System.Object DataContext
獲取或設置此小部件的數據上下文以綁定
-ETO.Forms.bindingCollection Bindings
獲取附在此小部件的綁定的集合
-ETO.Platform平台
獲取用於創建此小部件的平台
-System.Object處理程序
獲取此小部件的特定平台處理程序
- intptr nativehandle
獲取用於集成目的的本地平台特定的手柄
-ETO.PropertyStore屬性
獲取此小部件的屬性字典
-System.String ID
獲取或設置此小部件的ID
-System.String樣式
獲取或設置此小部件的樣式
-System.Object ControlObject
獲取特定於平台的對象的實例
****構造函數
void .ctor()
void .ctor(ihandler)
**** 方法
- void show()
顯示表格
- void close()
關閉窗口
- 無效最小化()
設置為
- void最大化()
設置為
- void bringtofront()
將窗戶的窗口帶到Z訂單中所有其他窗口的前面。
-void sendtoback()
將窗口發送在Z訂單中的所有其他窗口後面。
- void remove(eto.forms.control)
從容器中刪除指定的孩子
- void unbind()
解開系列中的任何綁定並取下綁定,並遞歸該容器的孩子
-Void UpdateBindings(eto.forms.bindingupdatemode)
更新此小部件中的所有綁定,並遞歸到該容器的孩子
-void remove(system.collections.generic.ienumoserth'1 [eto.forms.control])
從此容器中刪除指定的
- void removeAll()
從此容器中刪除所有控件
-T Findchild [T](System.String)
在此容器或其任何一個帶有指定的兒童容器中找到兒童控制
-Eto.forms.control Findchild(System.Type,System.String)
在此容器或其任何一個帶有指定的兒童容器中找到兒童控制
-Eto.forms.control Findchild(System.String)
在此容器或其任何一個帶有指定的兒童容器中找到兒童控制
- 無效()
在屏幕上排隊重新塗抹整個控件
- 無效(eto.drawing.trectangle)
在屏幕上排隊重新塗抹整個控件
-Eto.forms.container findparent(system.type,system.String)
使用指定類型在父層次結構中找到一個控件,如果指定
-Eto.forms.container findparent(System.String)
使用指定類型在父層次結構中找到一個控件,如果指定
- void distach()
通過將其從父母中刪除來拆下控制
- void factnative()
附加控件以直接在本機應用中使用
- void focus()
嘗試將鍵盤輸入重點設置為此控件,或者第一個接受焦點的孩子
- void suspendlayout()
暫停兒童控制的佈局
- void resumelayout()
暫停佈局並執行佈局後恢復佈局
-void mapplatformcommand(System.String,eto.forms.command)
指定要執行特定於平台的命令的命令
-ETO.Drawing.pointf pointfomscreen(eto.drawing.pointf)
將一個從屏幕空間轉換為控制空間。
-ETO.Drawing.pointf尖端(ETO.Drawing.pointf)
將一個從控制空間轉換為屏幕空間
-ETO.Drawing.Rectanglef矩形旋轉(eto.drawing.Rectanglef)
將矩形從屏幕空間轉換為控制空間。
... ... ... ...
示例:通過GAC中的彙編顯示類型信息
$ pget.exe asm --type mscorlib System.IO.Path
**** Type Info
- Name: Path
- Full Name: System.IO.Path
- Namespace: System.IO
- Module: mscorlib.dll
- Base Type: System.Object
* Predicates *
- Class: True
- Abstract Class: True
- Primitive False
- Array: False
- Interface False
- Enum False
- Public True
- Visible True
**** Fields
- System.Char[] InvalidPathChars
- System.Char AltDirectorySeparatorChar
- System.Char DirectorySeparatorChar
- System.Char PathSeparator
- System.Char VolumeSeparatorChar
.. ... ... ...
**** Properties
**** Constructors
**** Instance Methods
- Public System.Boolean Equals (System.Object obj)
- Public System.Int32 GetHashCode ()
- Public System.Type GetType ()
- Public System.String ToString ()
**** Static Methods
- Public Static System.String ChangeExtension (System.String path, System.String extension)
- Public Static System.String Combine (System.String path1, System.String path2)
- Public Static System.String GetDirectoryName (System.String path)
- Public Static System.String GetExtension (System.String path)
- Public Static System.String GetFileName (System.String path)
... ... ... ... ...
- Public Static System.String Combine (System.String[] paths)
- Public Static System.String Combine (System.String path1, System.String path2, System.String path3)
- Public Static System.String Combine (System.String path1, System.String path2, System.String path3, System.String path4)
$ pget.exe asm --search-method [asmFile] [type] [method]示例:搜索所有system.io.file方法,其中包含“讀”一詞:
$ bin/pget.exe asm -search-method mscorlib system.io.file Line
public static system.String [] ReadAlllines(System.String Path)
public static System.String [] ReadAlllines(System.String Path,System.Text.Coding編碼)
public static System.Void WriteAlllines(System.String Path,System.String []內容)
public static system.Void WriteAlllines(System.String Path,System.String []內容,System.Text.Codeging編碼)
public static system.collections.generic.IENUMOLIDED'1 [SYSTEM.STRING] readlines(System.String Path)
public static system.collections.generic.IENUMOLITER'1 [SYSTEM.STRING] readlines(System.String Path,System.Text.Condext.Cododing編碼)
public static system.void appendalllines(System.String Path,System.Collections.generic.IENUMETIOS'1 [SYSTEM.STRING]內容)
public static system.Void appendalllines(System.String Path,System.Collections.generic.IENUMOTIOST
public static system.Void WriteAlllines(System.String Path,System.Collections.generic.IENUMETIOS'1 [SYSTEM.STRING]內容)
public static system.Void WriteAlllines(System.String Path,System.Collections.generic.IENUMOLITED'1 [SYSTEM.STRING]內容,System.Text.Concoding編碼)
$ bin/pget.exe asm -search-method mscordsflib system.io.file線
錯誤:我找不到文件:mscordsflib
$ bin/pget.exe asm -search-method/etc/fstab system.io.file Line
錯誤:file /etc /fstab不是.NET彙編
$ pget.exe --class [asmFile]例子:
$ bin/pget.exe repo -files oxyplot.core | grep“ .dll”
packages/oxyplot.core.1.0.0/lib/portable-net45+netcore45+wpa81+wp8+monoandroid1+monotouch1+xamarin.ios10/oxyplot.dll
包裝/oxyplot.core.1.0.0/lib/net45/oxyplot.dll
packages/oxyplot.core.1.0.0/lib/net40-client/oxyplot.dll
packages/oxyplot.core.1.0.0/lib/net40/oxyplot.dll
packages/oxyplot.core.1.0.0/lib/sl5/oxyplot.dll
$ bin/pget.exe asm-級套餐/oxyplot.core.1.0.0/lib/net45/oxyplot.dll
oxyplot.delegateViewCommand`1 [t]
OxyPlot.ElementCollectionChangedEventargs`1 [t]
oxyplot.manipulatorbase`1 [t]
oxyplot.delegateplotcommand`1 [t]
Oxyplot.Element
oxyplot.ElementCollection'1 [t]
Oxyplot.Model
Oxyplot.TouchTrackerAnipulator
Oxyplot.Oxysizeextensions
... ... ...
OXYPLOT.AXES.ANGLEAXIS
oxyplot.axes.axis
OXYPLOT.AXES.AXISCHANGEDEVENTARGS
OXYPLOT.AXES.CATEGORYAXIS
OXYPLOT.AXES.CATEGORYCOLORAXIS
Oxyplot.Axes.ColoraxiseXisextensions
OXYPLOT.AXES.LINEARCOLORAXIS
OXYPLOT.AXES.DATETIMEAXIS
OXYPLOT.AXES.LINEARAXIS
OXYPLOT.AXES.MAGNITUDEAXIS
... ... ...
Oxyplot.Annotations.Antotation
Oxyplot.Annotations.ArrowAnnotation
Oxyplot.Annotations.ellipseannotation
Oxyplot.Annotations.Functionantation
Oxyplot.Annotations.Imageannotation
Oxyplot.Annotations.Pathantotation
Oxyplot.Annotations.polyeannotation
OxyPlot.Conrec+Rendererdelegate
OxyPlot.Reporting.TableContents+ContentItem
$ pget.exe --classn [asmFile]例子:
$ bin/pget.exe asm - classn packages/oxyplot.core.1.0.0/lib/net45/oxyplot.dll
oxyplot.delegateViewCommand`1 [t]
OxyPlot.ElementCollectionChangedEventargs`1 [t]
oxyplot.delegateplotcommand`1 [t]
oxyplot.ElementCollection'1 [t]
...
Oxyplot.CodegenerationAttribute
OxyPlot.Codgenerator
Oxyplot.Oxypalette
OXYPLOT.DECEMATOR
OXYPLOT.COHANSUTHERLANDCLIPPIPPIPT
OXYPLOT.OXYPEN
oxyplot.xkcdenderingdecorator
Oxyplot.OxyKeymesture
OXYPLOT.OXMOSEDOWNEMENURE
Oxyplot.OxymouseWheelgesture
...
Oxyplot.Annotations.ellipseannotation
Oxyplot.Annotations.Functionantation
Oxyplot.Annotations.Imageannotation
Oxyplot.Annotations.polyeannotation
OxyPlot.Conrec+Rendererdelegate
OxyPlot.Reporting.TableContents+ContentItem
$ pget.exe --abstract [asmFile]例子:
$ bin/pget.exe asm -abstract packages/oxyplot.core.1.0.0/lib/net45/oxyplot.dll oxyplot.manipulatorbase`1 [t] Oxyplot.Element Oxyplot.Model Oxyplot.Icontroller OxyPlot.iviewCommand oxyplot.iviewcommand`1 [t] Oxyplot.iview OxyPlot.IplotController OXYPLOT.PIPLELEMENT Oxyplot.IplotModel Oxyplot.Oxysizeextensions Oxyplot.OxyinPuteVentargs ... OXYPLOT.HASHCODEBUILDER OxyPlot.xmlWriterBase Oxyplot.BinaryReadErxensions OxyPlot.Streamextensions Oxyplot.StringHelper OXYPLOT.FACTIONHELPER ... oxyplot.axes.icoloraxis Oxyplot.Axes.ColoraxiseXisextensions Oxyplot.Axes.AxisrendererBase Oxyplot.Annotations.shapeannotation Oxyplot.Annotations.TextualAnnotation Oxyplot.Annotations.Antotation Oxyplot.Annotations.Pathantotation
$ pget.exe --interface [asmFile]例子:
$ bin/pget.exe asm- interface packages/oxyplot.core.1.0.0/lib/net45/oxyplot.dll Oxyplot.Icontroller OxyPlot.iviewCommand oxyplot.iviewcommand`1 [t] Oxyplot.iview OxyPlot.IplotController OXYPLOT.PIPLELEMENT Oxyplot.IplotModel oxyplot.cendgenerating OxyPlot.IdataPointProvider OxyPlot.irenderContext oxyplot.iexporter OxyPlot.IIMAGGEDECODER OxyPlot.IImageEncoder OxyPlot.IplotView OXYPLOT.SERIES.ISCATTERPOINT PROVIDER Oxyplot.Series.istackableseries OxyPlot.Reporting.ireportWriter oxyplot.axes.icoloraxis
pget.exe asm --namespace [asmFile]或者
pget.exe asm --ns [asmFile]例子:
$ bin/pget.exe asm -namespace/usr/lib/mono/4.5-api/system.xml.dll
system.xml.xsl.runtime
system.xml
system.xml.xmlConfiguration
system.xml。溶液
system.xml.Schema
system.xml.Serialization
system.xml.Serialization.Advanced
system.xml.Serialization.Configuration
system.xml.xpath
system.xml.xsl
$ bin/pget.exe asm -ns/usr/lib/mono/4.5-api/system.xml.dll
system.xml.xsl.runtime
system.xml
system.xml.xmlConfiguration
system.xml。溶液
system.xml.Schema
system.xml.Serialization
system.xml.Serialization.Advanced
system.xml.Serialization.Configuration
system.xml.xpath
system.xml.xsl
$ pget.exe asm --namespace [assembly-file or GAC] [namespace]示例:查詢組裝文件。
$ bin/pget.exe asm -namespace/usr/lib/mono/4.5-api/system.xml.dll
system.xml.xsl.runtime
system.xml
system.xml.xmlConfiguration
system.xml。溶液
system.xml.Schema
system.xml.Serialization
system.xml.Serialization.Advanced
system.xml.Serialization.Configuration
system.xml.xpath
system.xml.xsl
$ bin/pget.exe asm -namespace/usr/lib/mono/4.5-api/system.xml.dll system.xml
system.xml.Conformancelevel
system.xml.dtdprocessing
system.xml.EntityHandling
system.xml.NamespaceHandling
system.xml.newlineHandling
system.xml.ReadState
system.xml.ValidationType
system.xml.WhitespaceHandling
...
system.xml.xmlNodeType
system.xml.xmlqualifiedName
system.xml.xmlresolver
system.xml.xmlsecureresolver
system.xml.xmlurlresolver
system.xml.xmlxapresolve
$ bin/pget.exe asm -type/usr/lib/mono/4.5-api/system.xml.dll system.xml.xmlnode
類型信息:
名稱:xmlnode
全名:system.xml.xmlnode
名稱空間:system.xml
模塊:system.xml.dll
基本類型:System.Object
謂詞
班級:是的
抽像類:是
原始錯誤
數組:false
接口false
枚舉錯誤
公眾是正確的
可見的真實
字段
-----------------------
特性
-----------------------
System.String名稱
System.String值
system.xml.xmlNodeType nodeType
system.xml.xmlnode parenthnode
...
構造函數
-----------------------
方法
-----------------------
system.xml.xpath.xpathnavigator createNavigator()
system.xml.xmlnode selectsinglenode(System.String)
system.xml.xmlnode selectsingLenode(System.String,System.xml.xmlnamespaceManager)
...
示例:GAC中的查詢組件
# Show all namespaces
#
$ mono bin/Debug/Pget.exe asm --namespace mscorlib
System.Runtime.ConstrainedExecution
Microsoft.Win32.SafeHandles
System
System.Collections.Concurrent
System.Collections
System.Collections.Generic
System.Collections.ObjectModel
System.Diagnostics.CodeAnalysis
System.Diagnostics
System.Diagnostics.Contracts
System.Diagnostics.Contracts.Internal
System.Runtime.CompilerServices
System.Diagnostics.Tracing
System.Globalization
System.IO
System.Reflection
System.Reflection.Emit
... ... ...
# Show all types exported by namespace
#
$ mono bin/Debug/Pget.exe asm --namespace mscorlib System.IO
System.IO.BinaryReader
System.IO.BinaryWriter
System.IO.BufferedStream
System.IO.DirectoryNotFoundException
System.IO.DriveNotFoundException
System.IO.EndOfStreamException
System.IO.FileInfo
System.IO.FileLoadException
System.IO.FileNotFoundException
System.IO.FileSystemInfo
System.IO.IOException
System.IO.MemoryStream
System.IO.PathTooLongException
System.IO.Stream
... ... ... ...
System.IO.File
System.IO.FileAccess
System.IO.FileAttributes
System.IO.FileMode
System.IO.FileOptions
System.IO.FileShare
System.IO.FileStream
System.IO.Path
System.IO.SearchOption
System.IO.SeekOrigin
此命令以Org-Mode Markdown格式生成文檔,並使用所有類型的方法,構造函數,字段,由名稱空間進行分類的屬性,還包括XML註釋。
$ pget.exe asm --docgen [asmfile] [output-file]例子:
查找軟件包文件。
$ bin/pget.exe repo -L
eto.forms 2.3.0
eto.platform.gtk 2.3.0
FPARSEC 1.0.2
fs.Inireader 1.0.3
Microsoft.web.xdt 2.1.1
Nuget.Core 2.12.0
OXYPLOT.CORE 1.0.0
Oxyplot.pdf 1.0.0
PDFSHARP-MIGRADOC-GDI 1.32.4334.0
$ bin/pget.exe repo -files eto.forms
packages/eto.forms.2.3.0/lib/portable-net45+win8+wp8+wpa81+xamarin.mac+monoandroid10+monotouch10+xamarin.ios10/eto.dll
packages/eto.forms.2.3.0/lib/portable-net45+win8+wp8+wpa81+xamarin.mac+monoandroid10+monotouch10+xamarin.ios10/eto.xml
packages/eto.forms.2.3.0/lib/net45/eto.dll
packages/eto.forms.2.3.0/lib/net45/eto.xml
packages/eto.forms.2.3.0/lib/net40/eto.dll
packages/eto.forms.2.3.0/lib/net40/eto.xml
packages/eto.forms.2.3.0/license.txt
生成文檔:
$ bin/pget.exe asm - docgen packages/eto.forms.2.3.0/lib/net45/eto.dll eto-doc.org
瀏覽器文檔:
$ emacs -q eto-doc.org
屏幕截圖:
<img src =“文件:圖像/42CF8C02-F803-4713-A7D1-0E57DE60891.PNG” alt =” file:images/42CF8C02-F803-4713-A713-A7D1-A7D1-0E51-0E557DE60891.PNG”/>
<img src =“文件:images/84aba9e2-5e75-4903-80af-eb293ab698f4.png” alt =“ file:images/84aba9e2-5e75-4903-4903-4903-80af-eb293ab698f4.png”/>
<img src =”文件:圖像/e6701dd4-4ec6-4e26-a930-9b802999999999369b4.png“ alt =”文件:images/e6701dd4-4ec6-4ec6-4e26-4e26-4e26-a930-a930-a930-9330-9b802999369b4.png”/>
<img src =“文件:圖像/cce9388f-a5da-4cac-b9c7-b379c52b5494.png” alt =” file:images/cce9388f-a5da-4cac-b9c7-b9c7-b9c7-b379c52b52b5494.png”/>
<img src =”文件:圖像/ccf94d57-77cb-480a-A036-5285ff5c582.png” alt =” file:images/ccf94d57-77cb-480a-a036-52285fff5c5882.png.png.png.png.pn2
生成項目存儲庫中所有軟件包的標籤(./packages)
$ pget.exe fsproj --ref [framework]框架可以在哪裡
$ bin/pget.exe fsproj --ref net45
< Reference Include= " FParsec " >
< HintPath > packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsec.dll < /HintPath >
< /Reference >
< Reference Include= " FParsecCS " >
< HintPath > packages/FParsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/FParsecCS.dll < /HintPath >
< /Reference >
< Reference Include= " FS.INIReader " >
< HintPath > packages/FS.INIReader.1.0.3/lib/net45/FS.INIReader.dll < /HintPath >
< /Reference >
< Reference Include= " Microsoft.Web.XmlTransform " >
< HintPath > packages/Microsoft.Web.Xdt.2.1.1/lib/net40/Microsoft.Web.XmlTransform.dll < /HintPath >
< /Reference >
< Reference Include= " NuGet.Core " >
< HintPath > packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll < /HintPath >
< /Reference >
< Reference Include= " OxyPlot " >
< HintPath > packages/OxyPlot.Core.1.0.0/lib/net40/OxyPlot.dll < /HintPath >
< /Reference >
< Reference Include= " OxyPlot.Pdf " >
< HintPath > packages/OxyPlot.Pdf.1.0.0/lib/net40/OxyPlot.Pdf.dll < /HintPath >
< /Reference >
...$ pget.exe fsh --find-dll [path]它在給定路徑中搜索所有彙編(*.dll文件),該路徑至少包含F#模塊。
$ mono obj/debug/pget.exe fsh-find-dll。
./bin/debug/fsharp.core.dll
./packages/fparsec.1.0.2/lib/net40-client/fparsec.dll
./packages/fparsec.1.0.2/lib/net40-client/fparseccs.dll
./packages/fparsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/fparsec.dll
./packages/fparsec.1.0.2/lib/portable-net45+netcore45+wpa81+wp8/fparseccs.dll
./packages/fs.inireader.1.0.3/lib/net45/fs.inireader.dll
./src/dummy.dll
$ pget.exe fsh --modules [asmFile] $ mono obj/debug/pget.exe fsh-modules ./packages/fparsec.1.0.2/lib/net40-client/fparsec.dll
fparsec.Charparsers
fparsec.primitives
fparsec.error
FPARSEC.STATIC圖
fparsec.internalsmodule
$ MONO OBJ/debug/pget.exe fsh -m -modules/home/arch/nuget/fsharp.charting.gtk.0.90.14/lib/net40/fsharp.charting.gtk.gtk.gtk.dll
fsharp.charting._chartstylextersensions
fsharp.charting.charttypes
$ MONO OBJ/debug/pget.exe fsh -m -modules/home/arch/nuget/fsharp.charting.gtk.0.90.14/lib/net40/fsharp.charting.gtk.gtk.gtk.dll
fsharp.charting._chartstylextersensions
fsharp.charting.charttypes
$ mono obj/debug/pget.exe fsh -modules all/home/arch/nuget/fsharp.charting.gtk.0.90.14/lib/net40/fsharp.charting.gtk.gtk.dll
System.semblyVersionInformation
fsharp.charting._chartstylextersensions
fsharp.charting.charttypes
fsharp.charting.keyconversions
fsharp.charting.notifyseq
fsharp.charting.seq
$ pget.exe xml $ bin/pget.exe xml
XML查詢命令。
XML-顯示[XMLURI]從URI或文件顯示格式的XML人類可讀輸出。
XML -show [xmluri] [file]導出[xmluri](文件或URL)到XML人類可讀文件。
XML-架構[xmluri]顯示XML結構 - 標籤層次結構
XML - struct [xmluri] atter顯示帶有屬性名稱的層次結構標籤。
XML-架構[xmluri] ns顯示XML結構標籤層次結構
XML -NS顯示所有XML名稱空間
XML - 名稱空間顯示所有XML名稱空間
XML - XVALUE [XPATH] [XMLURI]使用XPath查詢XML節點並顯示其值。
xml - xtext [xpath] [xmluri]使用XPath查詢XML節點並顯示其文本。
xml - xtext -nons [xpath] [xmluri]使用XPath查詢XML節點,並顯示其文本忽略命名空間。
xml -xattr [xpath] [attr] [xmluri]使用XPath查詢XML節點,並顯示節點屬性的值。
xml -xattr -nons [xpath] [attr] [xmluri]類似於上面的命令,但忽略了名稱空間。
$ pget.exe xml --show [xmluri]示例:
從文件顯示XML:
$ bin/pget.exe xml -show infoq.rss
<? xml版本=“ 1.0” encoding =“ utf-16”? >
<rss xmlns:rdf =“ http://www.w3.33.org/1999/02/22-rdf-syntax-ns#” xmlns:dc =“ http://purl.org.org/dc/dc/eelments/1.1/” XMLNS:taxo =“ http://purl.org/rss/1.0/modules/taxonomy/” xmlns:content =“ http://purl.org/rss/1.0/1.0/modules/modules/modules/content/content/
<頻道>
<Title> InfoQ </Title>
<鏈接> http://www.infoq.com </link>
<description> infoq feed </Description>
<項目>
<title>演示文稿:春季和大數據</title>
<鏈接> http://www.infoq.com/presentations/big-data-spring?utm_campaign=Infoq_content&amp;utm_source=Infoq&utm_medium = feed = feed
<description>&lt; img src =“ http://www.infoq.com/resource/resource/presentations/big-data-spring/en/mediumimimage/tombig.jpg”/&gt;在雲中。 &lt;/p&gt; &lt; i&gt; by thomas risberg&lt;/i&gt; </description>
<Category> Java </category>
<Category> Spring </category>
<類別>語言</category>
... ... ... ... ... ... ... ... ...
<dc:創造者> ji yu </dc:creator>
<DC:日期> 2017-01-07T18:22:00z </dc:date>
<dc:標識符>/演示文稿/mesos-api/en </dc:dissinifier>
</item>
<項目>
<title>演示文稿:使用Kubernetes構建微服務平台</title>
<link> http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=Infoq_content&utm_source = infoq&utm_medium_medium_medium = feedm_medium = feed = efeedm_medium = feed&umtm_term = utm_term =; am_term_term = global = global </link>
<description>&lt; img src =“ http://www.infoq.com/resource/presentations/microservices-kubernetes/en/mediumimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage一下”//部署,狀態服務和通過輔助行為添加行為。 /p&gt; &lt; i&gt; by Matthew Mark Miller&lt;/i&gt; </Descript>
<Category>會議</category>
<Category>部署</caterory>
<Caterory> QCON </category>
<Category>架構</category>
<Category>雲計算</category>
<Category> DevOps </category>
<Catpory> Architecture&amp;設計</category>
<Category>微服務</category>
<Caterory> Kubernetes </category>
<Category>容器</category>
<Caterory> QCON San Francisco 2016 </caterory>
<Category>演示</category>
<PubDate>星期六,2017年1月7日16:37:00 GMT </pubdate>
<Guid> http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=Infoq_content&amp;
<DC:創造者> Matthew Mark Miller </dc:Creator>
<DC:日期> 2017-01-07T16:37:00z </dc:date>
<dc:標識符>/演示文稿/微服務-kubernetes/en </dc:distienifier>
</item>
</channel>
</rss>
從URL顯示XML:
$ bin/pget.exe xml -show“ https://www.infoq.com/feed?token = wsvcfu3gcrvgxalkxalkxlihkq90pv5pnh1z”
<? xml版本=“ 1.0” encoding =“ utf-16”? >
<rss xmlns:rdf =“ http://www.w3.33.org/1999/02/22-rdf-syntax-ns#” xmlns:dc =“ http://purl.org.org/dc/dc/eelments/1.1/” XMLNS:taxo =“ http://purl.org/rss/1.0/modules/taxonomy/” xmlns:content =“ http://purl.org/rss/1.0/1.0/modules/modules/modules/content/content/
<頻道>
<Title> InfoQ </Title>
<鏈接> http://www.infoq.com </link>
<description> infoq feed </Description>
<項目>
<title>演示文稿:春季和大數據</title>
<鏈接> http://www.infoq.com/presentations/big-data-spring?utm_campaign=Infoq_content&amp;utm_source=Infoq&utm_medium = feed = feed
... ... ... ...
<Category>容器</category>
<Caterory> QCON San Francisco 2016 </caterory>
<Category>演示</category>
<PubDate>星期六,2017年1月7日16:37:00 GMT </pubdate>
<Guid> http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=Infoq_content&amp;
<DC:創造者> Matthew Mark Miller </dc:Creator>
<DC:日期> 2017-01-07T16:37:00z </dc:date>
<dc:標識符>/演示文稿/微服務-kubernetes/en </dc:distienifier>
</item>
</channel>
</rss>
$ pget.exe --show xmluri xmlfile例子
將XML從URL保存到文件:
$ bin/pget.exe xml -show https://www.infoq.com/feed?token=wsvcfu3gcrvgxalkxalkxlihkqquq90pv5pv5pnh1z infoq infoq infoq infoq infoq infoq infoq.rsss
$ bin/pget.exe xml -show infoq.rss
<? xml版本=“ 1.0” encoding =“ utf-16”? >
<rss xmlns:rdf =“ http://www.w3.33.org/1999/02/22-rdf-syntax-ns#” xmlns:dc =“ http://purl.org.org/dc/dc/eelments/1.1/” XMLNS:taxo =“ http://purl.org/rss/1.0/modules/taxonomy/” xmlns:content =“ http://purl.org/rss/1.0/1.0/modules/modules/modules/content/content/
<頻道>
<Title> InfoQ </Title>
<鏈接> http://www.infoq.com </link>
<description> infoq feed </Description>
<項目>
<title>演示文稿:春季和大數據</title>
<鏈接> http://www.infoq.com/presentations/big-data-spring?utm_campaign=Infoq_content&amp;utm_source=Infoq&utm_medium = feed = feed
<description>&lt; img src =“ http://www.infoq.com/resource/resource/presentations/big-data-spring/en/mediumimimage/tombig.jpg”/&gt;在雲中。 &lt;/p&gt; &lt; i&gt; by thomas risberg&lt;/i&gt; </description>
<Category> Java </category>
... ... ... ... ... ... ...
<description>&lt; img src =“ http://www.infoq.com/resource/resource/presentations/mesos-api/en/mediumimage/jiebig.jpg ”//&gt;&gt; p&gt; p&gt;他討論瞭如何在Mesos(Mesos的容器支持的未來)中管理容器,並顯示了最近添加的一些新的容器網絡和存儲功能。 &lt; i&gt;由Jie yu&lt;/i&gt; </Descript>
<Category>會議</category>
<Category>編排</category>
<Caterory> QCON </category>
<Category>雲計算</category>
<Category> DevOps </category>
<Category>基礎架構</category>
<Category> Mesos </category>
<Catpory> Architecture&amp;設計</category>
<Category>容器</category>
<Caterory> QCON San Francisco 2016 </caterory>
<Category>演示</category>
<pubdate>星期六,2017年1月7日,格林尼治標準時間18:22:00 </pubdate>
<Guid> http://www.infoq.com/presentations/mesos-api?utm_campaign=Infoq_content&amp;utm_source=Infoq&utm_medium = feed&utm_medium = feed&utm_term; utm_term;
<dc:創造者> ji yu </dc:creator>
<DC:日期> 2017-01-07T18:22:00z </dc:date>
<dc:標識符>/演示文稿/mesos-api/en </dc:dissinifier>
</item>
<項目>
<title>演示文稿:使用Kubernetes構建微服務平台</title>
<link> http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=Infoq_content&utm_source = infoq&utm_medium_medium_medium = feedm_medium = feed = efeedm_medium = feed&umtm_term = utm_term =; am_term_term = global = global </link>
<description>&lt; img src =“ http://www.infoq.com/resource/presentations/microservices-kubernetes/en/mediumimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage/mmedimimage一下”//部署,狀態服務和通過輔助行為添加行為。 /p&gt; &lt; i&gt; by Matthew Mark Miller&lt;/i&gt; </Descript>
<Category>會議</category>
<Category>部署</caterory>
<Caterory> QCON </category>
<Category>架構</category>
<Category>雲計算</category>
<Category> DevOps </category>
<Catpory> Architecture&amp;設計</category>
<Category>微服務</category>
<Caterory> Kubernetes </category>
<Category>容器</category>
<Caterory> QCON San Francisco 2016 </caterory>
<Category>演示</category>
<PubDate>星期六,2017年1月7日16:37:00 GMT </pubdate>
<Guid> http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=Infoq_content&amp;
<DC:創造者> Matthew Mark Miller </dc:Creator>
<DC:日期> 2017-01-07T16:37:00z </dc:date>
<dc:標識符>/演示文稿/微服務-kubernetes/en </dc:distienifier>
</item>
</channel>
</rss>
$ pget.exe --namespace [xmluri]或者
$ pget.exe --ns [xmluri]例子:
$ bin/pget.exe xml -namespace pget-exe.fsproj
前綴=
uri = http://schemas.microsoft.com/developer/msbuild/2003
$ bin/pget.exe xml -namespace infoq.rss
前綴=
uri =
前綴= DC
uri = http://purl.org/dc/elements/1.1/
$ bin/pget.exe xml -ns eurofxref -daily.xml
前綴= gesmes
uri = http://www.gesmes.org/xml/2002-08-01
前綴=
uri = http://www.ecb.int/vocabulary/2002-08-01/eurofxref
$ bin/pget.exe xml -show eurofxref-daily.xml
<? xml版本=“ 1.0” encoding =“ utf-16”? >
<gesmes:envelope xmlns:gesmes =“ http://www.gesmes.org/xml/2002-08-08-01” xmlns =“ http://www.ecb.int/vocabulary/2002-2002-08-08-011/eurofxreofxreffrff.
<gesmes:主題>參考率</gesmes:主題>
<gesmes:發送者>
<gesmes:名稱>歐洲中央銀行</gesmes:name>
</gesmes:發送者>
<Cube>
<cube time =“ 2017-01-09”>
<cube crurner =“ usd” rate =“ 1.0516” />
<cube crurner =“ jpy” rate =“ 122.66” />
<cube crurner =“ bgn” rate =“ 1.9558” />
<cube crurner =“ czk” rate =“ 27.021” />
<cube crurner =“ dkk” rate =“ 7.4339” />
<cube crurner =“ gbp” rate =“ 0.86660” />
<cube crurner =“ huf”速率=“ 308.21” />
<cube crurner =“ pln”速率=“ 4.3777” />
<cube crurner =“ ron” rate =“ 4.5016” />
<cube crurner =“ sek”速率=“ 9.5533” />
<cube crurner =“ chf”速率=“ 1.0721” />
<cube crurner =“ nok”速率=“ 9.0193” />
<cube crurner =“ hrk” rate =“ 7.5701” />
<cube crurner =“ rub”速率=“ 62.8383” />
<cube crurner =“ try” rate =“ 3.9210” />
<cube crurner =“ aud” rate =“ 1.4357” />
<cube crurner =“ brl” rate =“ 3.3780” />
<cube crurner =“ cad” rate =“ 1.3954” />
<cube crurner =“ cny”速率=“ 7.2958” />
<cube crurner =“ hkd” rate =“ 8.1562” />
<cube crurner =“ idr” rate =“ 14033.73” />
<cube crurner =“ ils”速率=“ 4.0480” />
<cube crurner =“ inr”速率=“ 71.6875” />
<cube crurner =“ krw”速率=“ 1266.33” />
<cube crurner =“ mxn” rate =“ 22.3940” />
<cube crurner =“ myr” rate =“ 4.7080” />
<cube crurner =“ nzd” rate =“ 1.5067” />
<cube crurner =“ php”速率=“ 52.188” />
<cube crurner =“ sgd” rate =“ 1.5135” />
<cube crurner =“ thb”速率=“ 37.574” />
<cube crurner =“ zar”速率=“ 14.4127” />
</cube>
</cube>
</gesmes:信封>
$ pget.exe xml --struct [xmluri]例子:
$ bin/pget.exe xml-結構infoq.rss
(0.0)通道
(1.0)標題
(2.0)#Text
(1.1)鏈接
(2.0)#Text
(1.2)描述
(2.0)#Text
(1.3)項目
(2.0)標題
(3.0)#Text
(2.1)鏈接
(3.0)#Text
(2.2)描述
(3.0)#Text
(2.3)類別
(3.0)#Text
(2.4)類別
(3.0)#Text
(2.5)類別
(3.0)#Text
(2.6)類別
(3.0)#Text
(2.7)類別
(3.0)#Text
(2.8)類別
(3.0)#Text
(2.9)類別
(3.0)#Text
(2.10)類別
(3.0)#Text
(2.11)類別
(3.0)#Text
(2.12)類別
(3.0)#Text
(2.13)類別
(3.0)#Text
(2.14)類別
(3.0)#Text
(2.15)類別
(3.0)#Text
(2.16)類別
(3.0)#Text
(2.17)類別
(3.0)#Text
(2.18)PubDate
(3.0)#Text
(2.19)GUID
(3.0)#Text
(2.20)DC:創造者
(3.0)#Text
(2.21)DC:日期
(3.0)#Text
(2.22)DC:標識符
(3.0)#Text
(1.4)項目
(2.0)標題
(3.0)#Text
(2.1)鏈接
(3.0)#Text
(2.2)描述
(3.0)#Text
(2.3)類別
(3.0)#Text
(2.4)類別
(3.0)#Text
(2.5)類別
(3.0)#Text
(2.6)類別
(3.0)#Text
(2.7)類別
(3.0)#Text
(2.8)類別
(3.0)#Text
(2.9)類別
(3.0)#Text
(2.10)類別
(3.0)#Text
(2.11)類別
(3.0)#Text
(2.12)類別
(3.0)#Text
(2.13)類別
(3.0)#Text
(2.14)類別
(3.0)#Text
(2.15)PubDate
(3.0)#Text
(2.16)GUID
(3.0)#Text
(2.17)DC:創建者
(3.0)#Text
(2.18)DC:日期
(3.0)#Text
(2.19)DC:標識符
(3.0)#Text
(1.5)項目
(2.0)標題
(3.0)#Text
(2.1)鏈接
(3.0)#Text
(2.2)描述
(3.0)#Text
(2.3)類別
(3.0)#Text
(2.4)類別
(3.0)#Text
(2.5)類別
(3.0)#Text
(2.6)類別
(3.0)#Text
(2.7)類別
(3.0)#Text
(2.8)類別
(3.0)#Text
(2.9)類別
(3.0)#Text
(2.10)類別
(3.0)#Text
(2.11)類別
(3.0)#Text
(2.12)類別
(3.0)#Text
(2.13)類別
(3.0)#Text
(2.14)類別
(3.0)#Text
(2.15)類別
(3.0)#Text
(2.16)PubDate
(3.0)#Text
(2.17)GUID
(3.0)#Text
(2.18)DC:創建者
(3.0)#Text
(2.19)DC:日期
(3.0)#Text
(2.20)DC:標識符
(3.0)#Text
(1.6)項目
(2.0)標題
(3.0)#Text
(2.1)鏈接
(3.0)#Text
(2.2)描述
(3.0)#Text
(2.3)類別
(3.0)#Text
(2.4)類別
(3.0)#Text
(2.5)類別
(3.0)#Text
(2.6)類別
(3.0)#Text
(2.7)類別
(3.0)#Text
(2.8)類別
(3.0)#Text
(2.9)類別
(3.0)#Text
(2.10)類別
(3.0)#Text
(2.11)類別
(3.0)#Text
(2.12)類別
(3.0)#Text
(2.13)類別
(3.0)#Text
(2.14)類別
(3.0)#Text
(2.15)類別
(3.0)#Text
(2.16)類別
(3.0)#Text
(2.17)PubDate
(3.0)#Text
(2.18)GUID
(3.0)#Text
(2.19)DC:創建者
(3.0)#Text
(2.20)DC:日期
(3.0)#Text
(2.21)DC:標識符
(3.0)#Text
... ... ... ... ...
(1.17)項目
(2.0)標題
(3.0)#Text
(2.1)鏈接
(3.0)#Text
(2.2)描述
(3.0)#Text
(2.3)類別
(3.0)#Text
(2.4)類別
(3.0)#Text
... ... ... ...
$ pget.exe xml --struct attr [xmlfile]例子:
$ bin/pget.exe xml-結構attr pget-exe.fsproj
(0.0)導入[項目;健康)狀況]
(0.1)PropertyGroup []
(1.0)配置[條件]
(2.0)#Text []
(1.1)平台[條件]
(2.0)#Text []
(1.2)架構[]
(2.0)#Text []
(1.3)ProjectGuid []
(2.0)#Text []
(1.4)outputType []
(2.0)#Text []
(1.5)rootnamespace []
(2.0)#Text []
(1.6)彙編名稱[]
(2.0)#Text []
(1.7)TargetFrameWorkvers []
(2.0)#Text []
(1.8)#Text []
(1.9)自動化界定檯面[]
(2.0)#Text []
(1.10)targetfsharpcoreversion []
(2.0)#Text []
(1.11)名稱[]
(2.0)#Text []
(0.2)PropertyGroup [條件]
(1.0)debugsymbols []
(2.0)#Text []
(1.1)debugtype []
(2.0)#Text []
(1.2)優化[]
(2.0)#Text []
(1.3)尾聲[]
(2.0)#Text []
(1.4)輸出路徑[]
(2.0)#Text []
(1.5)截然機器人[]
(2.0)#Text []
(1.6)警告級[]
(2.0)#Text []
(1.7)#comment []
(0.3)PropertyGroup [條件]
(1.0)debugtype []
(2.0)#Text []
(1.1)優化[]
(2.0)#Text []
(1.2)尾聲[]
(2.0)#Text []
(1.3)輸出路徑[]
(2.0)#Text []
(1.4)截然不同的晶體[]
(2.0)#Text []
(1.5)警告級[]
(2.0)#Text []
(1.6)DocumentationFile []
(2.0)#Text []
(1.7)其他flags []
(2.0)#Text []
(0.4)#comment []
(0.5)itemgroup []
(1.0)參考[include]
(1.1)參考[include]
(2.0)私人[]
(3.0)#Text []
(1.2)參考[include]
(1.3)參考[include]
(1.4)參考[include]
(1.5)參考[include]
(1.6)參考[include]
(1.7)參考[include]
(1.8)#comment []
(1.9)參考[include]
(2.0)Hintpath []
(3.0)#Text []
(1.10)參考[include]
(2.0)Hintpath []
(3.0)#Text []
(0.6)#comment []
(0.7)itemgroup []
(1.0)編譯[include]
(1.1)編譯[include]
(1.2)編譯[include]
(1.3)編譯[include]
(1.4)編譯[include]
(0.8)PropertyGroup []
(1.0)最小值vistulioversion [條件]
(2.0)#Text []
(0.9)選擇[]
(1.0)[條件]
(2.0)PropertyGroup []
(3.0)fsharptargetSpath []
(4.0)#Text []
(1.1)否則[]
(2.0)PropertyGroup [條件]
(3.0)fsharptargetSpath []
(4.0)#Text []
(0.10)進口[項目;健康)狀況]
(0.11)#comment []
$ pget.exe xml --struct ns [xmluri]例子:
$ bin/pget.exe xml-結構ns pget-exe.fsproj
(0.0)import/http://schemas.microsoft.com/developer/msbuild/2003
(0.1)PropertyGroup/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)configuration/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.1)平台/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.2)schemaversion/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.3)ProjectGuid/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.4)outputType/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.5)rootnamespace/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.6)andyblyName/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.7)targetFrameWorkversion/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.8)#text /
(1.9)autogenerateBindingRedirects/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.10)targetfsharpcoreversion/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.11)名稱/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(0.2)PropertyGroup/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)debugsymbols/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.1)debugtype/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.2)優化/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.3)tailcalls/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.4)outputpath/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.5)deconeconstants/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.6)警告級/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.7)#Comment /
(0.3)PropertyGroup/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)debugtype/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.1)優化/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.2)tailcalls/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.3)outputpath/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.4)decteconstants/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.5)警告級/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.6)documentationfile/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(1.7)其他flags/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(0.4)#cmment /
(0.5)itemgroup/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.1)參考/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)private/http://schemas.microsoft.com/developer/msbuild/2003
(3.0)#text /
(1.2)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.3)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.4)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.5)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.6)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.7)參考/http://schemas.microsoft.com/developer/msbuild/2003
(1.8)#comment /
(1.9)參考/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)hintpath/http://schemas.microsoft.com/developer/msbuild/2003
(3.0)#text /
(1.10)參考/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)hintpath/http://schemas.microsoft.com/developer/msbuild/2003
(3.0)#text /
(0.6)#Comment /
(0.7)itemgroup/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)compile/http://schemas.microsoft.com/developer/msbuild/2003
(1.1)compile/http://schemas.microsoft.com/developer/msbuild/2003
(1.2)compile/http://schemas.microsoft.com/developer/msbuild/2003
(1.3)compile/http://schemas.microsoft.com/developer/msbuild/2003
(1.4)compile/http://schemas.microsoft.com/developer/msbuild/2003
(0.8)PropertyGroup/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)MINIMIMVISUALSTUDIOVERSION/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)#text /
(0.9)選擇/http://schemas.microsoft.com/developer/msbuild/2003
(1.0)/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)PropertyGroup/http://schemas.microsoft.com/developer/msbuild/2003
(3.0)fsharptargetSpath/http://schemas.microsoft.com/developer/msbuild/2003
(4.0)#text /
(1.1)否則/http://schemas.microsoft.com/developer/msbuild/2003
(2.0)PropertyGroup/http://schemas.microsoft.com/developer/msbuild/2003
(3.0)fsharptargetSpath/http://schemas.microsoft.com/developer/msbuild/2003
(4.0)#text /
(0.10)import/http://schemas.microsoft.com/developer/msbuild/2003
(0.11)#comm /
$ xml --xtext [xpath] [xmluri]例子:
$ bin/pget.exe xml -xtext“ // item/title” infoq.rss
演示文稿:春季和大數據
演示:用於物聯網的數據科學驅動的應用程序
亞馬遜引入了圖像分析的重新認知
演示:建築彈性和進化數據微服務
文章:混亂工程
演講:任務瘋狂 - 現代需求處理
演示:雲中的數據微服務
演示文稿:gaptech的安全和動態應用程序配置,帶有彈簧雲,金庫和領事
演講:消費者驅動的合同和您的微服務體系結構
演示文稿:亞馬遜ECS:一個運行生產容器的平台
演示:彈性有效執行各種容器
演講:JavaScript的過去,現在和未來
多個DNS提供商來減輕DDOS攻擊
演示文稿:Mesos:最先進的容器編排
演講:使用Kubernetes建立微服務平台
$ bin/pget.exe xml -xtext“ // item/link” infoq.rss
http://www.infoq.com/presentations/big-data-spring?utm_campaign=Infoq_content&utm_source = infoq&utm_medium = feed&utm_term = lobal
http://www.infoq.com/presentations/iot-human-activities?utm_campaign=Infoq_content&utm_source = infoq&utm_medium = feed&utm_term = lobal = global
http://www.infoq.com/news/2017/01/aws-rekognition?utm_campaign=Infoq_content&utm_source = infoq&utm_medium = feed&utm_term = global
http://www.infoq.com/presentations/spring-schema-repository?utm_campaign = infoq_content&utm_source = infoq&utm_medium = feed&utm_term = term = global
http://www.infoq.com/articles/chaos-engineering?utm_campaign=infoq_content&utm_source = infoq&utm_medium = feed&utm_medm_term = global
http://www.infoq.com/presentations/spring-cloud-task?utm_campaign=infoq_content&utm_source = infoq&utm_medium = feed&utm_term = lobal
http://www.infoq.com/presentations/spring-cloud-dataflow?utm_campaign=infoq_content&utm_source = infoq&utm_medium = feed&utm_term = global
http://www.infoq.com/presentations/gaptech-spring-cloud?utm_campaign=infoq_content&utm_source = infoq&utm_medium = feed&utm_term = global = global
http://www.infoq.com/presentations/spring-cloud-contract-verier?utm_campaign = infoq_content&utm_source = infoq&utm_medium = feed&utm_term = global
http://www.infoq.com/presentations/amazon-ecs?utm_campaign=Infoq_content&utm_source=Infoq&utm_medium = feed&utm_medium = feed&utm_term = global
http://www.infoq.com/presentations/netflix-containers-2016?utm_campaign=Infoq_content&utm_source = infoq&utm_medium = feed&utm_medium = feed&utm_term = global
http://www.infoq.com/presentations/tc39-es2015?utm_campaign=Infoq_content&utm_source = infoq&utm_medium = feed&utm_term = global = global
http://www.infoq.com/news/2017/01/dns-providers-ddos-attacks?utm_campaign=Infoq_content&utm_source = Infoq&utm_medium = feed&utm_medium = feed&utm_term = global
http://www.infoq.com/presentations/mesos-api?utm_campaign=Infoq_content&utm_source=Infoq&utm_medium = feed&utm_medm_term = global
http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign = infoq_content&utm_source = infoq&utm_medium = feed&utm_term = global
$ pget.exe xml --xattr [xpath] [attribute] [xmluri]例子:
Arch@Arch-pc 14:22/run/media/arch/transfer/projects/pget.fsharp
$ bin/pget.exe xml -xattr“ // book [@id]” id xml/catalog.xml
BK101
BK102
BK103
BK104
BK105
BK106
BK107
BK108
BK109
BK110
BK111
BK112
$ bin/pget.exe xml -show xml/catalog.xml
<? xml版本=“ 1.0” encoding =“ utf-16”? >
<目錄>
<book id =“ bk101”>
<austry> Matthew的Gambardella </作者>
<title> XML開發人員指南</title>
<Genre>計算機</genre>
<price> 44.95 </Price>
<publish_date> 2000-10-01 </publish_date>
<description>深入探討創建應用程序
使用XML。 </Description>
</book>
<book id =“ bk102”>
<austry> ralls,kim </ruter>
<title>午夜雨</title>
<Genre>幻想</genre>
<price> 5.95 </price>
<Publish_Date> 2000-12-16 </prublish_date>
<description>前建築師與公司殭屍作戰,
一個邪惡的女巫,以及她自己的童年成為女王
世界的。 </description>
</book>
... ... ... ... ...
$ bin/pget.exe xml - xtext“ // book/wurs” xml/catalog.xml
馬修·甘巴德拉(Gambardella)
拉爾斯,金
鋼鐵,伊娃
鋼鐵,伊娃
鋼鐵,伊娃
蘭德爾,辛西婭
瑟曼,寶拉
克諾爾,斯特凡
Kress,彼得
奧布萊恩,蒂姆
奧布萊恩,蒂姆
加洛斯,邁克
$ pget.exe xml --xattr --nons [xpath] [attribute] [xmluri]例子:
$ bin/pget.exe xml-結構xml/urofxref-daily.xml
(0.0)GESMES:主題[]
(1.0)#text []
(0.1)GESMES:發件人[]
(1.0)GESMES:名稱[]
(2.0)#Text []
(0.2)立方體[]
(1.0)立方體[時間]
(2.0)立方體[貨幣;速度]
(2.1)立方體[貨幣;速度]
(2.2)立方體[貨幣;速度]
(2.3)立方體[貨幣;速度]
(2.4)立方體[貨幣;速度]
(2.5)立方體[貨幣;速度]
(2.6)立方體[貨幣;速度]
(2.7)立方體[貨幣;速度]
(2.8)立方體[貨幣;速度]
(2.9)立方體[貨幣;速度]
(2.10)立方體[貨幣;速度]
(2.11)立方體[貨幣;速度]
(2.12)立方體[貨幣;速度]
(2.13)立方體[貨幣;速度]
(2.14)立方體[貨幣;速度]
(2.15)立方體[貨幣;速度]
(2.16)立方體[貨幣;速度]
(2.17)立方體[貨幣;速度]
(2.18)立方體[貨幣;速度]
(2.19)立方體[貨幣;速度]
(2.20)立方體[貨幣;速度]
(2.21)立方體[貨幣;速度]
(2.22)立方體[貨幣;速度]
(2.23)立方體[貨幣;速度]
(2.24)立方體[貨幣;速度]
(2.25)立方體[貨幣;速度]
(2.26)立方體[貨幣;速度]
(2.27)立方體[貨幣;速度]
(2.28)立方體[貨幣;速度]
(2.29)立方體[貨幣;速度]
(2.30)立方體[貨幣;速度]
#它不起作用,因為XML名稱空間
#
$ bin/pget.exe xml -xattr“ // cube // cube [@currency]”貨幣xml/urofxref-daily.xml
$ bin/pget.exe xml -xattr -nons“ // cube // cube [@currency]”貨幣xml/eurofxref-daily.xml
美元
JPY
BGN
CZK
dkk
...
NZD
php
SGD
THB
Zar
$ bin/pget.exe xml -xattr -nons“ // cube // cube [@currency]”速率xml/eurofxref-daily.xml
1.0516
122.66
1.9558
27.021
7.4339
0.86660
308.21
4.3777
.. ... ... ... ... ... ...
4.7080
1.5067
52.188
1.5135
37.574
14.4127
$ pget.exe xml --xattr-all [xpath] [xmluri]或者
$ pget.exe xml --xattr-all --nons [xpath] [xmluri] - 忽略XML名稱空間。例子:
$ cat xml/eurofxref-daily.xml
< ? xml version= " 1.0 " encoding= " UTF-8 " ? >
< gesmes:Envelope xmlns:gesmes= " http://www.gesmes.org/xml/2002-08-01 " xmlns= " http://www.ecb.int/vocabulary/2002-08-01/eurofxref " >
< gesmes:subject > Reference rates < /gesmes:subject >
< gesmes:Sender >
< gesmes:name > European Central Bank < /gesmes:name >
< /gesmes:Sender >
< Cube >
< Cube time= " 2017-01-09 " >
< Cube currency= " USD " rate= " 1.0516 " / >
< Cube currency= " JPY " rate= " 122.66 " / >
< Cube currency= " BGN " rate= " 1.9558 " / >
< Cube currency= " CZK " rate= " 27.021 " / >
... ... ... ... ... ...
< Cube currency= " THB " rate= " 37.574 " / >
< Cube currency= " ZAR " rate= " 14.4127 " / >
< /Cube >
< /Cube >
< /gesmes:Envelope >
# It doesn't work beacause XML namespaces
#
$ bin/pget.exe xml --xattr-all " //Cube//Cube[@currency] " xml/eurofxref-daily.xml
# Now it works. Ignore XML namespace
$ bin/pget.exe xml --xattr-all --nons " //Cube//Cube[@currency] " xml/eurofxref-daily.xml
currency rate
USD 1.0516
JPY 122.66
BGN 1.9558
CZK 27.021
DKK 7.4339
GBP 0.86660
HUF 308.21
... ... ...
THB 37.574
ZAR 14.4127
# Extract directly from URL
#
# ------------------------------------------
$ bin/pget.exe xml --xattr-all --nons " //Cube//Cube[@currency] " https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
currency rate
USD 1.0592
JPY 120.55
BGN 1.9558
CZK 27.021
DKK 7.4337
GBP 0.86300
HUF 309.55
PLN 4.3091
RON 4.5290
SEK 9.5335
CHF 1.0694
NOK 8.9673
HRK 7.4090
RUB 61.5602
TRY 3.9328
AUD 1.3937
BRL 3.2896
CAD 1.4183
CNY 7.3050
HKD 8.2235
IDR 14138.32
ILS 3.8950
INR 70.5955
KRW 1222.76
MXN 20.6859
MYR 4.7113
NZD 1.5079
PHP 53.251
SGD 1.4936
THB 37.104
ZAR 13.7644
$ pget.exe --system視窗:
e:/projects/pget.fsharp $ bin/pget.exe-系統
系統信息
系統版V4.0.30319
系統目錄C: Windows System32
運行時目錄C: Windows Microsoft.net Framework64 V4.0.30319
系統配置文件C: Windows Microsoft.net Framework64 V4.0.30319 config Machine.config
OS版本Microsoft Windows NT 6.2.9200.0
機器名稱桌面fdd38cu
64位操作系統真實
處理器的數量4
特殊目錄
system.environment.specialfolder.commonapplicationdata
C: programData
system.environment.specialfolder.applicationdata
C: Users Arch AppData 漫遊
system.environment.specialfolder.localapplicationdata
C: Users Arch AppData Local
Linux:
$ bin/pget.exe-系統
系統信息
系統版V4.0.30319
系統目錄
運行時目錄/usr/lib/mono/4.5
系統配置文件/etc/mono/4.5/machine.config
OS版本UNIX 4.8.17.1
機器名稱Arch-PC
64位操作系統真實
處理器的數量4
特殊目錄
system.environment.specialfolder.commonapplicationdata
/usr/share
system.environment.specialfolder.applicationdata
/home/arch/.config
System.Environment.SpecialFolder.LocalApplicationData
/home/arch/.local/share
$ pget.exe --guid例子:
$ bin/pget.exe --guid
c4969f50-7a17-4f8f-ac9d-d783a9a8f8d4$ pget.exe --docIt opens pget web site.
Pget.dll is a F# library that provides a high level interface and functional wrappers to NuGet.Core API.