Releases: atata-framework/atata-cli
Releases · atata-framework/atata-cli
2.2.0
Changelog
Added
- Add
CliCommand.Kill(bool entireProcessTree)method. - Add
CliCommand.Processproperty.
Links
- Atata.Cli 2.2.0 on NuGet
- Full Changelog: v2.1.0...v2.2.0
2.1.0
Changelog
Added
- Add
CliCommandResultValidationRulesenumeration with the flag values:None,ZeroExitCode,NoError,ZeroExitCodeAndNoError. - Add
public CliCommandResultValidationRules ResultValidationRules { get; set; } = CliCommandResultValidationRules.ZeroExitCodeproperty toProgramCli.
Changed
- Change default
CliCommandResultvalidation inExecuteandExecuteAsyncmethods to checkExitCode == 0instead ofHasError == false. - Add exit code to
CliCommandExceptionmessage.
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
ShellCliCommandFactoryabstract and remove its obsolete behavior. - Set default value of
ProgramCli.DefaultShellCliCommandFactorytoOSDependentShellCliCommandFactory.UseCmdForWindowsAndShForOthers().
Links
1.4.0
Changelog
Added
- Add
CmdShellCliCommandFactoryclass. - Add
UnixShellCliCommandFactoryclass. - Add
BashShellCliCommandFactoryclass. - Add
ShShellCliCommandFactoryclass. - Add
SudoShellCliCommandFactoryclass. - Add
OSDependentShellCliCommandFactoryclass. - Add
public static ICliCommandFactory DefaultShellCliCommandFactory { get; set; }
property toProgramCli. - Add
public ICliCommandFactory CliCommandFactory { get; set; }property toProgramCli. - Add
WithCliCommandFactory(ICliCommandFactory cliCommandFactory)method toProgramCliandProgramCli<TCli>.
Changed
- Improve
ShellCliCommandFactoryto 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 WorkingDirectoryproperty toCliCommandResult.
Changed
- Change the format of
CliCommandExceptionmessage. Add "Working directory" to message.
Links
1.2.0
Changelog
Added
- Add
HasErrorproperty toCliCommandResult. - Add
WithWorkingDirectory(string)method toProgramCliandProgramCli<TCli>. - Add
ExecuteRawAsync(string)method toProgramCli.
Changed
- Change access modifier of
ProgramCli.ExecuteRaw(string)method fromprotectedtopublic.