Code Monkey home page Code Monkey logo

Comments (2)

urasandesu avatar urasandesu commented on May 25, 2024

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.

urasandesu avatar urasandesu commented on May 25, 2024

Fixed at https://github.com/urasandesu/Prig/releases/tag/v2.0.0-alpha04

from prig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.