https://github.com/caiorss/pget
Alternative command line dependency manager for .NET and F# projects.
https://github.com/caiorss/pget
assembly busybox dotnet fsharp introspection manager mono net nuget package tools utils
Last synced: about 2 months ago
JSON representation
Alternative command line dependency manager for .NET and F# projects.
- Host: GitHub
- URL: https://github.com/caiorss/pget
- Owner: caiorss
- License: unlicense
- Created: 2016-12-19T20:40:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T16:24:38.000Z (over 9 years ago)
- Last Synced: 2025-02-22T03:14:17.537Z (over 1 year ago)
- Topics: assembly, busybox, dotnet, fsharp, introspection, manager, mono, net, nuget, package, tools, utils
- Language: F#
- Homepage: https://caiorss.github.io/pget
- Size: 7.25 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: Pget .NET Command Line toolbox and Interface for NuGet.Core and F#
#+AUTHOR: Caio Rodrigues
#+EMAIL: caiorss [DOT] rodrigues [DOT] gmail [DOT] com
#+DESCRIPTION: F# Command line interface to NuGet API.
#+KEYWORDS: NuGet F# fsharp csharp .net dotnet tool cli command line toolbox cross-platform package manager xml assembly metadata
#+STARTUP: content
#+LANGUAGE: en
#+OPTIONS: H:4
#+INFOJS_OPT: view:info toc:t ltoc:t ftoc:nil mouse:underline button:nil path:theme/org-info.js
#+HTML_HEAD:
* Pget.exe - Package Get
** Overview
Pget.exe is a .NET command line toolbox inspired by git and [[https://en.wikipedia.org/wiki/BusyBox][BusyBox]]
that exposes .NET api through intuitive commands and a high level
API. It provides commands to install, query and expose NuGet packages,
explore .NuGet pacakge archives, explore .NET assemblies files or in
GAC - Global Assembly files, generate library or assembly
documentation with XML comments and query assemblies in GAC. In
addition to that it provides tools for generate GUID and query XML.
Objective:
- Provide NuGet.Core.dll integration with external tools, text
editors like Emacs and VIM and also command line integration with NuGet API.
- Expose as much as possible of .NET API through command line.
- Make .NET command line friendly tools
- Create tools to make development easier in Unix-like OS like
Linux, OSX and FreeBSD. Inspired by busybox it provides many
command line tools in a single self-contained executable.
*WHY pget ?*
Pget was created because existing command line tools doesn't have all
functionality provided by Visual Studio and Package Manager Console
like display package metadata, search packages in NuGet repository,
display packages' metadata from local repository or project repository
./packages and show Nuget package file metadata and files. Pget also
provides compeling features to explore and browse .NET assemblies and
xml.
*Feature*
- Search packages in Nuget repository
- Install and query NuGet packages
- Display all assembly references in a repository
- _Generate assembly references from all repository_ or single package
for F# scripts.
- _Show packages' metadata_ like description, summary, web site, open
package web site and so on.
- _Inspect .NET assemblies_ *.exe, *.dll or assemblies in GAC - Global
Assembly Cache.
- Inspect .NET types, methods, interfaces
- Show .NET assemblies metadata
- Show .NET referenced assemblies
- Show assembly resources
- Show namespaces in assembly
- Show classes in assembly
- Show class methods
- _Show type information with xml comments_ like summary, methods,
fields, constructors and properties.
- Generate assembly documentation in org-mode markdown and extract
xml comments from library (*.dll) xml files.
- Show NuGet packages *.nupkg file metadata.
- Get packages' assembly references from local repository and project
repository (./packages) for F# scripts.
- _Query XML_, show xml namespace, query xml using xpath, show xml tag
structure. It is useful test xml data extraction with x-path
expressions and XML tree navigation and ensure that it works.
*Repository:*
- https://www.github.com/caiorss/pget
** Get binary release
The binary releases are published to orphan-branch [[https://github.com/caiorss/pget/tree/build][build]].
*Manual download*
- [[https://github.com/caiorss/pget/raw/build/pget.exe][Download pget.exe]]
*Automatic Download*
#+BEGIN_SRC sh
~/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
#+END_SRC
or
#+BEGIN_SRC sh
cd ~/bin
curl -O -L https://github.com/caiorss/pget/raw/build/pget.exe
/usr/bin/chmod +x pget.exe
./pget.exe -v
#+END_SRC
** Build instructions
*** Build with Makefile
Run the command =$ make exe=. It assumes that fsc - the F# compiler
and nuget.exe are in the $PATH variable. It builds the standlone app
pget.exe with all dependencies static linked and also FSharp.Core (F#
runtime) static linked.
#+BEGIN_SRC sh
$ 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
#+END_SRC
Testing:
#+BEGIN_SRC sh
$ 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
#+END_SRC
*** Build with Xbuild or Msbuild
Msbuild
- =$ msbuild pget-exe.fsproj /p:Configuration=Release=
Xbuild
- =$ xbuild pget-exe.fsproj /p:Configuration=Release=
#+BEGIN_SRC sh
$ cd obj/Release && ./Pget.exe -v
Pget - Package Get - Version 1.3.1
2016 Public Domain Software
Repository - https://github.com/caiorss/pget
#+END_SRC
** Project Files
- [[file:src/]] - Source code *.fs files
- [[file:xml/]] - Sample xml files to test pget.exe XML commands.
- [[file:pget-exe.fsproj]] - Fsproj file to build pget.exe utility.
- [[file:pget-lib.fsproj]] - Fsproj file to build pget.dll library.
** Commands
*** Print Version :help:
- =$ pget.exe --version= or =$ pget.exe -v=
Example:
#+BEGIN_SRC text
$ mono obj/Debug/pget.exe --version
Pget - Package Get - Version 2.5.0.0
2016 Public Domain Software
Repository - https://github.com/caiorss/pget
#+END_SRC
*** Print help :help:
- =$ pget.exe=
Example:
#+BEGIN_SRC text
$ mono obj/Debug/pget.exe
Pget - Package Get - Enhanced command line interface to NuGet.Core
pget.exe repo Show help for repo commands.
pget.exe nuget Show help for nuget related commands
pget.exe asm Show help for assembly related commands.
pget.exe nupkg Show help for Nuget packages related commands.
pget.exe xml Show help for xml related commands
--version | -v Show version
--help | -h Show help
--doc Open online documentation.
List Repository
repo --list List all packages in current repository ./package
repo [path] --list List all package in [path] repository.
Show repository
repo --show Show all packages in current ./packages repository
repo [path] --show Show all packages in [path] repository.
Show package metadata
repo --show [pack] Show the package [pack] in ./packages directory
repo [path] --show [pack] Show the package [pack] in [repo] directory.
Show package files
repo --files [pack] Show content files of package [pack] in ./packages
repo [path] --files [pack] Show content files of package [pack] in [repo]
Install package to repository
repo --install [pack] Install the latest version of package [pack] to ./packages
repo --install [pack] [ver] Install the version [ver] of package [pack]
repo [path] --install [pack] Install the latest version of package [pack] to a repository [path] i.e: ~/nuget
repo [path] --install [pack] [ver] Install the version [ver] of package [pack] to a repository [path]
Install a list of packages passed as argument
repo --install-list FParsec NuGet.Core-2.0.0 Install those packages to ./packages
repo /tmp/repo --install-list FParsec NuGet.Core-2.0.0 Install those packages to /tmp/repository
Install a list of packages listed in a file
repo --install-from-file Install all packages listed in the file ./packages.list to ./packages directory.
repo --install-from-file [file] Install all packages listed in the file ./packages.list to ./packages directory.
repo [path] --install-from-file [file] Install all packages listed in the file [file] to [path]
Open package project URL or Licence URL
repo --url [pack] Browse project URL of a package [pack] in ./packages.
repo --license [pack] Browse licence URL of a package [pack] in ./packages.
repo [path] --url [pack] Browse project URL of a package [pack] in [path]
repo [path] --license [pack] Browse licence URL of a package [pack] in [path]
Show references for F# *.fsx scripts: [frm]: .NET Framework net40 | net45
repo --ref [frm] Show all assembly references from current ./packages.
repo --ref --pack [pack] Show all assembly references from a package [pack] at ./packages.
repo [path] --ref [frm] Show all assembly references from current [repo] directory.
repo [path] --ref [frm] [pack] Show all assembly references from a package at [repo] directory
Nuget commands:
nuget --search [package] Search a package by name.
nuget --show [package] Show package information (metadata).
nuget --open Open NuGet web site - https://www.nuget.org
Nupkg Files:
nupkg --show [file] Show metadata of a *.nupkg file
nupkg --files [file] Show files in nupkg [file]
Assembly files: *.exe or *.dll
asm --info [file] Show all assembly attributes from an assembly [file] or GAC.
asm --refs [file] Show all assembly references from an assembly [file] or GAC.
asm --resources [file] Show resources from an assembly file.
asm --namespace|-ns [file] Show all exported namespaces.
asm --namespace|-ns [file] [nspace] Show all types within an exported namespace from an assembly [file].
asm --type [file] Show all types exported by an assembly [file] or assembly in GAC.
asm --type [file] [type] Show information about [type] exported by assembly [file] or GAC.
asm --type-info [type] Try to find a type and show its information.
asm --search-method [file] [type] [method] Search and display all methods of type [type] which contains [method].
asm --interface [file] Show all interfaces exported by assembly [file].
asm --abstract [file] Show all abstract classes exported by assembly [file].
asm --class [file] Show all classes exported by assembly [file].
asm --classn [file] Show all non-abstract classes exported by assembly [file]
asm --docgen [file] Print all types documentation on screen
asm --docgen [file] [output-file] Export all types documentation to org-mode file.
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.
Fsproj - Helpers for fsproj files.
fsproj --ref [frm] Generate include references tags from all packages in ./packages
Open pget online documentation: https://caiorss.github.io/pget
--doc
Show system information
--system
Generate Guid - Globally Unique Identifier
--guid
--------------------------------------------
Command abbreviations:
--install -i
--install-from-file -if
--install-list -il
--help -h
--version -v
--ver -v
--list -l
--search -s
--show -sh
Pget - Package Get - Version 2.5.0.0
2016 Public Domain Software
Repository - https://github.com/caiorss/pget
#+END_SRC
*** Local Repository
**** Show repository commands help :help:
- =$ pget.exe repo=
*Example:*
#+BEGIN_SRC text
$ bin/pget.exe repo
List Repository
repo --list List all packages in current repository ./package
repo [path] --list List all package in [path] repository.
Show repository
repo --show Show all packages in current ./packages repository
repo [path] --show Show all packages in [path] repository.
Show package metadata
repo --show [pack] Show the package [pack] in ./packages directory
repo [path] --show [pack] Show the package [pack] in [repo] directory.
Show package files
repo --files [pack] Show content files of package [pack] in ./packages
repo [path] --files [pack] Show content files of package [pack] in [repo]
Install package to repository
repo --install [pack] Install the latest version of package [pack] to ./packages
repo --install [pack] [ver] Install the version [ver] of package [pack]
repo [path] --install [pack] Install the latest version of package [pack] to a repository [path] i.e: ~/nuget
repo [path] --install [pack] [ver] Install the version [ver] of package [pack] to a repository [path]
Install a list of packages passed as argument
repo --install-list FParsec NuGet.Core-2.0.0 Install those packages to ./packages
repo /tmp/repo --install-list FParsec NuGet.Core-2.0.0 Install those packages to /tmp/repository
Install a list of packages listed in a file
repo --install-from-file Install all packages listed in the file ./packages.list to ./packages directory.
repo --install-from-file [file] Install all packages listed in the file ./packages.list to ./packages directory.
repo [path] --install-from-file [file] Install all packages listed in the file [file] to [path]
Open package project URL or Licence URL
repo --url [pack] Browse project URL of a package [pack] in ./packages.
repo --license [pack] Browse licence URL of a package [pack] in ./packages.
repo [path] --url [pack] Browse project URL of a package [pack] in [path]
repo [path] --license [pack] Browse licence URL of a package [pack] in [path]
Show references for F# *.fsx scripts: [frm]: .NET Framework net40 | net45
repo --ref [frm] Show all assembly references from current ./packages.
repo --ref --pack [pack] Show all assembly references from a package [pack] at ./packages.
repo [path] --ref [frm] Show all assembly references from current [repo] directory.
repo [path] --ref [frm] [pack] Show all assembly references from a package at [repo] directory
#+END_SRC
**** List packages
***** List packages in project repository ./packages directory:
- =$ pget.exe repo --list= or =$ pget.exe -l=
Example:
#+BEGIN_SRC sh
$ 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
#+END_SRC
***** List packages in a local repository
- =$ pget.exe repo --list [directory]= or =$ pget.exe --l [directory]=
Example:
#+BEGIN_SRC sh
$ 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
...
#+END_SRC
**** Show package information (metadata)
***** Show all packages in project repository (./packages)
- =$ pget.exe pget repo --show= or =$ pget.exe repo -sh=
Example:
#+BEGIN_SRC txt
$ 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.
#+END_SRC
***** Show all packages in a local repository
- =$ pget.exe repo [path] --show= or =$ pget.exe repo [path] -sh=
Example:
#+BEGIN_SRC txt
$ 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.
...
#+END_SRC
***** Show a single package in project repository (./packages)
- =$ pget.exe repo --show [package-Id]= or - =$ pget.exe repo -sh [package-Id]=
Example:
#+BEGIN_SRC sh
$ 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.
#+END_SRC
***** Show a single package in a Local Repository
- =$ pget.exe repo [path] --show [package-Id]=
or
- =$ pget.exe repo [path] -sh [package-Id]=
Example:
#+BEGIN_SRC txt
$ 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
#+END_SRC
**** Show package files
***** Show files of a package in project repository ./packages
- =$ pget.exe repo --files [package-id]=
Example:
#+BEGIN_SRC sh
$ 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
#+END_SRC
***** Show files of a package in a local repository
- =$ pget.exe repo [path] --files [package-id]=
#+BEGIN_SRC sh
$ 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
#+END_SRC
**** Get assembly references for F# scripts
***** Get all assembly references from current ./packages repository.
- =$ pget.exe repo --ref [framework]=
The framework is the .NET framework version. It can be:
- net40 for .NET 4.0
- net45 for .NET 4.5
Example:
#+BEGIN_SRC sh
$ 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"
#+END_SRC
***** Get all assembly references from a package in ./packages:
- =$ pget.exe repo --ref [framework] [package-id]=
Example:
#+BEGIN_SRC sh
$ 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"
#+END_SRC
***** Get all assembly references from a local repository.
- =$ pget.exe repo [path] --ref [framework]=
Example:
#+BEGIN_SRC sh
$ 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"
#+END_SRC
***** Get all assembly references from a package in a local repository
- =$ pget.exe repo [path --ref [framework] [package-id]=
Example:
#+BEGIN_SRC sh
$ 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"
#+END_SRC
**** Open package project URL in the browser
***** Open project URL of package in ./packages
- =$ pget.exe repo --url [packageId]=
Example:
#+BEGIN_SRC sh
$ bin/pget.exe repo --url FParsec
Opening http://www.quanttec.com/fparsec/
#+END_SRC
***** Open project URL of package in a local repository
- =$ pget.exe repo [path] --url [packageId]=
Example:
#+BEGIN_SRC sh
$ bin/pget.exe repo ~/nuget --url Eto.Forms
Opening https://github.com/picoe/Eto
#+END_SRC
**** Open package licensee URL in the browser
***** Open license URL of package in ./packages
- =$ pget.exe repo --license [packageId]=
Example:
#+BEGIN_SRC sh
$ bin/pget.exe repo --license FParsec
Opening http://www.quanttec.com/fparsec/license.html
#+END_SRC
***** Open license URL of package in a local repository
- =$ pget.exe repo [path] --licence [packageId]=
Example:
#+BEGIN_SRC sh
$ bin/pget.exe repo ~/nuget --license NUnit.Console
Opening http://nunit.org/nuget/nunit3-license.txt
#+END_SRC
**** Install packages
***** Install the lastest version of a package to ./packages (Project repository)
- =$ pget.exe repo --install [package-id]= or - =$ pget.exe repo -i [package-id]=
Example:
#+BEGIN_SRC sh
$ 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.
#+END_SRC
***** Install a specific version of package to ./packages
- =$ pget.exe repo --install [package-id] [version]=
or
- =$ pget.exe repo -i [package-id] [version]=
Example:
#+BEGIN_SRC sh
$ 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/
#+END_SRC
***** Install the lastest version of a package to a local repository
- =$ pget.exe repo [path] --install [package-id]=
or
- =$ pget.exe repo [path] -i [package-id] -r [path]=
Example:
#+BEGIN_SRC sh
$ 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).
#+END_SRC
***** Install a specific version of package to a local repository
- =$ pget.exe repo [path] --install [package-id] [version]=
or
- =$ pget.exe repo [path] -i [package-id] -v [package]=
Example:
#+BEGIN_SRC sh
$ bin/pget.exe repo ~/nuget -i Microsoft.Web.Xdt 1.0.0
#+END_SRC
**** Install a list of packages
***** Install a list of packages to ./packages
- =$ pget.exe repo --install-list FParsec-1.0.2 OxyPlot=
or
- =$ pget.exe repo -il FParsec-1.0.2 OxyPlot=
If the version is not specified it installs the lastest version.
***** Install a list of pacakges to a local repository
- =$ pget.exe repo ~/nuget --install-list FParsec-1.0.2 OxyPlot=
or
- =$ pget.exe repo ~/nuget -il FParsec-1.0.2 OxyPlot ... packageN=
**** Install packages listed in a file
****** Install all packages listed in the file ./packages.list to ./packages
- =$ pget.exe repo --install-from-file=
or
- =$ pget.exe repo -if=
Example of the file packages.list. If the version is not listed, it
installs the latest version of the packages to ./packages.
File: packages.list
#+BEGIN_SRC sh
FSharp.Data 1.0.0
Deedle 1.0.0
OxyPlot.Pdf
OxyPlot.WindowsForms
#+END_SRC
****** Install all packages listed in the file ./packages.list to ./packages
- =$ pget.exe repo --install-from-file [packages-list-file]=
or
- =$ pget.exe repo -if [package-list-file]=
*** NuGet Repository
**** Show nuget commands help :help:
- =$ pget.exe nuget=
*Example:*
#+BEGIN_SRC text
$ bin/pget.exe nuget
Nuget commands:
nuget --search [package] Search a package by name.
nuget --show [package] Show package information (metadata).
nuget --open Open NuGet web site - https://www.nuget.org
#+END_SRC
**** Search a package
- =$ pget.exe nuget --search [keyword]= or - =$ pget.exe nuget -s [keywork]=
Example:
#+BEGIN_SRC txt
$ 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
... ... ...
#+END_SRC
**** Display package information (metadata)
- =pget.exe nuget --show=
Example:
#+BEGIN_SRC txt
$ 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.
#+END_SRC
*** NuGet package files nupkg files
**** Show nupkg help :help:
- =$ pget.exe nupkg=
*Example:*
#+BEGIN_SRC text
$ bin/pget.exe nupkg
Nupkg Files:
nupkg --show [file] Show metadata of a *.nupkg file
nupkg --files [file] Show files in nupkg [file]
#+END_SRC
**** Show package file metadata
Show a NuGet package metadata
- =$ pget.xe nupkg --show [nupkg-file]=
Example:
#+BEGIN_SRC sh
$ 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).
#+END_SRC
**** Show package files
- =$ pget.exe nupkg --files [nupkg-file]=
Example:
#+BEGIN_SRC sh
$ 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
#+END_SRC
*** Assembly metadata and .NET types
**** Show Assembly commands help :help:
- =$ pget.exe asm=
*Example:*
#+BEGIN_SRC text
$ bin/pget.exe asm
Assembly files: *.exe or *.dll
asm --info [file] Show all assembly attributes from an assembly [file].
asm --refs [file] Show all assembly references from an assembly [file].
asm --resources [file] Show resources from an assembly file.
asm --namespace|-ns [file] Show all exported namespaces.
asm --namespace|-ns [file] [nspace] Show all types within an exported namespace from an assembly [file].
asm --type [file] Show all types exported by assembly [file]
asm --type [file] [type] Show information about [type] exported by assembly [file].
asm --interface [file] Show all interfaces exported by assembly [file].
asm --abstract [file] Show all abstract classes exported by assembly [file].
asm --class [file] Show all classes exported by assembly [file].
asm --classn [file] Show all non-abstract classes exported by assembly [file]
asm --docgen [file] Print all types documentation on screen
asm --docgen [file] [output-file] Export all types documentation to org-mode file.
#+END_SRC
**** Show .NET type information
- =$ pget.exe asm --type-info [type name]=
Example:
#+BEGIN_SRC sh
$ 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)
... ...
#+END_SRC
**** Show Assembly Attributes
- =$ pget.exe asm --info [assembly-file or asm-gac]=
Show assembly attribute of assembly file or assembly in GAC.
*Example:*
#+BEGIN_SRC sh
$ 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
#+END_SRC
Example 2:
#+BEGIN_SRC sh
$ 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
#+END_SRC
Example 3: Show information about assembly in GAC (System.Xml.dll)
#+BEGIN_SRC sh
$ 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
#+END_SRC
**** Show assembly references
Show assemblies referenced by an assembly file
- =$ pget.exe asm --refs [assembly-file]=
Example:
#+BEGIN_SRC sh
$ 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 =
#+END_SRC
**** Show Assembly Resources
- =$ pget.exe asm --resources [asmfile]=
Example:
#+BEGIN_SRC sh
$ 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
#+END_SRC
**** Show all exported types
- =$ pget.exe asm --type [asmFile]=
Example 1: Show exported type by assembly file.
#+BEGIN_SRC sh
$ 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
#+END_SRC
Example 2: Show exported types by assembly in GAC.
#+BEGIN_SRC sh
$ 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
#+END_SRC
**** Show type information
- =$ pget.exe asm --type [asmFile] [TypeName]=
Example: Show information about type NuGet.ZipPackage exported by NuGet.Core.dll .
#+BEGIN_SRC text
$ 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.ZipPackage
,**** Type Info
- Name: ZipPackage
- Full Name: NuGet.ZipPackage
- Namespace: NuGet
- Module: NuGet.Core.dll
- Base Type: NuGet.LocalPackage
,*Predicates*
- Class: True
- Abstract Class: False
- Primitive False
- Array: False
- Interface False
- Enum False
- Public True
- Visible True
,**** Fields
,**** Properties
- System.String Id
- NuGet.SemanticVersion Version
- System.String Title
- System.Collections.Generic.IEnumerable`1[System.String] Authors
- System.Collections.Generic.IEnumerable`1[System.String] Owners
- System.Uri IconUrl
- System.Uri LicenseUrl
- System.Uri ProjectUrl
- System.Uri ReportAbuseUrl
- Int32 DownloadCount
- Boolean RequireLicenseAcceptance
- Boolean DevelopmentDependency
- System.String Description
- System.String Summary
- System.String ReleaseNotes
- System.String Language
- System.String Tags
- System.Version MinClientVersion
- Boolean IsAbsoluteLatestVersion
- Boolean IsLatestVersion
- Boolean Listed
- System.Nullable`1[System.DateTimeOffset] Published
- System.String Copyright
- System.Collections.Generic.IEnumerable`1[NuGet.PackageDependencySet] DependencySets
- System.Collections.Generic.IEnumerable`1[NuGet.FrameworkAssemblyReference] FrameworkAssemblies
- System.Collections.Generic.IEnumerable`1[NuGet.IPackageAssemblyReference] AssemblyReferences
- System.Collections.Generic.ICollection`1[NuGet.PackageReferenceSet] PackageAssemblyReferences
,**** Constructors
Void .ctor(String)
Void .ctor(Func`1, Func`1)
Void .ctor(Stream)
,**** Methods
- 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()
- Boolean Equals(System.Object)
- Int32 GetHashCode()
- System.Type GetType()
#+END_SRC
Example: Show type information about type Eto.Forms.Form defined in Eto.dll.
Note: The summaries about the methods, fields and properties comes
from file Eto.xml
#+BEGIN_SRC text
$ bin/pget.exe asm --type packages/Eto.Forms.2.3.0/lib/net45/Eto.dll Eto.Forms.Form
,**** Type Info
- Name: Form
- Full Name: Eto.Forms.Form
- Namespace: Eto.Forms
- Module: Eto.dll
- Base Type: Eto.Forms.Window
,*Predicates*
- Class: True
- Abstract Class: False
- Primitive False
- Array: False
- Interface False
- Enum False
- Public True
- Visible True
,**** Fields
,**** Properties
- Boolean ShowActivated
Gets or sets a value indicating that the form should be activated when initially shown.
- System.String Title
Gets or sets the title of the window
- Eto.Drawing.Point Location
Gets or sets the location of the window
- Eto.Drawing.Rectangle Bounds
Gets or sets the size and location of the window
- Eto.Forms.ToolBar ToolBar
Gets or sets the tool bar for the window.
- Double Opacity
Gets or sets the opacity of the window
- Eto.Forms.Window Owner
Gets or sets the owner of this window.
- Eto.Forms.Screen Screen
Gets the screen this window is mostly contained in. Typically defined by the screen center of the window is visible.
- Eto.Forms.MenuBar Menu
Gets or sets the menu bar for this window
- Eto.Drawing.Icon Icon
Gets or sets the icon for the window to show in the menu bar.
- Boolean Resizable
Gets or sets a value indicating whether this is resizable.
- Boolean Maximizable
Gets or sets a value indicating whether this can be maximized.
- Boolean Minimizable
Gets or sets a value indicating whether this can be minimized.
- Boolean ShowInTaskbar
Gets or sets a value indicating whether this will show in the taskbar.
- Boolean Topmost
Gets or sets a value indicating whether this is above all other windows.
- Eto.Forms.WindowState WindowState
Gets or sets the state of the window.
- Eto.Drawing.Rectangle RestoreBounds
Gets the bounds of the window before it was minimized or maximized, or the current bounds if is Normal.
- Eto.Forms.WindowStyle WindowStyle
Gets or sets the style of this window.
- Single LogicalPixelSize
Gets the number of pixels per logical pixel when on a high DPI display.
- System.Collections.Generic.IEnumerable`1[Eto.Forms.Control] Controls
Gets an enumeration of controls that are directly contained by this container
- Eto.Drawing.Padding Padding
Gets or sets the padding around the of the panel.
- Eto.Drawing.Size MinimumSize
Gets or sets the minimum size of the panel.
- Eto.Forms.ContextMenu ContextMenu
Gets or sets the context menu for the panel.
- Eto.Forms.Control Content
Gets or sets the main content of the panel.
- Eto.Drawing.Size ClientSize
Gets or sets the size for the client area of the control
- System.Collections.Generic.IEnumerable`1[Eto.Forms.Control] VisualControls
Gets an enumeration of controls that are in the visual tree.
- System.Collections.Generic.IEnumerable`1[Eto.Forms.Control] Children
Gets an enumeration of all contained child controls, including controls within child containers
- System.Collections.Generic.IEnumerable`1[Eto.Forms.Control] VisualChildren
Gets an enumeration of all contained child controls in the visual tree, including controls within child containers.
- Boolean Loaded
Gets a value indicating that the control is loaded onto a form, that is it has been created, added to a parent, and shown
- System.Object Tag
Gets or sets a user-defined object that contains data about the control
- Eto.Drawing.Size Size
Gets or sets the size of the control. Use -1 to specify auto sizing for either the width and/or height.
- Int32 Width
Gets or sets the width of the control size.
- Int32 Height
Gets or sets the height of the control size.
- Boolean Enabled
Gets or sets a value indicating whether this is enabled and accepts user input.
- Boolean Visible
Gets or sets a value indicating whether this is visible to the user.
- Eto.Forms.Container Parent
Gets the container which this control has been added to, if any
- Eto.Forms.Container VisualParent
Gets the visual container of this control, if any.
- Eto.Drawing.Color BackgroundColor
Gets or sets the color for the background of the control
- Boolean HasFocus
Gets a value indicating whether this instance has the keyboard input focus.
- Boolean IsSuspended
Gets a value indicating whether the layout of child controls is suspended.
- Eto.Forms.Window ParentWindow
Gets the window this control is contained in
- System.Collections.Generic.IEnumerable`1[System.String] SupportedPlatformCommands
Gets the supported platform commands that can be used to hook up system functions to user defined logic
- Eto.Forms.Cursor Cursor
Gets or sets the type of cursor to use when the mouse is hovering over the control
- System.String ToolTip
Gets or sets the tool tip to show when the mouse is hovered over the control
- Eto.Widget Parent
Gets the parent widget which this widget has been added to, if any
- System.Collections.Generic.IEnumerable`1[Eto.Widget] Parents
Gets an enumeration of all parent widgets in the heirarchy by traversing the property.
- System.Object DataContext
Gets or sets the data context for this widget for binding
- Eto.Forms.BindingCollection Bindings
Gets the collection of bindings that are attached to this widget
- Eto.Platform Platform
Gets the platform that was used to create the for this widget
- System.Object Handler
Gets the platform-specific handler for this widget
- IntPtr NativeHandle
Gets the native platform-specific handle for integration purposes
- Eto.PropertyStore Properties
Gets the dictionary of properties for this widget
- System.String ID
Gets or sets the ID of this widget
- System.String Style
Gets or sets the style of this widget
- System.Object ControlObject
Gets the instance of the platform-specific object
,**** Constructors
Void .ctor()
Void .ctor(IHandler)
,**** Methods
- Void Show()
Show the form
- Void Close()
Closes the window
- Void Minimize()
Sets to
- Void Maximize()
Sets to
- Void BringToFront()
Brings the window in front of all other windows in the z-order.
- Void SendToBack()
Sends the window behind all other windows in the z-order.
- Void Remove(Eto.Forms.Control)
Removes the specified child from the container
- Void Unbind()
Unbinds any bindings in the collection and removes the bindings, and recurses to this container's children
- Void UpdateBindings(Eto.Forms.BindingUpdateMode)
Updates all bindings in this widget, and recurses to this container's children
- Void Remove(System.Collections.Generic.IEnumerable`1[Eto.Forms.Control])
Remove the specified from this container
- Void RemoveAll()
Removes all controls from this container
- T FindChild[T](System.String)
Finds a child control in this container or any of its child containers with the specified
- Eto.Forms.Control FindChild(System.Type, System.String)
Finds a child control in this container or any of its child containers with the specified
- Eto.Forms.Control FindChild(System.String)
Finds a child control in this container or any of its child containers with the specified
- Void Invalidate()
Queues a repaint of the entire control on the screen
- Void Invalidate(Eto.Drawing.Rectangle)
Queues a repaint of the entire control on the screen
- Eto.Forms.Container FindParent(System.Type, System.String)
Finds a control in the parent hierarchy with the specified type and if specified
- Eto.Forms.Container FindParent(System.String)
Finds a control in the parent hierarchy with the specified type and if specified
- Void Detach()
Detaches the control by removing it from its parent
- Void AttachNative()
Attaches the control for direct use in a native application
- Void Focus()
Attempts to set the keyboard input focus to this control, or the first child that accepts focus
- Void SuspendLayout()
Suspends the layout of child controls
- Void ResumeLayout()
Resumes the layout after it has been suspended, and performs a layout
- Void MapPlatformCommand(System.String, Eto.Forms.Command)
Specifies a command to execute for a platform-specific command
- Eto.Drawing.PointF PointFromScreen(Eto.Drawing.PointF)
Converts a point from screen space to control space.
- Eto.Drawing.PointF PointToScreen(Eto.Drawing.PointF)
Converts a point from control space to screen space
- Eto.Drawing.RectangleF RectangleToScreen(Eto.Drawing.RectangleF)
Converts a rectangle from screen space to control space.
... ... ...
#+END_SRC
Example: Show type information by assembly in GAC
#+BEGIN_SRC sh
$ 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)
#+END_SRC
**** Search type methods wich contains a given string
- =$ pget.exe asm --search-method [asmFile] [type] [method]=
Example: Search all System.IO.File methods which contains the word 'read':
#+BEGIN_SRC text
$ 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.Encoding encoding)
Public Static System.Void WriteAllLines (System.String path, System.String[] contents)
Public Static System.Void WriteAllLines (System.String path, System.String[] contents, System.Text.Encoding encoding)
Public Static System.Collections.Generic.IEnumerable`1[System.String] ReadLines (System.String path)
Public Static System.Collections.Generic.IEnumerable`1[System.String] ReadLines (System.String path, System.Text.Encoding encoding)
Public Static System.Void AppendAllLines (System.String path, System.Collections.Generic.IEnumerable`1[System.String] contents)
Public Static System.Void AppendAllLines (System.String path, System.Collections.Generic.IEnumerable`1[System.String] contents, System.Text.Encoding encoding)
Public Static System.Void WriteAllLines (System.String path, System.Collections.Generic.IEnumerable`1[System.String] contents)
Public Static System.Void WriteAllLines (System.String path, System.Collections.Generic.IEnumerable`1[System.String] contents, System.Text.Encoding encoding)
$ bin/pget.exe asm --search-method mscordsflib System.IO.File line
Error: I can't find the file: mscordsflib
$ bin/pget.exe asm --search-method /etc/fstab System.IO.File line
Error: File /etc/fstab is not a .NET assembl
#+END_SRC
**** Show all exported classes
- =$ pget.exe --class [asmFile]=
Example:
#+BEGIN_SRC text
$ 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
packages/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 --class packages/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
#+END_SRC
**** Show all exported non-abstract classes
- =$ pget.exe --classn [asmFile]=
Example:
#+BEGIN_SRC text
$ 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.CodeGenerator
OxyPlot.OxyPalette
OxyPlot.Decimator
OxyPlot.CohenSutherlandClipping
OxyPlot.OxyPen
OxyPlot.XkcdRenderingDecorator
OxyPlot.OxyKeyGesture
OxyPlot.OxyMouseDownGesture
OxyPlot.OxyMouseWheelGesture
...
OxyPlot.Annotations.EllipseAnnotation
OxyPlot.Annotations.FunctionAnnotation
OxyPlot.Annotations.ImageAnnotation
OxyPlot.Annotations.PolylineAnnotation
OxyPlot.Conrec+RendererDelegate
OxyPlot.Reporting.TableOfContents+ContentItem
#+END_SRC
**** Show all exported abstract classes
- =$ pget.exe --abstract [asmFile]=
Example:
#+BEGIN_SRC
$ 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.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
#+END_SRC
**** Show all exported interfaces
- =$ pget.exe --interface [asmFile]=
Example:
#+BEGIN_SRC
$ 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.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
#+END_SRC
**** Show all exported namespaces
- =pget.exe asm --namespace [asmFile]=
or
- =pget.exe asm --ns [asmFile]=
Example:
#+BEGIN_SRC text
$ 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
#+END_SRC
**** Show all types within an exported namespace
- =$ pget.exe asm --namespace [assembly-file or GAC] [namespace]=
Example: Query assembly file.
#+BEGIN_SRC text
$ 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
----------------
Properties
----------------
System.String Name
System.String Value
System.Xml.XmlNodeType NodeType
System.Xml.XmlNode ParentNode
...
Constructors
----------------
Methods
----------------
System.Xml.XPath.XPathNavigator CreateNavigator()
System.Xml.XmlNode SelectSingleNode(System.String)
System.Xml.XmlNode SelectSingleNode(System.String, System.Xml.XmlNamespaceManager)
...
#+END_SRC
Example: Query assembly in GAC
#+BEGIN_SRC sh
# 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
#+END_SRC
**** Generate documentation about all exported namespaces
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]=
Example:
Find the package files.
#+BEGIN_SRC text
$ 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
#+END_SRC
Generating documentation:
#+BEGIN_SRC text
$ bin/pget.exe asm --docgen packages/Eto.Forms.2.3.0/lib/net45/Eto.dll Eto-doc.org
#+END_SRC
Browser documentation:
#+BEGIN_SRC doc
$ emacs -Q Eto-doc.org
#+END_SRC
*Screenshots:*
- The picture below picture shows all namespaces defined in Eto.dll
assembly of Eto-forms package.
#+CAPTION: Eto forms namespaces
[[file:images/42cf8c02-f803-4713-a7d1-0e557de60891.png%0A][file:images/42cf8c02-f803-4713-a7d1-0e557de60891.png
]]
- This picture shows all types within in the Eto.Forms namespace.
#+CAPTION: Browsing Eto.Forms namespace.
[[file:images/84aba9e2-5e75-4903-80af-eb293ab698f4.png%0A][file:images/84aba9e2-5e75-4903-80af-eb293ab698f4.png
]]
- This pictures below show the properties of type Eto.Forms.Form
#+CAPTION: Eto.Forms.Form type information - type predicates.
[[file:images/e6701dd4-4ec6-4e26-a930-9b80299369b4.png%0A][file:images/e6701dd4-4ec6-4e26-a930-9b80299369b4.png
]]
#+CAPTION: Eto.Forms.Form type information - properties
[[file:images/cce9388f-a5da-4cac-b9c7-b379c52b5494.png%0A][file:images/cce9388f-a5da-4cac-b9c7-b379c52b5494.png
]]
#+CAPTION: Eto.Forms.Form type information - methods
[[file:images/ccf94d57-77cb-480a-a036-52855ff5c582.png%0A][file:images/ccf94d57-77cb-480a-a036-52855ff5c582.png
]]
*** Fsproj Helpers
Generate include tags for all packages in project repository (./packages)
- =$ pget.exe fsproj --ref [framework]=
Where framework can be
- net40 for .NET 4.0
- net45 for .NET 4.5
#+BEGIN_SRC sh
$ bin/pget.exe fsproj --ref net45
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
packages/Microsoft.Web.Xdt.2.1.1/lib/net40/Microsoft.Web.XmlTransform.dll
packages/NuGet.Core.2.12.0/lib/net40-Client/NuGet.Core.dll
packages/OxyPlot.Core.1.0.0/lib/net40/OxyPlot.dll
packages/OxyPlot.Pdf.1.0.0/lib/net40/OxyPlot.Pdf.dll
...
#+END_SRC
*** F# FSharp Assembly Introspection
**** Find F# assemblies in a given path
- =$ pget.exe fsh --find-dll [path]=
It searches all assemblies (*.dll files) in a given Path which contains at least a
F# module.
#+BEGIN_SRC text
$ 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
#+END_SRC
**** Display all F# public modules
- =$ pget.exe fsh --modules [asmFile]=
#+BEGIN_SRC text
$ 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
#+END_SRC
**** Display F# public and private modules
#+BEGIN_SRC text
$ 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
#+END_SRC
*** XML tools
**** Display help for xml commands :help:
- =$ pget.exe xml=
#+BEGIN_SRC text
$ 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.
#+END_SRC
**** Display XML in human-readable format from URI/URL or file
- =$ pget.exe xml --show [xmluri]=
*Examples:*
Display XML from file:
#+BEGIN_SRC text
$ bin/pget.exe xml --show infoq.rss
InfoQ
http://www.infoq.com
InfoQ feed
Presentation: Spring and Big Data
http://www.infoq.com/presentations/big-data-spring?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
<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>
Java
Spring
Languages
... ... ... ... ... ... ...
Jie Yu
2017-01-07T18:22:00Z
/presentations/mesos-api/en
Presentation: Building a Microservices Platform with Kubernetes
http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
<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>
Conferences
Deployment
QCon
Architecture
Cloud Computing
DevOps
Architecture & Design
Microservices
Kubernetes
Containers
QCon San Francisco 2016
presentation
Sat, 07 Jan 2017 16:37:00 GMT
http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
Matthew Mark Miller
2017-01-07T16:37:00Z
/presentations/microservices-kubernetes/en
#+END_SRC
Display XML from URL:
#+BEGIN_SRC text
$ bin/pget.exe xml --show "https://www.infoq.com/feed?token=WSVCFU3gCRvgXaLKxLiHKq90pV5PnH1z"
InfoQ
http://www.infoq.com
InfoQ feed
Presentation: Spring and Big Data
http://www.infoq.com/presentations/big-data-spring?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
... ... ...
Containers
QCon San Francisco 2016
presentation
Sat, 07 Jan 2017 16:37:00 GMT
http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
Matthew Mark Miller
2017-01-07T16:37:00Z
/presentations/microservices-kubernetes/en
#+END_SRC
**** Save XML in human-readable format from file or URI to a new file.
- =$ pget.exe --show xmluri xmlfile=
*Examples*
Save xml from url to a file:
#+BEGIN_SRC text
$ bin/pget.exe xml --show https://www.infoq.com/feed?token=WSVCFU3gCRvgXaLKxLiHKq90pV5PnH1z infoq.rss
$ bin/pget.exe xml --show infoq.rss
InfoQ
http://www.infoq.com
InfoQ feed
Presentation: Spring and Big Data
http://www.infoq.com/presentations/big-data-spring?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
<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>
Java
... ... ... ... ... ...
<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>
Conferences
Orchestration
QCon
Cloud Computing
DevOps
Infrastructure
Mesos
Architecture & Design
Containers
QCon San Francisco 2016
presentation
Sat, 07 Jan 2017 18:22:00 GMT
http://www.infoq.com/presentations/mesos-api?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
Jie Yu
2017-01-07T18:22:00Z
/presentations/mesos-api/en
Presentation: Building a Microservices Platform with Kubernetes
http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
<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>
Conferences
Deployment
QCon
Architecture
Cloud Computing
DevOps
Architecture & Design
Microservices
Kubernetes
Containers
QCon San Francisco 2016
presentation
Sat, 07 Jan 2017 16:37:00 GMT
http://www.infoq.com/presentations/microservices-kubernetes?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global
Matthew Mark Miller
2017-01-07T16:37:00Z
/presentations/microservices-kubernetes/en
#+END_SRC
**** Show XML all namespaces
- =$ pget.exe --namespace [xmluri]=
or
- =$ pget.exe --ns [xmluri]=
*Example:*
#+BEGIN_SRC text
$ 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
Reference rates
European Central Bank
#+END_SRC
**** Show XML tags hierarchy
- =$ pget.exe xml --struct [xmluri]=
*Example:*
#+BEGIN_SRC text
$ 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
... ... ...
#+END_SRC
**** Show XML tags hierarchy with attribute names
- =$ pget.exe xml --struct attr [xmlfile]=
*Example:*
#+BEGIN_SRC text
$ bin/pget.exe xml --struct attr pget-exe.fsproj
(0.0) Import [Project; Condition]
(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]