You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,15 @@ You could see PowerCommands as your CLI application starter kit. It is a structu
3
3
4
4
[Follow progress on twitter](https://twitter.com/PowerCommands) <imgsrc="https://github.com/PowerCommands/PowerCommands2022/blob/main/Docs/images/Twitter.png?raw=true"alt="drawing"width="20"/>
5
5
6
+
## Version 1.0.4.1
7
+
**Released 2025-01-21**
8
+
- PowerCommandPrivacyAttribute to prevent sensitive data leak out to the logfile.
9
+
- Improved dialog and toolbar service.
10
+
- New function for deserialization of Yaml.
11
+
- Improved ZipService.
12
+
- Every PowerCommand implementation now has it´s own working folder.
13
+
- Filter on dir command is now not case sensitive.
14
+
- Nuget packages has been updated.
6
15
## Version 1.0.4.0
7
16
**Released 2024-12-12**
8
17
- Added a new `FileCommand` command to Read, Copy, Move, Delete files and show file properties.
@@ -13,7 +22,7 @@ You could see PowerCommands as your CLI application starter kit. It is a structu
13
22
- Added the feature to `Commands` command to pickup and display diagnostics about the latest RunResult (if any) for a given command (by name).
14
23
- Log view is now the default action instead of viewing log files
15
24
- Improved `cd` and `dir` command, added som nice new features to them
Copy file name to clipboardExpand all lines: Templates/src/Core/PainKiller.PowerCommands.Core/COMMANDS/DirCommand.cs
+3-2
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,9 @@
3
3
namespace $safeprojectname$.Commands;
4
4
5
5
[PowerCommandDesign(description:"List the content of the working directory or this applications app directory, with the option to open the directory with the File explorer ",
6
-
options:"!filter|browse|drive-info",
7
-
example:"//List the content and open the current working directory|dir --open|//Open the AppData roaming directory|dir --app --open")]
6
+
disableProxyOutput:true,
7
+
options:"!filter|browse|drive-info",
8
+
example:"//List the content and open the current working directory|dir --open|//Open the AppData roaming directory|dir --app --open")]
if(latestCommandResult==null)returnBadParameterError("You must provide a valid file path as the first parameter (must be surrounded with quotation marks if filename contains whitespaces.");
59
+
if(latestCommandResult==null)returnBadParameterError("Could not fetch the latest command.");
if(!string.IsNullOrEmpty(GetOptionValue("target")))path=GetOptionValue("target");//If a path is provided with the option flag target, this will be used instead.
if(command==null)thrownewIndexOutOfRangeException($"{commandName} could not be found, please provide a valid Command name, run commands to see all available commands.");
if(command==null)thrownewIndexOutOfRangeException($"{commandName} could not be found, please provide a valid Command name, run commands to see all available commands.");
if(command==null)thrownewIndexOutOfRangeException($"{commandName} could not be found, please provide a valid Command name, run commands to see all available commands.");
0 commit comments