Releases: atata-framework/atata-cli
Releases · atata-framework/atata-cli
2.2.0
Changelog
Added
- Add
CliCommand.Kill(bool entireProcessTree)
method. - Add
CliCommand.Process
property.
Links
- Atata.Cli 2.2.0 on NuGet
- Full Changelog: v2.1.0...v2.2.0
2.1.0
Changelog
Added
- Add
CliCommandResultValidationRules
enumeration with the flag values:None
,ZeroExitCode
,NoError
,ZeroExitCodeAndNoError
. - Add
public CliCommandResultValidationRules ResultValidationRules { get; set; } = CliCommandResultValidationRules.ZeroExitCode
property toProgramCli
.
Changed
- Change default
CliCommandResult
validation inExecute
andExecuteAsync
methods to checkExitCode == 0
instead ofHasError == false
. - Add exit code to
CliCommandException
message.
Links
- Atata.Cli 2.1.0 on NuGet
- Full Changelog: v2.0.0...v2.1.0
2.0.0
Changelog
Added
- Add
UseCmdForWindowsAndShForOthers()
static method toOSDependentShellCliCommandFactory
.
Changed
- Make
ShellCliCommandFactory
abstract and remove its obsolete behavior. - Set default value of
ProgramCli.DefaultShellCliCommandFactory
toOSDependentShellCliCommandFactory.UseCmdForWindowsAndShForOthers()
.
Links
1.4.0
Changelog
Added
- Add
CmdShellCliCommandFactory
class. - Add
UnixShellCliCommandFactory
class. - Add
BashShellCliCommandFactory
class. - Add
ShShellCliCommandFactory
class. - Add
SudoShellCliCommandFactory
class. - Add
OSDependentShellCliCommandFactory
class. - Add
public static ICliCommandFactory DefaultShellCliCommandFactory { get; set; }
property toProgramCli
. - Add
public ICliCommandFactory CliCommandFactory { get; set; }
property toProgramCli
. - Add
WithCliCommandFactory(ICliCommandFactory cliCommandFactory)
method toProgramCli
andProgramCli<TCli>
.
Changed
- Improve
ShellCliCommandFactory
to be stick to a specific shell and can be used as a base class for a specific shell CLI command factory.
Links
1.3.0
Changelog
Added
- Add
string WorkingDirectory
property toCliCommandResult
.
Changed
- Change the format of
CliCommandException
message. Add "Working directory" to message.
Links
1.2.0
Changelog
Added
- Add
HasError
property toCliCommandResult
. - Add
WithWorkingDirectory(string)
method toProgramCli
andProgramCli<TCli>
. - Add
ExecuteRawAsync(string)
method toProgramCli
.
Changed
- Change access modifier of
ProgramCli.ExecuteRaw(string)
method fromprotected
topublic
.