Releases: kristofferahl/go-centry
v1.5.0
v1.4.0
Changelog
- 1a20b8f - Only allowing Select options (v1) to be specified once. - New: Select options v2.
- 9273a9b - Sanity check for stdin before triggering interactive help mode. - Enabled entering arguments (optional) as a last step in interactive help mode.
- 61b11f4 Added missing check for errors in runtime.go.
- 5cc7524 Added vscode launch config.
- 873cef9 Adding support for interactive help mode.
- e66575f Disabled test caching.
- ad578a9 Fix for wrong version of actions/checkout and added missing schema change.
- 186c124 Fixed failing test.
- 8108149 Improved interactive prompt with descriptions.
- bece583 Limiting centry manifest file extensions to yaml and yml.
- 5982b23 Merge pull request #3 from kristofferahl/feature/select-v2-and-interactive-help
- c9730dd Moving manifest file patch checks to readManifestFile.
- 20cc06d Trying CodeQL
- 84865b1 Updated CodeQL.
- 8148b42 Updated docs with select/v2 and interactive help.
- 27831ea Updated schema.
- 48e7f6c Updated to go 1.19 and fixing issue with monkey on M1.
v1.3.0
v1.2.0
Changelog
8ea1727 Added internal command for generating markdown documentation.
2af7c35 Added missing changes to go.sum.
29b764f Added tests and validation of required select options.
17e97b7 Adding alias (short name -f) for --file flag of generate-markdown command and set help text.
553a164 Adding fix for using dash in option names created by annotations.
aeb1087 Adding reminder for documenting internal commands.
b6277fc Adding support for required options.
6244527 Allowing feature branches to run CI.
d8e08af Fix displaying help for internal subcommands.
bcfd5bf Fixes for example "get env" command.
9ad29c9 Fixing pipeline feature branch match.
8cf5cc4 Merge pull request #1 from kristofferahl/feature/required-options
c9d141a Minor improvements to pipeline.
2ab9bf4 Modified pipeline syntax.
3f16508 Schema regenerated.
7968d43 Updated cli and added support for displaying required flags in help output.
v1.1.0
v1.0.0
Changelog
22c7d9c Added a better default description when none is given in config.
1dcd309 Added basic documentation for the config section of the manifest file.
57a29af Added documentation for arguments and scripts.
87c401e Added documentation for options.
90e9b51 Added missing link in docs.
813ae3a Added missing test for passing flags as argument to command.
4eb3dfd Adding link to docs from readme.
6f87fa4 Adding links for TOC.
a8d8f78 Changed the download path in readme.
687a413 Improved getting started guide.
48b93cb Started documenting commands in detail.
2844931 Started documenting commands.
104aa5e Started documenting options.
2f33646 Updated readme after new prerelease.
v1.0.0-prerelease2
v1.0.0-prerelease
Changelog
afda43b - Better usage of build and test scripts.
cff2892 Added example command that will always generate an error.
b60df7a Improved error message when manifest file is not found.
fb42e45 Improved logging of runtime events.
66503b6 Lowercasing log and error messages.
86cdc3f Set default path for manifest file, overrides using flag or environment variable.
v0.2.0-prerelease3
v0.2.0-prerelease2
Changelog
cb8042c - Added a Validate func to Option.
c0407c0 - Added more tests and refactored manifest.
7e0bb98 - Added support for custom cli descriptions.
2543a71 - Added support for hiding commands.
8a8edf2 - Added support for hiding options.
bef9dc5 - Adding more tests, running setup just once.
19f40d4 - Better tests for subcommands.
d4526ae - Changed help and version flag texts.
3c213e1 - Cleanup and refactoring of NewRuntime func and added more tests. - Moved and refactored things related to environment variables. - Moved and refactored things related to commands and building of commands. - Renamed functions in Script interface.
82a1253 - Enabled overriding the printed version using an environment variable. - Removed version from required property in the config object.
5848048 - First attempt at using a new cli framework. WIP.
f85916f - Fixed bug in example.
fe086ea - Fixed issue with souring of invalid scripts.
291a2ad - Fixed spelling mistake.
0b3f59c - Fixing issue with nil default values.
1fa652b - Made serve a subcommand of internal.
ceaad4f - More work for using new cli.
8375d0f - Namespaced centry options prefixing them with --centry-.
7964ce2 - Passing Function to script command.
b542c86 - Refactored runtime for better error handling with exit codes.
d8efcab - Refactored runtime tests and test data.
552dee4 - Removed comments from readme.
6a82784 - Removed unused func.
98ee134 - Updated the schema and added to test data.
0ac6648 - [BREAKING] Changed format for command annotations in scripts. - Basic implementation for command options using script annotations. - Added tests for parsing annotations.
8780fa2 Merge branch 'feature/new-cli-and-subcommand-options'