Comments (2)
To handle private assemblies, I'm going to enhance prig
command as follows:
Installation
CMD C:\> prig install -help
INSTALLER OPTIONS
Specify options to install as a target package of Prig.
==== EXAMPLE 1 ====
CMD C:\> prig install NUnit -source "C:\Program Files (x86)\NUnit 2.6.3\bin"
This command installs NUnit as a target packages of Prig. NUnit is located at "C:\Program
Files (x86)\NUnit 2.6.3\bin", so you have to specify the directory path.
:
-help Display help message.
-package arg Package to install. Currently, there is no convention,
but easy to understand and globaly identified naming is
recommended. It is better to apply the package name
same as Chocolatey or NuGet.
This option is mandatory.
-source arg Package location to install. If its path contains any
spaces, you shall surround with "(double quotes).
This option is mandatory.
CMD C:\>
List
CMD C:\> prig list -help
LISTER OPTIONS
Specify options to list the packages that Prig installed as targets.
==== EXAMPLE 1 ====
CMD C:\> prig list NUnit -localonly
This command lists the packages that Prig installed as the method replacement targets. Pac
kages are filtered by the name "NUnit".
:
-help Display help message.
-filter arg Filter to list. It is used as partial matching term,
and also the case is ignored. If this option is not
specified, the command enumerates all installed
packages.
-localonly Indicates the search location is local only. In current
version, this option is ignored if specified.
CMD C:\>
Update
CMD C:\> prig update -help
UPDATER OPTIONS
Specify options to upgrade a package.
==== EXAMPLE 1 ====
CMD C:\> prig update All -delegate "C:\Users\User\AdditionalDelegates\ThreeOrMor
eRefOutDelegates\bin\Release\ThreeOrMoreRefOutDelegates.dll"
This command updates all package to use additional delegates for a method replac
ement. Also you have to specify the -delegate option because the delegates is co
ntained in ThreeOrMoreRefOutDelegates.dll
:
-help Display help message.
-package arg Specify the packages to update by semicolon delimited
format. `All` indicates applying same upgrade option to
all installed packages.
-delegate arg A configuration for update. This option adds the
assembly that contains the indirection delegates. This
option can only be specified when specifying `package`
option to `All`. If its path contains any spaces, you
shall surround with "(double quotes). Also, if you want
to use multiple assemblies, specify them by semicolon
delimited format.
CMD C:\>
Uninstall
CMD C:\> prig uninstall -help
UNINSTALLER OPTIONS
Specify options to uninstall a package from Prig.
==== EXAMPLE 1 ====
CMD C:\> prig uninstall NUnit
This command uninstalls NUnit from Prig.
:
-help Display help message.
-package arg Package to uninstall. You have to specify the package
name that is same as when installed. However, the case
is insensitive.
This option is mandatory.
CMD C:\>
from prig.
Fixed at https://github.com/urasandesu/Prig/releases/tag/v2.0.0-alpha04
from prig.
Related Issues (20)
- install the prig without visual studio HOT 5
- Mocking not working at all under VS 2015 Professional (Windows 7 Pro SP1) HOT 1
- Cannot re-register after unregistering Prig
- Cannot target x86 architecture on a x64 machine
- Houston is anyone there? HOT 1
- This project is now dead? HOT 1
- Support Run All HOT 4
- Problem debugging prig MSTests with ReSharper test runner HOT 4
- TeamCity Support HOT 7
- Prig test run crashing (when a nested static, unstubbed method is called) HOT 40
- MsTest: The method of generic type that has declaring type parameter excluding this cannot detour HOT 1
- MsTest: Test runner will crash when stubbing a shared member that shouldn't matter HOT 8
- Add Prig Assembly is failed immediately after installation
- Visual Studio 2017 support HOT 18
- From VS IDE unable to successfully run multiple test projects HOT 2
- Cannot uninstall Prig except for en-us locale environment
- Dotnet core support HOT 2
- Getting an error while buliding the project HOT 4
- How would i use this on CI HOT 1
- Stub a method of the parent type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prig.