Releases: kristofferahl/go-centry
v0.2.0-prerelease
Changelog
cb8042c - Added a Validate func to Option.
c0407c0 - Added more tests and refactored manifest.
7e0bb98 - Added support for custom cli descriptions.
8bb3c37 - Added support for displaying subcommand descriptions and help texts. - Updated readme.
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.
5848048 - First attempt at using a new cli framework. WIP.
f85916f - Fixed bug in example.
fe086ea - Fixed issue with souring of invalid scripts.
9f2281b - Fixed spelling mistake ;)
291a2ad - Fixed spelling mistake.
0b3f59c - Fixing issue with nil default values.
ceaad4f - More work for using new cli.
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.
0ac6648 - [BREAKING] Changed format for command annotations in scripts. - Basic implementation for command options using script annotations. - Added tests for parsing annotations.
v0.1.0
Changelog
b18637e - A bit of refactoring of the help func.
8760efd - Added Executor to Context.
6455642 - Added a simple build script.
a240dfe - Added basic parsing of global options. - Changed synopsis to description for commands. - Added support for descriptions on global options.
000938a - Added basic schema validation.
8e85b22 - Added centry information to output.
8f94156 - Added goreleaser yaml and release script.
86b8bfd - Added logo example and fixed issue with option names containing dash.
33f2e35 - Added note about help texts.
13ec757 - Added shebang to source. - Enabled reading from stdin.
6721f43 - Added shebangs.
fded247 - Added support for -q and --quiet flags for turning off logging.
b960ed7 - Added support for annotations on options.
a516741 - Added support for basic auth (CENTRY_SERVE_USERNAME and CENTRY_SERVE_PASSWORD).
b3c8f46 - Added support for command annotations.
c956c2e - Added support for exposing commands over HTTP by using the internal serve command.
6a4e3d9 - Added support for short name options. - Removed default value for bool option.
e4cc9d8 - Added tests for config.log.level option and quiet flag.
e4015b0 - Adding a custom help function in order to display global options. - Started adding tests.
ec7c3b5 - Allowing cli name and version to be set from manifest file. - Renamed binary to centry. - Made the manifest path argument of centry a simple string.
f1cf6f5 - Better error message for invalid manifest path.
23fc39b - Cleaned up interactive example command.
974cd81 - Created a helper for captureing stdout and stderr.
df45860 - Disabled autocomplete and added install script.
6ffa357 - Enabled filtering of options enabled using the api.
413a86e - Enabling override of manifest loglevel.
b16c769 - Exporting flags to shell.
63d44d0 - First commit.
5ece915 - Fixed failing test.
891f263 - Fixed issue with bad matching of functions in scripts (command files).
c49a29f - Fixed issue with command description not being displayed if command only has subcommands.
2ef3c6e - Fixed issue with help and version flags.
3836272 - Fixed issues with option parsing (added tests). - Fixed issue with command execution (added tests).
d020d18 - Fixed issues with options parsing and improved the experience in general.
7cd32eb - Fixed typo.
bb824ec - Improved help output a bit.
3660734 - Included manifest options in global options.
b787239 - Including short option in help text. - Added test for --version and -v flags. - Refactored use of flag.FlagSet and created an OptionSet type.
9c15ada - Internalized packages.
3211c4b - More refactoring of script related code.
475f79f - Moved example files to examples/centry. - Removed TODO.
68d0fb0 - Moved files to pkg/centry.
039f4a4 - Moved install script and updated test script.
8132bc0 - Moved logger related to pkg/logger.
b14f798 - Moved main to cmd/centry.
ea4cafb - Moved manifest to pkg/config.
d6ab62d - Moved most of the code from main.go to centry.go. - Renamed test file from main_test to centry_test.
016e1fd - Moved package centry to cmd/centry.
1ceff6e - Moved scripts to scripts directory.
d317b8c - Moved test helpers to pkg/testing.
ebb8f06 - Moving bash related code to pkg/shell.
39f3e10 - Refactoring io.
d002a57 - Refactoring of help for options to get options printed on a single line.
6323e3c - Refactoring.
1726074 - Removed todo content from other project.
d27dc3d - Removed unused script files.
b7ade8f - Removed unused var.
d81b3fa - Renamed GetCommandPath to GetFullPath in DynamicCommand.
ac7bfa3 - Renamed LogManger to Manager in pkg/log.
c571bcf - Renamed command filter func.
f2bc410 - Renamed file options to option and added test file.
526d173 - Renamed file.
04c0e42 - Renamed package testing to pkg/test.
faed674 - Renamed the logging package to log.
c8e39cf - Returning errors instead of exiting. - Added a few test for Manifest reading/parsing.
25276c9 - Setting working directory and sourcing scripts.
444378f - Splitting up pkg/centry in smaller pieces.
f6f3868 - Started refactoring centry.
3b07d32 - Stopped using custom cli package.
f9165cf - Stopped using fmt.Sprintf in favour of logrus *f functions.
2c4faf5 - Stopped using log.Fatal in favour of returning errors or exit codes. - Minor refactoring to handle errors returned.
3dd284d - Tiny fix to make validation output better.
ac7b5cf - Updated example manifest.
f5267b7 - Updated examples.
c41438f - Updated readme.
91e4174 - Using go modules and fixed issue with validation.