Skip to content

Releases: atata-framework/atata-cli

2.2.0

29 Jul 13:11
Compare
Choose a tag to compare

Changelog

Added

  • Add CliCommand.Kill(bool entireProcessTree) method.
  • Add CliCommand.Process property.

Links

2.1.0

21 Jul 11:56
Compare
Choose a tag to compare

Changelog

Added

  • Add CliCommandResultValidationRules enumeration with the flag values: None, ZeroExitCode, NoError, ZeroExitCodeAndNoError.
  • Add public CliCommandResultValidationRules ResultValidationRules { get; set; } = CliCommandResultValidationRules.ZeroExitCode property to ProgramCli.

Changed

  • Change default CliCommandResult validation in Execute and ExecuteAsync methods to check ExitCode == 0 instead of HasError == false.
  • Add exit code to CliCommandException message.

Links

2.0.0

10 May 15:29
Compare
Choose a tag to compare

Changelog

Added

  • Add UseCmdForWindowsAndShForOthers() static method to OSDependentShellCliCommandFactory.

Changed

  • Make ShellCliCommandFactory abstract and remove its obsolete behavior.
  • Set default value of ProgramCli.DefaultShellCliCommandFactory to OSDependentShellCliCommandFactory.UseCmdForWindowsAndShForOthers().

Links

Atata.Cli 2.0.0 on NuGet

1.4.0

25 Mar 11:39
Compare
Choose a tag to compare

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 to ProgramCli.
  • Add public ICliCommandFactory CliCommandFactory { get; set; } property to ProgramCli.
  • Add WithCliCommandFactory(ICliCommandFactory cliCommandFactory) method to ProgramCli and ProgramCli<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

Atata.Cli 1.4.0 on NuGet

1.3.0

23 Jul 13:15
Compare
Choose a tag to compare

Changelog

Added

  • Add string WorkingDirectory property to CliCommandResult.

Changed

  • Change the format of CliCommandException message. Add "Working directory" to message.

Links

Atata.Cli 1.3.0 on NuGet

1.2.0

21 Jul 11:14
Compare
Choose a tag to compare

Changelog

Added

  • Add HasError property to CliCommandResult.
  • Add WithWorkingDirectory(string) method to ProgramCli and ProgramCli<TCli>.
  • Add ExecuteRawAsync(string) method to ProgramCli.

Changed

  • Change access modifier of ProgramCli.ExecuteRaw(string) method from protected to public.

Links

Atata.Cli 1.2.0 on NuGet

1.1.0

25 Jun 09:50
Compare
Choose a tag to compare

Changelog

Fixed

  • Fix bash commands execution

Links

Atata.Cli 1.1.0 on NuGet

1.0.0

24 Jun 13:54
Compare
Choose a tag to compare

Initial version release.

Links

Atata.Cli 1.0.0 on NuGet