Repository navigation
Releases: kgs19/cmdx
Releases · kgs19/cmdx
Release list
v1.0.2 - Initial Release
A new Go library for executing OS commands and handling their output, along with several examples and tests to demonstrate its usage. Key changes include the addition of command execution functions, a custom error type, configuration settings, and workflow automation for building and testing the project.
New Features:
-
Command Execution Functions:
- Added functions to execute commands and handle their output in various ways (
cmd.go). - Introduced a custom error type
CommandErrorto represent command execution errors (cmd_error.go).
- Added functions to execute commands and handle their output in various ways (
-
Configuration:
- Added a configuration struct
Configto manage settings like command directory and printing options (config.go).
- Added a configuration struct
Workflow and Build:
-
GitHub Actions Workflow:
- Created a GitHub Actions workflow to build and test the Go project (
.github/workflows/go.yml).
- Created a GitHub Actions workflow to build and test the Go project (
-
Makefile:
- Added targets for formatting code, running tests, and running examples (
Makefile).
- Added targets for formatting code, running tests, and running examples (
Documentation and Examples:
-
Examples:
- Added multiple example files demonstrating the usage of the command execution functions (
examples/)
- Added multiple example files demonstrating the usage of the command execution functions (
-
README:
- Updated the README file to remove outdated information (
README.md).
- Updated the README file to remove outdated information (
Testing:
- Unit Tests:
- Added unit tests for the command execution functions (
cmd_test.go).
- Added unit tests for the command execution functions (