This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.LibMan.
Summary
Contains settings used by
LibManInstaller
.
- Assembly
- Cake
.LibMan .dll - Namespace
- Cake
.LibMan .Install - Base Types
-
- ToolSettings
- LibManSettings
graph BT
Type-->Base0["LibManSettings"]
click Base0 "/api/Cake.LibMan/LibManSettings"
Base0-->Base1["ToolSettings"]
Type["LibManInstallSettings"]
class Type type-node
Syntax
public class LibManInstallSettings : LibManSettings
Constructors
Name | Summary |
---|---|
Lib |
Initializes a new instance of the LibManInstallSettings class.
|
Properties
Name | Value | Summary |
---|---|---|
Command | string |
Gets the command which should be run.
Inherited from LibManSettings
|
Destination | DirectoryPath |
The location to install the library. If not specified, the default location is used. If no defaultDestination property is specified in libman.json, this option is required.
|
Files | IList |
Specify the name of the file to install from the library. If not specified, all files from the library are installed. Provide one --files option per file to be installed. Relative paths are supported too. For example: --files dist/browser/signalr.js.
|
Library | string |
The name of the library to install. This name may include version number notation (for example, @1.2.0).
This is required.
|
Provider | CdnProvider |
The name of the provider to use for the library acquisition. If not specified, the defaultProvider property in libman.json is used. If no defaultProvider property is specified in libman.json, this option is required.
|
Redirect |
bool |
Gets or sets the process option to redirect standard error
Inherited from LibManSettings
|
Redirect |
bool |
Gets or sets the process option to redirect standard output
Inherited from LibManSettings
|
Verbosity | LibManVerbosity |
Gets or sets the verbosity level which should be used to run the libman command.
Inherited from LibManSettings
|
Methods
Name | Value | Summary |
---|---|---|
EvaluateCore |
void |
Evaluates the settings and writes them to args.
|
Extension Methods
Name | Value | Summary |
---|---|---|
AddFile |
Lib |
Adds a specific file to restore from the library.
Requires the Cake.LibMan addin
|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
FromPath |
LibManSettings |
Sets the working directory which should be used to run the libman command.
Requires the Cake.LibMan addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
SetLibrary |
Lib |
Installs a client side library by name, version, and scope.
Requires the Cake.LibMan addin
|
SetLibrary |
Lib |
Installs a client side library by name and scope.
Requires the Cake.LibMan addin
|
SetLibrary |
Lib |
Installs a client side library by name and version.
Requires the Cake.LibMan addin
|
SetLibraryFromPath |
Lib |
Installs a client side library by file Path or Url. Sets the CdnProvider to filesystem.
Requires the Cake.LibMan addin
|
SetScopedLibrary |
Lib |
Installs a client side library by name and scope.
Requires the Cake.LibMan addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
WithDestination |
Lib |
Sets the destination directory path to install the client side library files too.
Requires the Cake.LibMan addin
|
WithProvider |
Lib |
Sets the cbn provider to retrieve the client side library from. Cannot set to Default.
Requires the Cake.LibMan addin
|
WithVerbosity |
LibManSettings |
Sets the verbosity level which should be used to run the libman command.
Requires the Cake.LibMan addin
|