Marker project aims to make markers available for everyone.
It is inspired by Kubernetes Markers, which help avoid boilerplate code and simplify code logic while working on kubernetes operators. And also it includes some code snippets from controller-tools.
Markers are single-comments that start with a plus, followed by a marker name, optionally followed some marker parameters, which are used to generate or verify code but add no logic at runtime.
To Install Marker CLI quickly, follow the installation instructions.
-
You first need Go installed (version 1.18+ is required), then you can use the below Go command to install Marker CLI.
$ go get -u github.com/procyon-projects/marker/...
-
Verify that you've installed Marker CLI by typing the following command.
$ marker version
-
Confirm that the command prints the installed version of Marker CLI.
Type the following command to display usage information for the Marker CLI.
$ marker help
Marker is released under Apache-2.0 License.