PGET.EXE เป็นกล่องเครื่องมือบรรทัดคำสั่ง. NET ที่ได้รับแรงบันดาลใจจาก GIT และ BusyBox ที่เปิดเผย. NET API ผ่านคำสั่งที่ใช้งานง่ายและ API ระดับสูง มันมีคำสั่งในการติดตั้งสอบถามและเปิดเผยแพ็คเกจ NUGET สำรวจ. NUGET PACAKGE ที่เก็บถาวรสำรวจไฟล์. NET ASSEMBLIES หรือใน GAC - ไฟล์แอสเซมบลีทั่วโลกสร้างไลบรารีหรือเอกสารประกอบด้วยความคิดเห็น XML และชุดคิวรีใน GAC นอกจากนั้นยังมีเครื่องมือสำหรับสร้าง GUID และ Query XML
วัตถุประสงค์:
ทำไมต้อง pget?
PGET ถูกสร้างขึ้นเนื่องจากเครื่องมือบรรทัดคำสั่งที่มีอยู่ไม่มีฟังก์ชั่นทั้งหมดที่ได้รับจาก Visual Studio และ Package Manager คอนโซลเช่นแพ็คเกจการแสดงผลข้อมูลเมตาแพ็คเกจค้นหาในพื้นที่เก็บข้อมูลของ NUGET แพ็คเกจแสดงข้อมูลเมตาของแพ็คเกจการแสดงผลจากที่เก็บข้อมูลท้องถิ่นหรือที่เก็บโครงการ PGET ยังมีคุณสมบัติที่ซับซ้อนในการสำรวจและเรียกดูชุดประกอบ. NET และ XML
คุณสมบัติ
ที่เก็บ:
การเผยแพร่แบบไบนารีถูกเผยแพร่ไปยัง Build-Branch Build
ดาวน์โหลดด้วยตนเอง
ดาวน์โหลดอัตโนมัติ
~ /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 อยู่ในตัวแปร $ path มันสร้างแอพพลิเคชั่น standlone pget.exe ด้วยการพึ่งพาทั้งหมดที่เชื่อมโยงคงที่และ fsharp.core (f# รันไทม์) เชื่อมโยงคงที่
$ 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 - แพ็คเกจ Get - อินเตอร์เฟสบรรทัดคำสั่งขั้นสูงถึง nuget.core
pget.exe repo แสดงความช่วยเหลือสำหรับคำสั่ง repo
pget.exe nuget show ช่วยสำหรับคำสั่งที่เกี่ยวข้องกับ NUGET
pget.exe asm แสดงความช่วยเหลือสำหรับคำสั่งที่เกี่ยวข้องกับแอสเซมบลี
pget.exe nupkg แสดงความช่วยเหลือสำหรับคำสั่งที่เกี่ยวข้องกับแพ็คเกจของ NUGET
pget.exe XML แสดงความช่วยเหลือสำหรับคำสั่ง XML ที่เกี่ยวข้อง
-เวอร์ชัน | -v เวอร์ชันแสดง
-Help | -H แสดงความช่วยเหลือ
-DOC OPEN Documentation
รายการที่เก็บข้อมูล
repo -รายการรายการแพ็คเกจทั้งหมดในที่เก็บปัจจุบัน./แพคเกจ
repo [path] -รายการรายการแพ็คเกจทั้งหมดใน [เส้นทาง] ที่เก็บ
แสดงที่เก็บข้อมูล
repo -แสดงแพ็คเกจทั้งหมดในปัจจุบัน/พื้นที่เก็บข้อมูลแพคเกจ
repo [PATH] -แสดงแพ็คเกจทั้งหมดในที่เก็บ [PATH]
แสดงข้อมูลเมตาแพ็คเกจ
repo -แสดง [แพ็ค] แสดงแพ็คเกจ [แพ็ค] ในไดเรกทอรี./แพคเกจ
repo [path] -แสดง [แพ็ค] แสดงแพ็คเกจ [แพ็ค] ในไดเรกทอรี [repo]
แสดงไฟล์แพ็คเกจ
repo -ไฟล์ [แพ็ค] แสดงไฟล์เนื้อหาของแพ็คเกจ [แพ็ค] ใน ./packages
repo [พา ธ ] -ไฟล์ [แพ็ค] แสดงไฟล์เนื้อหาของแพ็คเกจ [แพ็ค] ใน [repo]
ติดตั้งแพ็คเกจไปยังที่เก็บข้อมูล
repo -การติดตั้ง [แพ็ค] ติดตั้งแพ็คเกจรุ่นล่าสุด [แพ็ค] เป็น ./packages
repo -การติดตั้ง [แพ็ค] [ver] ติดตั้งเวอร์ชัน [ver] ของแพ็คเกจ [แพ็ค]
repo [พา ธ ] -ติดตั้ง [แพ็ค] ติดตั้งแพ็คเกจรุ่นล่าสุด [แพ็ค] ไปยังที่เก็บ [พา ธ ] เช่น: ~/nuget
repo [พา ธ ] -ติดตั้ง [แพ็ค] [ver] ติดตั้งเวอร์ชัน [ver] ของแพ็คเกจ [แพ็ค] ไปยังที่เก็บ [พา ธ ]
ติดตั้งรายการแพ็คเกจที่ส่งเป็นอาร์กิวเมนต์
repo-Install-list fparsec nuget.core-2.0.0 ติดตั้งแพ็คเกจเหล่านั้นเป็น./packages
repo /tmp /repo-Install-list fparsec nuget.core-2.0.0 ติดตั้งแพ็คเกจเหล่านั้นเป็น /tmp /repository
ติดตั้งรายการแพ็คเกจที่ระบุไว้ในไฟล์
repo-ติดตั้งติดตั้งแพ็คเกจทั้งหมดที่แสดงอยู่ในไฟล์./packages.list ถึงไดเรกทอรี./packages
repo-install-from-file [ไฟล์] ติดตั้งแพ็คเกจทั้งหมดที่แสดงในไฟล์./packages.list ถึง./packages ไดเรกทอรี
repo [พา ธ ]-การติดตั้งจากไฟล์ [ไฟล์] ติดตั้งแพ็คเกจทั้งหมดที่แสดงในไฟล์ [ไฟล์] ถึง [พา ธ ]
URL Package Project Project หรือ URL ใบอนุญาต
repo -url [pack] url project project ของแพ็คเกจ [แพ็ค] ใน ./packages
repo -ใบอนุญาต [แพ็ค] URL ใบอนุญาตของแพ็คเกจ [แพ็ค] ใน ./packages
repo [path] -url [pack] เรียกดู URL โครงการของแพ็คเกจ [แพ็ค] ใน [PATH]
repo [PATH] -ใบอนุญาต [แพ็ค] URL ใบอนุญาตของแพ็คเกจ [แพ็ค] ใน [PATH]
แสดงการอ้างอิงสำหรับ F# *.FSX สคริปต์: [FRM]: .NET Framework Net40 | Net45
repo -ref [frm] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากปัจจุบัน/แพคเกจ
repo -ref -แพ็ค [แพ็ค] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากแพ็คเกจ [แพ็ค] ที่ ./packages
repo [path] -ref [frm] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากไดเรกทอรี [repo] ปัจจุบัน
repo [path] -ref [frm] [pack] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากแพ็คเกจที่ไดเรกทอรี [repo]
คำสั่ง nuget:
NUGET -การค้นหา [แพ็คเกจ] ค้นหาแพ็คเกจตามชื่อ
NUGET -Show [แพ็คเกจ] แสดงข้อมูลแพ็คเกจ (ข้อมูลเมตา)
NUGET -เปิดเว็บไซต์ NUGET แบบเปิด -https://www.nuget.org
ไฟล์ nupkg:
nupkg -แสดง [ไฟล์] แสดงข้อมูลเมตาของไฟล์ *.nupkg
nupkg -ไฟล์ [ไฟล์] แสดงไฟล์ใน nupkg [ไฟล์]
ไฟล์ประกอบ: *.exe หรือ *.dll
ASM --info [ไฟล์] แสดงแอสเซมบลีทั้งหมดจากแอสเซมบลี [ไฟล์] หรือ GAC
ASM -REFS [ไฟล์] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากแอสเซมบลี [ไฟล์] หรือ GAC
ASM -แหล่งข้อมูล [ไฟล์] แสดงทรัพยากรจากไฟล์แอสเซมบลี
ASM-InMespace | -NS [ไฟล์] แสดงเนมสเปซที่ส่งออกทั้งหมด
ASM-InMespace | -NS [ไฟล์] [NSPACE] แสดงทุกประเภทภายในเนมสเปซที่ส่งออกจากแอสเซมบลี [ไฟล์]
ASM -TYPE [ไฟล์] แสดงทุกประเภทที่ส่งออกโดยแอสเซมบลี [ไฟล์] หรือแอสเซมบลีใน GAC
ASM -TYPE [ไฟล์] [ประเภท] แสดงข้อมูลเกี่ยวกับ [ประเภท] ที่ส่งออกโดยแอสเซมบลี [ไฟล์] หรือ GAC
ASM-type-info [type] พยายามค้นหาประเภทและแสดงข้อมูล
ASM-Search-method [ไฟล์] [type] [วิธีการ] ค้นหาและแสดงวิธีการทั้งหมดของประเภท [type] ซึ่งมี [method]
ASM -อินเทอร์เฟซ [ไฟล์] แสดงอินเทอร์เฟซทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM -ABSTRACT [ไฟล์] แสดงคลาสนามธรรมทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM -คลาส [ไฟล์] แสดงคลาสทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM-Classn [ไฟล์] แสดงคลาสที่ไม่ใช่ทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
asm -docgen [ไฟล์] พิมพ์เอกสารทุกประเภทบนหน้าจอ
ASM-Docgen [ไฟล์] [เอาต์พุตไฟล์] ส่งออกเอกสารทั้งหมดไปยังไฟล์โหมด org-mode
คำสั่ง Query XML
XML-Show [Xmluri] แสดงเอาต์พุต XML ที่อ่านได้จากมนุษย์จาก URI หรือไฟล์
XML-Show [XMLURI] [ไฟล์] ส่งออก [XMLURI] (ไฟล์หรือ URL) ไปยังไฟล์ XML ที่อ่านได้มนุษย์
XML -โครงสร้าง [xmluri] แสดงโครงสร้าง xml -แท็กลำดับชั้น
XML -Struct [Xmluri] Attt แสดงลำดับชั้นโครงสร้าง XML TAGS ลำดับชั้นที่มีชื่อแอตทริบิวต์
XML -โครงสร้าง [xmluri] ns แสดงลำดับชั้นโครงสร้าง xml แท็กลำดับชั้นด้วยเนมสเปซ
XML -NS แสดง namespaces XML ทั้งหมด
XML -Innamespace แสดง namespaces XML ทั้งหมด
xml --xvalue [xpath] [xmluri] การสืบค้นโหนด XML โดยใช้ XPath และแสดงค่าของมัน
xml --xtext [xpath] [xmluri] การสอบถามโหนด XML โดยใช้ XPath และแสดงข้อความ
xml --xtext -nons [xpath] [xmluri] การสืบค้นโหนด xml โดยใช้ xpath และแสดงข้อความโดยไม่สนใจเนมสเปซ
xml --xattr [xpath] [attr] [xmluri] การสืบค้นโหนด XML โดยใช้ XPath และแสดงค่าของแอตทริบิวต์โหนด
xml --xattr -nons [xpath] [attr] [xmluri] คล้ายกับคำสั่งด้านบน แต่ไม่สนใจเนมสเปซ
FSPROJ - ผู้ช่วยสำหรับไฟล์ FSPROJ
fsproj -ref [frm] สร้างรวมแท็กอ้างอิงจากแพ็คเกจทั้งหมดใน./packages
เปิดเอกสารออนไลน์ pget: https://caiorss.github.io/pget
-ดอล
แสดงข้อมูลระบบ
--ระบบ
สร้าง GUID - ตัวระบุที่ไม่ซ้ำกันทั่วโลก
-แนะนำ
-
คำสั่งตัวย่อ:
-Install -i
-การติดตั้งจากไฟล์ -if
-Install-List -il
-Help -H
-Version -v
-vver -v
-รายการ -l
-ค้นหา -s
-แสดง -sh
pget - แพ็คเกจรับ - เวอร์ชัน 2.5.0.0
2016 ซอฟต์แวร์โดเมนสาธารณะ
ที่เก็บ - https://github.com/caiorss/pget
$ pget.exe repoตัวอย่าง:
$ bin/pget.exe repo
รายการที่เก็บข้อมูล
repo -รายการรายการแพ็คเกจทั้งหมดในที่เก็บปัจจุบัน./แพคเกจ
repo [path] -รายการรายการแพ็คเกจทั้งหมดใน [เส้นทาง] ที่เก็บ
แสดงที่เก็บข้อมูล
repo -แสดงแพ็คเกจทั้งหมดในปัจจุบัน/พื้นที่เก็บข้อมูลแพคเกจ
repo [PATH] -แสดงแพ็คเกจทั้งหมดในที่เก็บ [PATH]
แสดงข้อมูลเมตาแพ็คเกจ
repo -แสดง [แพ็ค] แสดงแพ็คเกจ [แพ็ค] ในไดเรกทอรี./แพคเกจ
repo [path] -แสดง [แพ็ค] แสดงแพ็คเกจ [แพ็ค] ในไดเรกทอรี [repo]
แสดงไฟล์แพ็คเกจ
repo -ไฟล์ [แพ็ค] แสดงไฟล์เนื้อหาของแพ็คเกจ [แพ็ค] ใน ./packages
repo [พา ธ ] -ไฟล์ [แพ็ค] แสดงไฟล์เนื้อหาของแพ็คเกจ [แพ็ค] ใน [repo]
ติดตั้งแพ็คเกจไปยังที่เก็บข้อมูล
repo -การติดตั้ง [แพ็ค] ติดตั้งแพ็คเกจรุ่นล่าสุด [แพ็ค] เป็น ./packages
repo -การติดตั้ง [แพ็ค] [ver] ติดตั้งเวอร์ชัน [ver] ของแพ็คเกจ [แพ็ค]
repo [พา ธ ] -ติดตั้ง [แพ็ค] ติดตั้งแพ็คเกจรุ่นล่าสุด [แพ็ค] ไปยังที่เก็บ [พา ธ ] เช่น: ~/nuget
repo [พา ธ ] -ติดตั้ง [แพ็ค] [ver] ติดตั้งเวอร์ชัน [ver] ของแพ็คเกจ [แพ็ค] ไปยังที่เก็บ [พา ธ ]
ติดตั้งรายการแพ็คเกจที่ส่งเป็นอาร์กิวเมนต์
repo-Install-list fparsec nuget.core-2.0.0 ติดตั้งแพ็คเกจเหล่านั้นเป็น./packages
repo /tmp /repo-Install-list fparsec nuget.core-2.0.0 ติดตั้งแพ็คเกจเหล่านั้นเป็น /tmp /repository
ติดตั้งรายการแพ็คเกจที่ระบุไว้ในไฟล์
repo-ติดตั้งติดตั้งแพ็คเกจทั้งหมดที่แสดงอยู่ในไฟล์./packages.list ถึงไดเรกทอรี./packages
repo-install-from-file [ไฟล์] ติดตั้งแพ็คเกจทั้งหมดที่แสดงในไฟล์./packages.list ถึง./packages ไดเรกทอรี
repo [พา ธ ]-การติดตั้งจากไฟล์ [ไฟล์] ติดตั้งแพ็คเกจทั้งหมดที่แสดงในไฟล์ [ไฟล์] ถึง [พา ธ ]
URL Package Project Project หรือ URL ใบอนุญาต
repo -url [pack] url project project ของแพ็คเกจ [แพ็ค] ใน ./packages
repo -ใบอนุญาต [แพ็ค] URL ใบอนุญาตของแพ็คเกจ [แพ็ค] ใน ./packages
repo [path] -url [pack] เรียกดู URL โครงการของแพ็คเกจ [แพ็ค] ใน [PATH]
repo [PATH] -ใบอนุญาต [แพ็ค] URL ใบอนุญาตของแพ็คเกจ [แพ็ค] ใน [PATH]
แสดงการอ้างอิงสำหรับ F# *.FSX สคริปต์: [FRM]: .NET Framework Net40 | Net45
repo -ref [frm] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากปัจจุบัน/แพคเกจ
repo -ref -แพ็ค [แพ็ค] แสดงการอ้างอิงแอสเซมบลีทั้งหมดจากแพ็คเกจ [แพ็ค] ที่ ./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 Framework มันสามารถ:
ตัวอย่าง:
$ 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 -ifตัวอย่างของแพ็คเกจไฟล์ หากเวอร์ชันไม่ได้อยู่ในรายการจะติดตั้งแพ็คเกจเวอร์ชันล่าสุดเป็น./แพคเกจ
ไฟล์: 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 -Show [แพ็คเกจ] แสดงข้อมูลแพ็คเกจ (ข้อมูลเมตา)
NUGET -เปิดเว็บไซต์ NUGET แบบเปิด -https://www.nuget.org
$ pget.exe nuget --search [keyword] หรือ - $ pget.exe nuget -s [keywork]ตัวอย่าง:
$ 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 -แสดง [ไฟล์] แสดงข้อมูลเมตาของไฟล์ *.nupkg
nupkg -ไฟล์ [ไฟล์] แสดงไฟล์ใน nupkg [ไฟล์]
แสดงข้อมูลเมตาแพ็คเกจ 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 -แหล่งข้อมูล [ไฟล์] แสดงทรัพยากรจากไฟล์แอสเซมบลี
ASM-InMespace | -NS [ไฟล์] แสดงเนมสเปซที่ส่งออกทั้งหมด
ASM-InMespace | -NS [ไฟล์] [NSPACE] แสดงทุกประเภทภายในเนมสเปซที่ส่งออกจากแอสเซมบลี [ไฟล์]
ASM -TYPE [ไฟล์] แสดงทุกประเภทที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM -TYPE [ไฟล์] [ประเภท] แสดงข้อมูลเกี่ยวกับ [ประเภท] ที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM -อินเทอร์เฟซ [ไฟล์] แสดงอินเทอร์เฟซทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM -ABSTRACT [ไฟล์] แสดงคลาสนามธรรมทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM -คลาส [ไฟล์] แสดงคลาสทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
ASM-Classn [ไฟล์] แสดงคลาสที่ไม่ใช่ทั้งหมดที่ส่งออกโดยแอสเซมบลี [ไฟล์]
asm -docgen [ไฟล์] พิมพ์เอกสารทุกประเภทบนหน้าจอ
ASM-Docgen [ไฟล์] [เอาต์พุตไฟล์] ส่งออกเอกสารทั้งหมดไปยังไฟล์โหมด org-mode
$ 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]ตัวอย่าง: แสดงข้อมูลเกี่ยวกับ type nuget.zippackage ส่งออกโดย nuget.core.dll
$ bin/pget.exe repo -ไฟล์ nuget.core
แพ็คเกจ/nuget.core.2.12.0/lib/net40-client/nuget.core.dll
$ bin/pget.exe asm-แพ็คเกจประเภท/nuget.core.2.12.0/lib/net40-client/nuget.core.dll nuget.zippackage
**** พิมพ์ข้อมูล
- ชื่อ: zippackage
- ชื่อเต็ม: nuget.zippackage
- เนมสเปซ: นูเกต
- โมดูล: nuget.core.dll
- ประเภทฐาน: nuget.localpackage
*Predicates*
- คลาส: จริง
- คลาสนามธรรม: เท็จ
- เท็จดั้งเดิม
- อาร์เรย์: เท็จ
- อินเทอร์เฟซเท็จ
- enum false
- สาธารณะจริง
- มองเห็นได้จริง
**** ฟิลด์
**** คุณสมบัติ
- System.String ID
- Nuget.SemanticVersion เวอร์ชัน
- System.String ชื่อ
- System.collections.generic.ienumerable`1 [System.String] ผู้เขียน
- System.collections.generic.ienumerable`1 [System.String] เจ้าของ
- System.uri Iconurl
- System.uri Licenseurl
- System.uri Projecturl
- System.uri Reportabuseurl
- int32 downloadcount
- Boolean ต้องการการรับรู้
- การพัฒนาแบบบูลีน
- System.String คำอธิบาย
- System.String สรุป
- System.String releasenotes
- System.string Language
- System.String Tags
- System.version Minlientversion
- บูลีน isabsolutelatestversion
- บูลีน iSlatestversion
- รายการบูลีน
- System.nullable`1 [System.DatetimeOffset] เผยแพร่
- System.String ลิขสิทธิ์
- System.collections.generic.ienumerable`1 [nuget.packagedependencyset] การพึ่งพา
- System.collections.generic.ienumerable`1 [nuget.frameworkassemblyReference] frameworkassemblies
- System.collections.generic.ienumerable`1 [nuget.ipackageAssemblyReference] แอสเซมบลีเอฟเฟอเรนซ์
- System.collections.generic.icollection`1 [nuget.packageReferenceset] PackageAsSemblyReferences
**** ตัวสร้าง
เป็นโมฆะ .ctor (สตริง)
เป็นโมฆะ .ctor (func`1, func`1)
เป็นโมฆะ .ctor (สตรีม)
**** วิธีการ
- System.io.stream GetStream ()
- Void ExtractContents (NUGET.IFILESYSTEM, System.String)
- System.String getPackageIdentifier (System.io.packaging.package)
- System.collections.generic.ienumerable`1 [System.runtime.versioning.frameworkName] GetSupportedFrameworks ()
- System.collections.generic.ienumerable`1 [nuget.ipackageFile] getFiles ()
- System.string ToString ()
- บูลีนเท่ากับ (System.Object)
- int32 gethashcode ()
- System.Type GetType ()
ตัวอย่าง: แสดงข้อมูลประเภทเกี่ยวกับประเภท eto.forms.form ที่กำหนดไว้ใน Eto.dll
หมายเหตุ: บทสรุปเกี่ยวกับวิธีการฟิลด์และคุณสมบัติมาจากไฟล์ eto.xml
$ bin/pget.exe asm -แพ็คเกจประเภท/eto.forms.2.3.0/lib/net45/eto.dll eto.forms.form
**** พิมพ์ข้อมูล
- ชื่อ: แบบฟอร์ม
- ชื่อเต็ม: eto.forms.form
- เนมสเปซ: Eto.Forms
- โมดูล: Eto.dll
- ประเภทพื้นฐาน: eto.forms.window
*Predicates*
- คลาส: จริง
- คลาสนามธรรม: เท็จ
- เท็จดั้งเดิม
- อาร์เรย์: เท็จ
- อินเทอร์เฟซเท็จ
- enum false
- สาธารณะจริง
- มองเห็นได้จริง
**** ฟิลด์
**** คุณสมบัติ
- บูลีน showactivated
รับหรือตั้งค่าค่าที่ระบุว่าควรเปิดใช้งานแบบฟอร์มเมื่อแสดงในขั้นต้น
- System.String ชื่อ
รับหรือตั้งชื่อชื่อของหน้าต่าง
- eto.drawing.point ตำแหน่ง
รับหรือตั้งค่าตำแหน่งของหน้าต่าง
- Eto.Drawing.rectangle Bounds
รับหรือตั้งค่าขนาดและตำแหน่งของหน้าต่าง
- แถบเครื่องมือ eto.forms.toolbar
รับหรือตั้งค่าแถบเครื่องมือสำหรับหน้าต่าง
- ความทึบสองครั้ง
รับหรือตั้งค่าความทึบของหน้าต่าง
- eto.forms.window เจ้าของ
รับหรือตั้งค่าเจ้าของหน้าต่างนี้
- หน้าจอ eto.forms.screen
รับหน้าจอหน้าต่างนี้ส่วนใหญ่อยู่ในนั้นโดยทั่วไปจะกำหนดโดยศูนย์กลางหน้าจอของหน้าต่างสามารถมองเห็นได้
- เมนู Eto.Forms.Menubar
รับหรือตั้งค่าแถบเมนูสำหรับหน้าต่างนี้
- eto.drawing.icon ไอคอน
รับหรือตั้งค่าไอคอนสำหรับหน้าต่างเพื่อแสดงในแถบเมนู
- บูลีนปรับขนาดได้
รับหรือตั้งค่าที่ระบุว่าสิ่งนี้สามารถปรับขนาดได้หรือไม่
- บูลีนสูงสุด
รับหรือตั้งค่าค่าที่ระบุว่าสามารถขยายได้สูงสุด
- บูลีนน้อยที่สุด
รับหรือตั้งค่าค่าที่ระบุว่าสามารถลดสิ่งนี้ได้หรือไม่
- บูลีน Showintaskbar
รับหรือตั้งค่าที่ระบุว่าสิ่งนี้จะแสดงในแถบงานหรือไม่
- บูลีนสูงสุดสูงสุด
รับหรือตั้งค่าค่าที่ระบุว่านี่คือเหนือหน้าต่างอื่น ๆ ทั้งหมดหรือไม่
- Eto.Forms.WindowState WindowState
รับหรือตั้งค่าสถานะของหน้าต่าง
- eto.drawing.rectangle retorebounds
รับขอบเขตของหน้าต่างก่อนที่จะถูกย่อให้เล็กสุดหรือสูงสุดหรือขอบเขตปัจจุบันหากเป็นปกติ
- eto.forms.windowstyle windowstyle
รับหรือตั้งค่าสไตล์ของหน้าต่างนี้
- logicalpixelsize เดี่ยว
รับจำนวนพิกเซลต่อพิกเซลแบบลอจิคัลเมื่ออยู่บนจอแสดงผล DPI สูง
- System.collections.generic.ienumerable`1 [eto.forms.Control] การควบคุม
ได้รับการแจงนับของการควบคุมที่บรรจุโดยตรงโดยคอนเทนเนอร์นี้
- eto.drawing.padding padding
ได้รับหรือตั้งค่าช่องว่างภายในของแผง
- Eto.Drawing.Size MinimumSize
รับหรือตั้งค่าขนาดต่ำสุดของแผง
- eto.forms.contextmenu contextmenu
รับหรือตั้งค่าเมนูบริบทสำหรับแผงควบคุม
- Eto.Forms.Control เนื้อหา
รับหรือตั้งค่าเนื้อหาหลักของแผงควบคุม
- eto.drawing.Size ลูกค้า
รับหรือตั้งค่าขนาดสำหรับพื้นที่ไคลเอนต์ของการควบคุม
- System.collections.generic.ienumerable`1 [eto.forms.Control] VisualControls
ได้รับการแจงนับของการควบคุมที่อยู่ในทรีภาพ
- System.collections.generic.ienumerable`1 [eto.forms.Control] เด็ก ๆ
ได้รับการแจงนับของการควบคุมเด็กที่มีอยู่ทั้งหมดรวมถึงการควบคุมภายในภาชนะบรรจุเด็ก
- System.collections.generic.ienumerable`1 [eto.forms.Control] Visualchildren
ได้รับการแจงนับของการควบคุมเด็กที่มีอยู่ทั้งหมดในต้นไม้ภาพรวมถึงการควบคุมภายในภาชนะบรรจุเด็ก
- โหลดบูลีน
รับค่าที่ระบุว่าตัวควบคุมถูกโหลดลงในแบบฟอร์มนั่นคือมันถูกสร้างขึ้นเพิ่มลงในพาเรนต์และแสดง
- System.Object Tag
รับหรือตั้งค่าวัตถุที่ผู้ใช้กำหนดซึ่งมีข้อมูลเกี่ยวกับการควบคุม
- Eto.Drawing.size ขนาด
รับหรือตั้งค่าขนาดของการควบคุม ใช้ -1 เพื่อระบุการปรับขนาดอัตโนมัติสำหรับความกว้างและ/หรือความสูง
- ความกว้าง int32
รับหรือตั้งค่าความกว้างของขนาดการควบคุม
- ความสูง int32
รับหรือตั้งค่าความสูงของขนาดควบคุม
- เปิดใช้งานบูลีน
รับหรือตั้งค่าค่าที่ระบุว่าสิ่งนี้ถูกเปิดใช้งานและยอมรับการป้อนข้อมูลของผู้ใช้
- บูลีนมองเห็นได้
รับหรือตั้งค่าค่าที่ระบุว่าสิ่งนี้สามารถมองเห็นได้สำหรับผู้ใช้
- Eto.Forms.Container Parent
รับคอนเทนเนอร์ที่มีการเพิ่มการควบคุมนี้หากมี
- eto.forms.container Parenfarent
รับคอนเทนเนอร์ภาพของการควบคุมนี้ถ้ามี
- Eto.Drawing.Color BackgroundColor
รับหรือตั้งค่าสีสำหรับพื้นหลังของการควบคุม
- บูลีน hasfocus
รับค่าที่ระบุว่าอินสแตนซ์นี้มีโฟกัสอินพุตแป้นพิมพ์หรือไม่
- Boolean issuspended
รับค่าที่ระบุว่าเค้าโครงของการควบคุมเด็กถูกระงับหรือไม่
- eto.forms.window ParentWindow
รับหน้าต่างการควบคุมนี้มีอยู่ใน
- System.collections.generic.ienumerable`1 [System.String] SupportedPlatFormCommands
รับคำสั่งแพลตฟอร์มที่รองรับซึ่งสามารถใช้ในการเชื่อมต่อฟังก์ชั่นระบบไปยังตรรกะที่ผู้ใช้กำหนด
- Eto.Forms.Cursor Cursor
รับหรือตั้งค่าประเภทของเคอร์เซอร์ที่จะใช้เมื่อเมาส์โฉบเหนือการควบคุม
- System.String Tooltip
รับหรือตั้งค่าเคล็ดลับเครื่องมือที่จะแสดงเมื่อเมาส์ลอยอยู่เหนือการควบคุม
- Eto.Widget Parent
รับวิดเจ็ตหลักซึ่งมีการเพิ่มวิดเจ็ตนี้ลงไปหากมี
- System.collections.generic.ienumerable`1 [eto.widget] ผู้ปกครอง
ได้รับการแจงนับของวิดเจ็ตผู้ปกครองทั้งหมดในทายาทโดยการสำรวจสถานที่ให้บริการ
- System.Object DataContext
รับหรือตั้งค่าบริบทข้อมูลสำหรับวิดเจ็ตนี้สำหรับการผูกมัด
- eto.forms.bindingcollection การผูกมัด
รับคอลเลกชันของการผูกที่ติดอยู่กับวิดเจ็ตนี้
- แพลตฟอร์ม eto.platform
รับแพลตฟอร์มที่ใช้ในการสร้างวิดเจ็ตนี้
- System.Object Handler
รับตัวจัดการเฉพาะแพลตฟอร์มสำหรับวิดเจ็ตนี้
- intptr nativehandle
รับการจัดการเฉพาะแพลตฟอร์มดั้งเดิมเพื่อวัตถุประสงค์ในการรวม
- คุณสมบัติ eto.propertystore
รับพจนานุกรมคุณสมบัติสำหรับวิดเจ็ตนี้
- System.String ID
รับหรือตั้งค่ารหัสของวิดเจ็ตนี้
- System.String Style
รับหรือตั้งค่าสไตล์ของวิดเจ็ตนี้
- System.Object ControlObject
รับอินสแตนซ์ของวัตถุเฉพาะแพลตฟอร์ม
**** ตัวสร้าง
เป็นโมฆะ .ctor ()
เป็นโมฆะ .ctor (ihandler)
**** วิธีการ
- Void Show ()
แสดงแบบฟอร์ม
- เป็นโมฆะปิด ()
ปิดหน้าต่าง
- เป็นโมฆะย่อเล็กสุด ()
ตั้งค่า
- เป็นโมฆะสูงสุด ()
ตั้งค่า
- เป็นโมฆะ BringTofront ()
นำหน้าต่างด้านหน้าของหน้าต่างอื่น ๆ ทั้งหมดในการสั่งซื้อ z
- โมฆะ sendtoback ()
ส่งหน้าต่างด้านหลังหน้าต่างอื่น ๆ ทั้งหมดใน z-order
- โมฆะลบ (eto.forms.control)
ลบเด็กที่ระบุออกจากคอนเทนเนอร์
- เป็นโมฆะ unbind ()
ยกเลิกการผูกมัดใด ๆ ในคอลเลกชันและลบการผูกและกลับไปที่ลูกของคอนเทนเนอร์นี้
- เป็นโมฆะ updateBindings (eto.forms.bindingupdateMode)
อัปเดตการผูกทั้งหมดในวิดเจ็ตนี้และกลับมาเป็นลูกของคอนเทนเนอร์นี้
- โมฆะลบ (system.collections.generic.ienumerable`1 [eto.forms.control])
ลบที่ระบุออกจากคอนเทนเนอร์นี้
- เป็นโมฆะ removeAll ()
ลบการควบคุมทั้งหมดจากคอนเทนเนอร์นี้
- T FindChild [t] (System.String)
ค้นหาการควบคุมเด็กในคอนเทนเนอร์นี้หรือภาชนะบรรจุเด็กใด ๆ ที่ระบุไว้
- Eto.Forms.Control FindChild (System.type, System.String)
ค้นหาการควบคุมเด็กในคอนเทนเนอร์นี้หรือภาชนะบรรจุเด็กใด ๆ ที่ระบุไว้
- Eto.Forms.Control FindChild (System.String)
ค้นหาการควบคุมเด็กในคอนเทนเนอร์นี้หรือภาชนะบรรจุเด็กใด ๆ ที่ระบุไว้
- โมฆะไม่เป็นโมฆะ ()
คิวการทาสีใหม่ของการควบคุมทั้งหมดบนหน้าจอ
- โมฆะไม่เป็นโมฆะ (Eto.Drawing.Rectangle)
คิวการทาสีใหม่ของการควบคุมทั้งหมดบนหน้าจอ
- eto.forms.container findparent (system.type, system.string)
ค้นหาการควบคุมในลำดับชั้นของผู้ปกครองด้วยประเภทที่ระบุและหากระบุ
- eto.forms.container findparent (System.String)
ค้นหาการควบคุมในลำดับชั้นของผู้ปกครองด้วยประเภทที่ระบุและหากระบุ
- โมฆะแยกออก ()
แยกการควบคุมโดยลบออกจากผู้ปกครอง
- เป็นโมฆะ Attachnative ()
แนบการควบคุมการใช้งานโดยตรงในแอปพลิเคชันดั้งเดิม
- โมฆะโฟกัส ()
พยายามตั้งค่าอินพุตแป้นพิมพ์โฟกัสไปยังตัวควบคุมนี้หรือเด็กคนแรกที่ยอมรับโฟกัส
- เป็นโมฆะ suspendlayout ()
ระงับเค้าโครงของการควบคุมเด็ก
- โมฆะ resumelayout ()
ดำเนินการต่อเค้าโครงหลังจากที่ถูกระงับและดำเนินการเลย์เอาต์
- โมฆะ MapplatformCommand (System.String, Eto.Forms.Command)
ระบุคำสั่งเพื่อดำเนินการสำหรับคำสั่งเฉพาะแพลตฟอร์ม
- eto.drawing.pointf pointfromscreen (eto.drawing.pointf)
แปลงจุดจากพื้นที่หน้าจอเป็นพื้นที่ควบคุม
- eto.drawing.pointf pointtoscreen (eto.drawing.pointf)
แปลงจุดจากพื้นที่ควบคุมเป็นพื้นที่หน้าจอ
- eto.drawing.rectanglef rectangletoscreen (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
System.String Public.String [] readAllines (System.String Path)
ระบบคงที่ระบบสาธารณะ [] readAllines (System.String Path, System.Text.encoding การเข้ารหัส)
ระบบคงที่สาธารณะ Void Writealllines (System.String Path, System.String [] เนื้อหา)
ระบบคงที่สาธารณะ Void Writealllines (System.String Path, System.String [] สารบัญ, System.Text.encoding การเข้ารหัส)
ระบบคงที่สาธารณะ collections.generic.ienumerable`1 [System.String] ReadLines (System.String Path)
ระบบคงที่สาธารณะ. collections.generic.ienumerable`1 [System.String] ReadLines (System.String Path, System.Text.encoding การเข้ารหัส)
ระบบคงที่สาธารณะ Void Appendalllines (System.String Path, System.collections.generic.ienumerable`1 [System.String] เนื้อหา)
System Static Public.void Appendalllines (System.String Path, System.collections.generic.ienumerable`1 [System.String] เนื้อหา, System.Text.encoding การเข้ารหัส)
ระบบคงที่สาธารณะ Void Writealllines (System.String Path, System.collections.generic.ienumerable`1 [System.String] เนื้อหา)
ระบบคงที่สาธารณะ Void Writealllines (System.String Path, System.collections.generic.ienumerable`1 [System.String] เนื้อหา, System.Text.encoding การเข้ารหัส)
$ bin/pget.exe asm-search-method mscordsflib system.io.file line
ข้อผิดพลาด: ฉันไม่พบไฟล์: mscordsflib
$ bin/pget.exe asm-search-method/etc/fstab system.io.file line
ข้อผิดพลาด: ไฟล์ /etc /fstab ไม่ใช่. NET Assembl
$ pget.exe --class [asmFile]ตัวอย่าง:
$ bin/pget.exe repo -ไฟล์ oxyplot.core | grep ".dll"
แพ็คเกจ/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
แพ็คเกจ/oxyplot.core.1.0.0/lib/net40-client/oxyplot.dll
แพ็คเกจ/oxyplot.core.1.0.0/lib/net40/oxyplot.dll
แพ็คเกจ/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.TouchTrackerManipulator
oxyplot.oxysizeextensions
-
oxyplot.axes.angleaxis
oxyplot.axes.axis
oxyplot.axes.axischangedeventargs
oxyplot.axes.categoryaxis
oxyplot.axes.categorycoloraxis
oxyplot.axes.coloraxisextensions
oxyplot.axes.linearcoloraxis
oxyplot.axes.datetimeaxis
oxyplot.axes.linearaxis
oxyplot.axes.magnitudeaxis
-
oxyplot.annotations.annotation
oxyplot.annotations.arrowannotation
oxyplot.annotations.ellipseannotation
oxyplot.annotations.functionannotation
oxyplot.annotations.imageannotation
oxyplot.annotations.Pathannotation
oxyplot.annotations.polylineannotation
oxyplot.conrec+rendererdelegate
Oxyplot.Reporting.TableOfContents+ContentItem
$ pget.exe --classn [asmFile]ตัวอย่าง:
$ bin/pget.exe ASM -แพ็คเกจ/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.CodeGenerator
oxyplot.oxypalette
oxyplot.decimator
oxyplot.cohensutherlandclipping
oxyplot.oxypen
oxyplot.xkcdrenderingdecorator
oxyplot.oxykeygesture
oxyplot.oxymousedowngesture
oxyplot.oxousewheelgesture
-
oxyplot.annotations.ellipseannotation
oxyplot.annotations.functionannotation
oxyplot.annotations.imageannotation
oxyplot.annotations.polylineannotation
oxyplot.conrec+rendererdelegate
Oxyplot.Reporting.TableOfContents+ContentItem
$ pget.exe --abstract [asmFile]ตัวอย่าง:
$ bin/pget.exe asm -ABSTRACT แพ็คเกจ/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.iplotelement Oxyplot.iplotmodel oxyplot.oxysizeextensions oxyplot.oxyinputeVentArgs - oxyplot.hashcodebuilder oxyplot.xmlwriterbase Oxyplot.BinaryReaderExtensions oxyplot.streamextensions oxyplot.stringhelper oxyplot.fractionhelper - oxyplot.axes.icoloraxis oxyplot.axes.coloraxisextensions oxyplot.axes.axisrendererbase oxyplot.annotations.shapeannotation oxyplot.annotations.textualannotation oxyplot.annotations.annotation oxyplot.annotations.Pathannotation
$ pget.exe --interface [asmFile]ตัวอย่าง:
$ bin/pget.exe asm -แพ็คเกจอินเทอร์เฟซ/oxyplot.core.1.0.0/lib/net45/oxyplot.dll Oxyplot.icontroller oxyplot.iviewcommand oxyplot.iviewCommand`1 [t] oxyplot.iview Oxyplot.iplotcontroller Oxyplot.iplotelement Oxyplot.iplotmodel oxyplot.icodegenerating oxyplot.idatapointprovider oxyplot.irendercontext Oxyplot.iexporter oxyplot.iimagedecoder oxyplot.iimageencoder oxyplot.iplotview oxyplot.series.iscatterpointprovider 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.Resolvers
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.Resolvers
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]Example: Query assembly file.
$ 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.Resolvers
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
Type Info:
Name: XmlNode
Full Name: System.Xml.XmlNode
Namespace: System.Xml
Module: System.Xml.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.String Name
System.String Value
System.Xml.XmlNodeType NodeType
System.Xml.XmlNode ParentNode
-
Constructors
-
วิธีการ
-
System.Xml.XPath.XPathNavigator CreateNavigator()
System.Xml.XmlNode SelectSingleNode(System.String)
System.Xml.XmlNode SelectSingleNode(System.String, System.Xml.XmlNamespaceManager)
-
Example: Query assembly in 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
This command generates documentation in org-mode markdown format with all types methods, constructors, fields, properties categorized by Namespace and also includes the XML comments.
$ pget.exe asm --docgen [asmfile] [output-file]ตัวอย่าง:
Find the package files.
$ 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
Generating documentation:
$ bin/pget.exe asm --docgen packages/Eto.Forms.2.3.0/lib/net45/Eto.dll Eto-doc.org
Browser documentation:
$ emacs -Q Eto-doc.org
Screenshots:
<img src=”file:images/42cf8c02-f803-4713-a7d1-0e557de60891.png ” alt=”file:images/42cf8c02-f803-4713-a7d1-0e557de60891.png ” />
<img src=”file:images/84aba9e2-5e75-4903-80af-eb293ab698f4.png ” alt=”file:images/84aba9e2-5e75-4903-80af-eb293ab698f4.png ” />
<img src=”file:images/e6701dd4-4ec6-4e26-a930-9b80299369b4.png ” alt=”file:images/e6701dd4-4ec6-4e26-a930-9b80299369b4.png ” />
<img src=”file:images/cce9388f-a5da-4cac-b9c7-b379c52b5494.png ” alt=”file:images/cce9388f-a5da-4cac-b9c7-b379c52b5494.png ” />
<img src=”file:images/ccf94d57-77cb-480a-a036-52855ff5c582.png ” alt=”file:images/ccf94d57-77cb-480a-a036-52855ff5c582.png ” />
Generate include tags for all packages in project repository (./packages)
$ pget.exe fsproj --ref [framework]Where framework can be
$ 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]It searches all assemblies (*.dll files) in a given Path which contains at least a F# module.
$ 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.StaticMapping
FParsec.InternalsModule
$ mono obj/Debug/Pget.exe fsh --modules /home/arch/nuget/FSharp.Charting.Gtk.0.90.14/lib/net40/FSharp.Charting.Gtk.dll
FSharp.Charting._ChartStyleExtensions
FSharp.Charting.ChartTypes
$ mono obj/Debug/Pget.exe fsh --modules /home/arch/nuget/FSharp.Charting.Gtk.0.90.14/lib/net40/FSharp.Charting.Gtk.dll
FSharp.Charting._ChartStyleExtensions
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.dll
System.AssemblyVersionInformation
FSharp.Charting._ChartStyleExtensions
FSharp.Charting.ChartTypes
FSharp.Charting.KeyConversions
FSharp.Charting.NotifySeq
FSharp.Charting.Seq
$ pget.exe xml $ bin/pget.exe xml
XML query commands.
xml --show [xmluri] Show formatted xml human-readable output from uri or file.
xml --show [xmluri] [file] Export [xmluri] (file or url) to a xml human-readable file.
xml --struct [xmluri] Show xml structure - tags hierarchy
xml --struct [xmluri] attr Show xml structure tags hierarchy with attributes names.
xml --struct [xmluri] ns Show xml structure tags hierarchy with namespaces
xml -ns Show all XML namespaces
xml --namespace Show all XML namespaces
xml --xvalue [xpath] [xmluri] Query xml nodes using xpath and show its values.
xml --xtext [xpath] [xmluri] Query xml nodes using xpath and show its texts.
xml --xtext --nons [xpath] [xmluri] Query xml nodes using xpath and show its texts ignoring namespaces.
xml --xattr [xpath] [attr] [xmluri] Query xml nodes using xpath and show the values of a node attribute.
xml --xattr --nons [xpath] [attr] [xmluri] Similar to command above but ignore namespaces.
$ pget.exe xml --show [xmluri]ตัวอย่าง:
Display XML from file:
$ bin/pget.exe xml --show infoq.rss
<?xml version="1.0" encoding="utf-16"?>
<rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<title>InfoQ</title>
<link>http://www.infoq.com</link>
<description>InfoQ feed</description>
<item>
<title>Presentation: Spring and Big Data</title>
<link>http://www.infoq.com/presentations/big-data-spring?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</link>
<description><img src="http://www.infoq.com/resource/presentations/big-data-spring/en/mediumimage/tombig.JPG"/><p>Thomas Risberg discusses developing big data pipelines with Spring, focusing around the code needed and he also covers how to set up a test environment both locally and in the cloud.</p> <i>By Thomas Risberg</i></description>
<category>Java</category>
<category>Spring</category>
<category>Languages</category>
-
<dc:creator>Jie Yu</dc:creator>
<dc:date>2017-01-07T18:22:00Z</dc:date>
<dc:identifier>/presentations/mesos-api/en</dc:identifier>
</item>
<item>
<title>Presentation: Building a Microservices Platform with Kubernetes</title>
<link>http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</link>
<description><img src="http://www.infoq.com/resource/presentations/microservices-kubernetes/en/mediumimage/Matbig.JPG"/><p>Matthew Mark Miller discusses Kubernetes' primitives and microservices patterns on top of them, including rolling deployments, stateful services and adding behaviors via sidecars.</p> <i>By Matthew Mark Miller</i></description>
<category>Conferences</category>
<category>Deployment</category>
<category>QCon</category>
<category>Architecture</category>
<category>Cloud Computing</category>
<category>DevOps</category>
<category>Architecture & Design</category>
<category>Microservices</category>
<category>Kubernetes</category>
<category>Containers</category>
<category>QCon San Francisco 2016</category>
<category>presentation</category>
<pubDate>Sat, 07 Jan 2017 16:37:00 GMT</pubDate>
<guid>http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</guid>
<dc:creator>Matthew Mark Miller</dc:creator>
<dc:date>2017-01-07T16:37:00Z</dc:date>
<dc:identifier>/presentations/microservices-kubernetes/en</dc:identifier>
</item>
</channel>
</rss>
Display XML from URL:
$ bin/pget.exe xml --show "https://www.infoq.com/feed?token=WSVCFU3gCRvgXaLKxLiHKq90pV5PnH1z"
<?xml version="1.0" encoding="utf-16"?>
<rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<title>InfoQ</title>
<link>http://www.infoq.com</link>
<description>InfoQ feed</description>
<item>
<title>Presentation: Spring and Big Data</title>
<link>http://www.infoq.com/presentations/big-data-spring?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</link>
-
<category>Containers</category>
<category>QCon San Francisco 2016</category>
<category>presentation</category>
<pubDate>Sat, 07 Jan 2017 16:37:00 GMT</pubDate>
<guid>http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</guid>
<dc:creator>Matthew Mark Miller</dc:creator>
<dc:date>2017-01-07T16:37:00Z</dc:date>
<dc:identifier>/presentations/microservices-kubernetes/en</dc:identifier>
</item>
</channel>
</rss>
$ pget.exe --show xmluri xmlfileExamples
Save xml from url to a file:
$ bin/pget.exe xml --show https://www.infoq.com/feed?token=WSVCFU3gCRvgXaLKxLiHKq90pV5PnH1z infoq.rss
$ bin/pget.exe xml --show infoq.rss
<?xml version="1.0" encoding="utf-16"?>
<rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<title>InfoQ</title>
<link>http://www.infoq.com</link>
<description>InfoQ feed</description>
<item>
<title>Presentation: Spring and Big Data</title>
<link>http://www.infoq.com/presentations/big-data-spring?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</link>
<description><img src="http://www.infoq.com/resource/presentations/big-data-spring/en/mediumimage/tombig.JPG"/><p>Thomas Risberg discusses developing big data pipelines with Spring, focusing around the code needed and he also covers how to set up a test environment both locally and in the cloud.</p> <i>By Thomas Risberg</i></description>
<category>Java</category>
-
<description><img src="http://www.infoq.com/resource/presentations/mesos-api/en/mediumimage/Jiebig.JPG"/><p>Jie Yu gives an overview of Mesos and its API which allows users to deploy stateless and stateful services. He discusses how containers are managed in Mesos, the future of container support in Mesos, and shows some of the new container networking and storage features that have been added recently.</p> <i>By Jie Yu</i></description>
<category>Conferences</category>
<category>Orchestration</category>
<category>QCon</category>
<category>Cloud Computing</category>
<category>DevOps</category>
<category>Infrastructure</category>
<category>Mesos</category>
<category>Architecture & Design</category>
<category>Containers</category>
<category>QCon San Francisco 2016</category>
<category>presentation</category>
<pubDate>Sat, 07 Jan 2017 18:22:00 GMT</pubDate>
<guid>http://www.infoq.com/presentations/mesos-api?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</guid>
<dc:creator>Jie Yu</dc:creator>
<dc:date>2017-01-07T18:22:00Z</dc:date>
<dc:identifier>/presentations/mesos-api/en</dc:identifier>
</item>
<item>
<title>Presentation: Building a Microservices Platform with Kubernetes</title>
<link>http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</link>
<description><img src="http://www.infoq.com/resource/presentations/microservices-kubernetes/en/mediumimage/Matbig.JPG"/><p>Matthew Mark Miller discusses Kubernetes' primitives and microservices patterns on top of them, including rolling deployments, stateful services and adding behaviors via sidecars.</p> <i>By Matthew Mark Miller</i></description>
<category>Conferences</category>
<category>Deployment</category>
<category>QCon</category>
<category>Architecture</category>
<category>Cloud Computing</category>
<category>DevOps</category>
<category>Architecture & Design</category>
<category>Microservices</category>
<category>Kubernetes</category>
<category>Containers</category>
<category>QCon San Francisco 2016</category>
<category>presentation</category>
<pubDate>Sat, 07 Jan 2017 16:37:00 GMT</pubDate>
<guid>http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global</guid>
<dc:creator>Matthew Mark Miller</dc:creator>
<dc:date>2017-01-07T16:37:00Z</dc:date>
<dc:identifier>/presentations/microservices-kubernetes/en</dc:identifier>
</item>
</channel>
</rss>
$ pget.exe --namespace [xmluri]หรือ
$ pget.exe --ns [xmluri]ตัวอย่าง:
$ bin/pget.exe xml --namespace pget-exe.fsproj
Prefix =
Uri = http://schemas.microsoft.com/developer/msbuild/2003
$ bin/pget.exe xml --namespace infoq.rss
Prefix =
Uri =
Prefix = dc
Uri = http://purl.org/dc/elements/1.1/
$ bin/pget.exe xml -ns eurofxref-daily.xml
Prefix = gesmes
Uri = http://www.gesmes.org/xml/2002-08-01
Prefix =
Uri = http://www.ecb.int/vocabulary/2002-08-01/eurofxref
$ bin/pget.exe xml --show eurofxref-daily.xml
<?xml version="1.0" encoding="utf-16"?>
<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="DKK" rate="7.4339" />
<Cube currency="GBP" rate="0.86660" />
<Cube currency="HUF" rate="308.21" />
<Cube currency="PLN" rate="4.3777" />
<Cube currency="RON" rate="4.5016" />
<Cube currency="SEK" rate="9.5533" />
<Cube currency="CHF" rate="1.0721" />
<Cube currency="NOK" rate="9.0193" />
<Cube currency="HRK" rate="7.5701" />
<Cube currency="RUB" rate="62.8383" />
<Cube currency="TRY" rate="3.9210" />
<Cube currency="AUD" rate="1.4357" />
<Cube currency="BRL" rate="3.3780" />
<Cube currency="CAD" rate="1.3954" />
<Cube currency="CNY" rate="7.2958" />
<Cube currency="HKD" rate="8.1562" />
<Cube currency="IDR" rate="14033.73" />
<Cube currency="ILS" rate="4.0480" />
<Cube currency="INR" rate="71.6875" />
<Cube currency="KRW" rate="1266.33" />
<Cube currency="MXN" rate="22.3940" />
<Cube currency="MYR" rate="4.7080" />
<Cube currency="NZD" rate="1.5067" />
<Cube currency="PHP" rate="52.188" />
<Cube currency="SGD" rate="1.5135" />
<Cube currency="THB" rate="37.574" />
<Cube currency="ZAR" rate="14.4127" />
</Cube>
</Cube>
</gesmes:Envelope>
$ pget.exe xml --struct [xmluri]ตัวอย่าง:
$ bin/pget.exe xml --struct infoq.rss
(0.0) channel
(1.0) title
(2.0) #text
(1.1) link
(2.0) #text
(1.2) description
(2.0) #text
(1.3) item
(2.0) title
(3.0) #text
(2.1) link
(3.0) #text
(2.2) description
(3.0) #text
(2.3) category
(3.0) #text
(2.4) category
(3.0) #text
(2.5) category
(3.0) #text
(2.6) category
(3.0) #text
(2.7) category
(3.0) #text
(2.8) category
(3.0) #text
(2.9) category
(3.0) #text
(2.10) category
(3.0) #text
(2.11) category
(3.0) #text
(2.12) category
(3.0) #text
(2.13) category
(3.0) #text
(2.14) category
(3.0) #text
(2.15) category
(3.0) #text
(2.16) category
(3.0) #text
(2.17) category
(3.0) #text
(2.18) pubDate
(3.0) #text
(2.19) guid
(3.0) #text
(2.20) dc:creator
(3.0) #text
(2.21) dc:date
(3.0) #text
(2.22) dc:identifier
(3.0) #text
(1.4) item
(2.0) title
(3.0) #text
(2.1) link
(3.0) #text
(2.2) description
(3.0) #text
(2.3) category
(3.0) #text
(2.4) category
(3.0) #text
(2.5) category
(3.0) #text
(2.6) category
(3.0) #text
(2.7) category
(3.0) #text
(2.8) category
(3.0) #text
(2.9) category
(3.0) #text
(2.10) category
(3.0) #text
(2.11) category
(3.0) #text
(2.12) category
(3.0) #text
(2.13) category
(3.0) #text
(2.14) category
(3.0) #text
(2.15) pubDate
(3.0) #text
(2.16) guid
(3.0) #text
(2.17) dc:creator
(3.0) #text
(2.18) dc:date
(3.0) #text
(2.19) dc:identifier
(3.0) #text
(1.5) item
(2.0) title
(3.0) #text
(2.1) link
(3.0) #text
(2.2) description
(3.0) #text
(2.3) category
(3.0) #text
(2.4) category
(3.0) #text
(2.5) category
(3.0) #text
(2.6) category
(3.0) #text
(2.7) category
(3.0) #text
(2.8) category
(3.0) #text
(2.9) category
(3.0) #text
(2.10) category
(3.0) #text
(2.11) category
(3.0) #text
(2.12) category
(3.0) #text
(2.13) category
(3.0) #text
(2.14) category
(3.0) #text
(2.15) category
(3.0) #text
(2.16) pubDate
(3.0) #text
(2.17) guid
(3.0) #text
(2.18) dc:creator
(3.0) #text
(2.19) dc:date
(3.0) #text
(2.20) dc:identifier
(3.0) #text
(1.6) item
(2.0) title
(3.0) #text
(2.1) link
(3.0) #text
(2.2) description
(3.0) #text
(2.3) category
(3.0) #text
(2.4) category
(3.0) #text
(2.5) category
(3.0) #text
(2.6) category
(3.0) #text
(2.7) category
(3.0) #text
(2.8) category
(3.0) #text
(2.9) category
(3.0) #text
(2.10) category
(3.0) #text
(2.11) category
(3.0) #text
(2.12) category
(3.0) #text
(2.13) category
(3.0) #text
(2.14) category
(3.0) #text
(2.15) category
(3.0) #text
(2.16) category
(3.0) #text
(2.17) pubDate
(3.0) #text
(2.18) guid
(3.0) #text
(2.19) dc:creator
(3.0) #text
(2.20) dc:date
(3.0) #text
(2.21) dc:identifier
(3.0) #text
-
(1.17) item
(2.0) title
(3.0) #text
(2.1) link
(3.0) #text
(2.2) description
(3.0) #text
(2.3) category
(3.0) #text
(2.4) category
(3.0) #text
-
$ pget.exe xml --struct attr [xmlfile]ตัวอย่าง:
$ bin/pget.exe xml --struct attr pget-exe.fsproj
(0.0) Import [Project; เงื่อนไข]
(0.1) PropertyGroup []
(1.0) Configuration [Condition]
(2.0) #text []
(1.1) Platform [Condition]
(2.0) #text []
(1.2) SchemaVersion []
(2.0) #text []
(1.3) ProjectGuid []
(2.0) #text []
(1.4) OutputType []
(2.0) #text []
(1.5) RootNamespace []
(2.0) #text []
(1.6) AssemblyName []
(2.0) #text []
(1.7) TargetFrameworkVersion []
(2.0) #text []
(1.8) #text []
(1.9) AutoGenerateBindingRedirects []
(2.0) #text []
(1.10) TargetFSharpCoreVersion []
(2.0) #text []
(1.11) Name []
(2.0) #text []
(0.2) PropertyGroup [Condition]
(1.0) DebugSymbols []
(2.0) #text []
(1.1) DebugType []
(2.0) #text []
(1.2) Optimize []
(2.0) #text []
(1.3) Tailcalls []
(2.0) #text []
(1.4) OutputPath []
(2.0) #text []
(1.5) DefineConstants []
(2.0) #text []
(1.6) WarningLevel []
(2.0) #text []
(1.7) #comment []
(0.3) PropertyGroup [Condition]
(1.0) DebugType []
(2.0) #text []
(1.1) Optimize []
(2.0) #text []
(1.2) Tailcalls []
(2.0) #text []
(1.3) OutputPath []
(2.0) #text []
(1.4) DefineConstants []
(2.0) #text []
(1.5) WarningLevel []
(2.0) #text []
(1.6) DocumentationFile []
(2.0) #text []
(1.7) OtherFlags []
(2.0) #text []
(0.4) #comment []
(0.5) ItemGroup []
(1.0) Reference [Include]
(1.1) Reference [Include]
(2.0) Private []
(3.0) #text []
(1.2) Reference [Include]
(1.3) Reference [Include]
(1.4) Reference [Include]
(1.5) Reference [Include]
(1.6) Reference [Include]
(1.7) Reference [Include]
(1.8) #comment []
(1.9) Reference [Include]
(2.0) HintPath []
(3.0) #text []
(1.10) Reference [Include]
(2.0) HintPath []
(3.0) #text []
(0.6) #comment []
(0.7) ItemGroup []
(1.0) Compile [Include]
(1.1) Compile [Include]
(1.2) Compile [Include]
(1.3) Compile [Include]
(1.4) Compile [Include]
(0.8) PropertyGroup []
(1.0) MinimumVisualStudioVersion [Condition]
(2.0) #text []
(0.9) Choose []
(1.0) When [Condition]
(2.0) PropertyGroup []
(3.0) FSharpTargetsPath []
(4.0) #text []
(1.1) Otherwise []
(2.0) PropertyGroup [Condition]
(3.0) FSharpTargetsPath []
(4.0) #text []
(0.10) Import [Project; เงื่อนไข]
(0.11) #comment []
$ pget.exe xml --struct ns [xmluri]ตัวอย่าง:
$ bin/pget.exe xml --struct 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) Platform / 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) AssemblyName / 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) Name / 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) Optimize / 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) DefineConstants / http://schemas.microsoft.com/developer/msbuild/2003
(2.0) #text /
(1.6) WarningLevel / 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) Optimize / 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) DefineConstants / http://schemas.microsoft.com/developer/msbuild/2003
(2.0) #text /
(1.5) WarningLevel / 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) OtherFlags / http://schemas.microsoft.com/developer/msbuild/2003
(2.0) #text /
(0.4) #comment /
(0.5) ItemGroup / http://schemas.microsoft.com/developer/msbuild/2003
(1.0) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.1) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(2.0) Private / http://schemas.microsoft.com/developer/msbuild/2003
(3.0) #text /
(1.2) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.3) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.4) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.5) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.6) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.7) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(1.8) #comment /
(1.9) Reference / http://schemas.microsoft.com/developer/msbuild/2003
(2.0) HintPath / http://schemas.microsoft.com/developer/msbuild/2003
(3.0) #text /
(1.10) Reference / 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) MinimumVisualStudioVersion / http://schemas.microsoft.com/developer/msbuild/2003
(2.0) #text /
(0.9) Choose / http://schemas.microsoft.com/developer/msbuild/2003
(1.0) When / 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) Otherwise / 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) #comment /
$ xml --xtext [xpath] [xmluri]ตัวอย่าง:
$ bin/pget.exe xml --xtext "//item/title" infoq.rss
Presentation: Spring and Big Data
Presentation: Data Science-powered Apps for the Internet of Things
Amazon Introduces Rekognition for Image Analysis
Presentation: Building Resilient and Evolutionary Data Microservices
Article: Chaos Engineering
Presentation: Task Madness - Modern on Demand Processing
Presentation: Data Microservices in the Cloud
Presentation: Secure & Dynamic App Config at GapTech with Spring Cloud, Vault and Consul
Presentation: Consumer Driven Contracts and Your Microservice Architecture
Presentation: Amazon ECS: a Platform to Run Production Containers
Presentation: Elastic Efficient Execution of Varied Containers
Presentation: The Past, Present, and Future of JavaScript
Multiple DNS Providers to Mitigate DDoS Attacks
Presentation: Mesos: A State-of-the-art Container Orchestrator
Presentation: Building a Microservices Platform with 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=global
http://www.infoq.com/presentations/iot-human-activities?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=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=global
http://www.infoq.com/articles/chaos-engineering?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
http://www.infoq.com/presentations/spring-cloud-task?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
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
http://www.infoq.com/presentations/spring-cloud-contract-verifier?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_term=global
http://www.infoq.com/presentations/netflix-containers-2016?utm_campaign=infoq_content&utm_source=infoq&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
http://www.infoq.com/news/2017/01/dns-providers-ddos-attacks?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
http://www.infoq.com/presentations/mesos-api?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_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 version="1.0" encoding="utf-16"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications
with XML.</description>
</book>
<book id="bk102">
<author>Ralls, Kim</author>
<title>Midnight Rain</title>
<genre>Fantasy</genre>
<price>5.95</price>
<publish_date>2000-12-16</publish_date>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.</description>
</book>
-
$ bin/pget.exe xml --xtext "//book/author" xml/catalog.xml
Gambardella, Matthew
Ralls, Kim
Corets, Eva
Corets, Eva
Corets, Eva
Randall, Cynthia
Thurman, Paula
Knorr, Stefan
Kress, Peter
O'Brien, Tim
O'Brien, Tim
Galos, Mike
$ pget.exe xml --xattr --nons [xpath] [attribute] [xmluri]ตัวอย่าง:
$ bin/pget.exe xml --struct attr xml/eurofxref-daily.xml
(0.0) gesmes:subject []
(1.0) #text []
(0.1) gesmes:Sender []
(1.0) gesmes:name []
(2.0) #text []
(0.2) Cube []
(1.0) Cube [time]
(2.0) Cube [currency; ประเมิน]
(2.1) Cube [currency; ประเมิน]
(2.2) Cube [currency; ประเมิน]
(2.3) Cube [currency; ประเมิน]
(2.4) Cube [currency; ประเมิน]
(2.5) Cube [currency; ประเมิน]
(2.6) Cube [currency; ประเมิน]
(2.7) Cube [currency; ประเมิน]
(2.8) Cube [currency; ประเมิน]
(2.9) Cube [currency; ประเมิน]
(2.10) Cube [currency; ประเมิน]
(2.11) Cube [currency; ประเมิน]
(2.12) Cube [currency; ประเมิน]
(2.13) Cube [currency; ประเมิน]
(2.14) Cube [currency; ประเมิน]
(2.15) Cube [currency; ประเมิน]
(2.16) Cube [currency; ประเมิน]
(2.17) Cube [currency; ประเมิน]
(2.18) Cube [currency; ประเมิน]
(2.19) Cube [currency; ประเมิน]
(2.20) Cube [currency; ประเมิน]
(2.21) Cube [currency; ประเมิน]
(2.22) Cube [currency; ประเมิน]
(2.23) Cube [currency; ประเมิน]
(2.24) Cube [currency; ประเมิน]
(2.25) Cube [currency; ประเมิน]
(2.26) Cube [currency; ประเมิน]
(2.27) Cube [currency; ประเมิน]
(2.28) Cube [currency; ประเมิน]
(2.29) Cube [currency; ประเมิน]
(2.30) Cube [currency; ประเมิน]
# It doens't work because XML namespaces
-
$ bin/pget.exe xml --xattr "//Cube//Cube[@currency]" currency xml/eurofxref-daily.xml
$ bin/pget.exe xml --xattr --nons "//Cube//Cube[@currency]" currency xml/eurofxref-daily.xml
USD
JPY
BGN
CZK
DKK
-
NZD
PHP
SGD
THB
ZAR
$ bin/pget.exe xml --xattr --nons "//Cube//Cube[@currency]" rate 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] - To ignore XML namespaces.ตัวอย่าง:
$ 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 --systemWindows:
e:/projects/pget.fsharp $ bin/pget.exe --system
ข้อมูลระบบ
System Version v4.0.30319
System Directory C:Windowssystem32
Runtime Directory C:WindowsMicrosoft.NETFramework64v4.0.30319
System Configuration File C:WindowsMicrosoft.NETFramework64v4.0.30319configmachine.config
OS Version Microsoft Windows NT 6.2.9200.0
Machine Name DESKTOP-FDD38CU
64-bit Operating system True
Number of processors 4
Special Directories
System.Environment.SpecialFolder.CommonApplicationData
C:ProgramData
System.Environment.SpecialFolder.ApplicationData
C:UsersarchAppDataRoaming
System.Environment.SpecialFolder.LocalApplicationData
C:UsersarchAppDataLocal
Linux:
$ bin/pget.exe --system
ข้อมูลระบบ
System Version v4.0.30319
System Directory
Runtime Directory /usr/lib/mono/4.5
System Configuration File /etc/mono/4.5/machine.config
OS Version Unix 4.8.17.1
Machine Name arch-pc
64-bit Operating system True
Number of processors 4
Special Directories
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.