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.7zip.
Summary
Show Rename about supported formats
(Command: rn).
The builder is RenameCommandBuilder
.
- Assembly
- Cake
.7zip .dll - Namespace
- Cake
.SevenZip .Commands - Interfaces
-
- ICommand
- IHaveArgumentArchive
- IHaveArgument
- I
Support Switch Include Filenames - I
Support Switch Compression Method - I
Support Switch Password - I
Support Switch Recurse Subdirectories - I
Support Switch Timestamp From Most Recent File - I
Support Switch Update Options - I
Support Switch Working Directory - I
Support Switch Exclude Filenames - ISupportSwitch
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ICommand"]
click Interface0 "/api/Cake.SevenZip.Commands/ICommand"
Type-.->Interface1["IHaveArgumentArchive"]
click Interface1 "/api/Cake.SevenZip.Arguments/IHaveArgumentArchive"
Type-.->Interface2["IHaveArgument"]
click Interface2 "/api/Cake.SevenZip.Arguments/IHaveArgument"
Type-.->Interface3["ISupportSwitchIncludeFilenames"]
click Interface3 "/api/Cake.SevenZip.Switches/ISupportSwitchIncludeFilenames"
Type-.->Interface4["ISupportSwitchCompressionMethod"]
click Interface4 "/api/Cake.SevenZip.Switches/ISupportSwitchCompressionMethod"
Type-.->Interface5["ISupportSwitchPassword"]
click Interface5 "/api/Cake.SevenZip.Switches/ISupportSwitchPassword"
Type-.->Interface6["ISupportSwitchRecurseSubdirectories"]
click Interface6 "/api/Cake.SevenZip.Switches/ISupportSwitchRecurseSubdirectories"
Type-.->Interface7["ISupportSwitchTimestampFromMostRecentFile"]
click Interface7 "/api/Cake.SevenZip.Switches/ISupportSwitchTimestampFromMostRecentFile"
Type-.->Interface8["ISupportSwitchUpdateOptions"]
click Interface8 "/api/Cake.SevenZip.Switches/ISupportSwitchUpdateOptions"
Type-.->Interface9["ISupportSwitchWorkingDirectory"]
click Interface9 "/api/Cake.SevenZip.Switches/ISupportSwitchWorkingDirectory"
Type-.->Interface10["ISupportSwitchExcludeFilenames"]
click Interface10 "/api/Cake.SevenZip.Switches/ISupportSwitchExcludeFilenames"
Type-.->Interface11["ISupportSwitch"]
click Interface11 "/api/Cake.SevenZip.Switches/ISupportSwitch"
Type["RenameCommand"]
class Type type-node
Syntax
public sealed class RenameCommand : ICommand, IHaveArgumentArchive, IHaveArgument,
ISupportSwitchIncludeFilenames, ISupportSwitchCompressionMethod, ISupportSwitchPassword,
ISupportSwitchRecurseSubdirectories, ISupportSwitchTimestampFromMostRecentFile,
ISupportSwitchUpdateOptions, ISupportSwitchWorkingDirectory, ISupportSwitchExcludeFilenames,
ISupportSwitch
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute |
Constructors
Name | Summary |
---|---|
RenameCommand |
Initializes a new instance of the RenameCommand class.
|
Properties
Name | Value | Summary |
---|---|---|
Archive | FilePath |
Sets the archive the command operates on.
|
CompressionMethod | Switch |
Gets or sets the compression method.
|
ExcludeFilenames | Switch |
Gets or sets the SwitchExcludeFilenameCollection.
|
IncludeFilenames | Switch |
Gets or sets the SwitchIncludeFilenameCollection.
|
Password | SwitchPassword |
Gets or sets the SwitchPassword.
|
Recurse |
Switch |
Gets or sets the SwitchRecurseSubdirectories.
|
RenamePairs | ICollection |
Gets the files to be renamed.
|
Timestamp |
Switch |
Gets or sets the SwitchSetTimestampFromMostRecentFile.
|
UpdateOptions | SwitchUpdateOptions |
Gets or sets the SwitchUpdateOptions.
|
WorkingDirectory | Switch |
Gets or sets the SwitchWorkingDirectory.
|
Methods
Name | Value | Summary |
---|---|---|
BuildArguments |
void |
Builds the arguments.
Used internally.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator 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
|
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
|