47 lines
753 B
Text
47 lines
753 B
Text
|
= Greetings
|
||
|
|
||
|
== Summary
|
||
|
|
||
|
Greet is a simple Go CLI application that greets a recipient.
|
||
|
This is a simple project used for the purpose of testing upcoming automation,
|
||
|
such as CI/CD integration and dependency management, which will be used by other projects
|
||
|
hosted in Code Flow.
|
||
|
|
||
|
== Project's Avatar
|
||
|
|
||
|
The project's avatar was made by https://www.flaticon.com/authors/smashicons[Smashicons] from https://www.flaticon.com[Flaticon].
|
||
|
|
||
|
== Requirements
|
||
|
|
||
|
- https://go.dev[Go]
|
||
|
|
||
|
== Build
|
||
|
|
||
|
[source,console]
|
||
|
----
|
||
|
$ go build -o greet .
|
||
|
----
|
||
|
|
||
|
== Run
|
||
|
|
||
|
Greet the world.
|
||
|
|
||
|
[source,console]
|
||
|
----
|
||
|
$ ./greet
|
||
|
----
|
||
|
|
||
|
Greet a person.
|
||
|
|
||
|
[source,console]
|
||
|
----
|
||
|
$ ./greet Bob
|
||
|
----
|
||
|
|
||
|
== Run Dagger Pipeline locally
|
||
|
|
||
|
[source,console]
|
||
|
----
|
||
|
$ pushd internal/build && go run . && popd
|
||
|
----
|