35 lines
769 B
Go
35 lines
769 B
Go
package endpoints
|
|
|
|
/* ---------------------------------------------------------------- *
|
|
* IMPORTS
|
|
* ---------------------------------------------------------------- */
|
|
|
|
import (
|
|
"ads/internal/core/logging"
|
|
"ads/internal/setup"
|
|
)
|
|
|
|
/* ---------------------------------------------------------------- *
|
|
* ENDPOINT version
|
|
* ---------------------------------------------------------------- */
|
|
|
|
func Version() {
|
|
logging.SetForce(true)
|
|
logging.LogPlain(setup.Version())
|
|
}
|
|
|
|
/* ---------------------------------------------------------------- *
|
|
* ENDPOINT help
|
|
* ---------------------------------------------------------------- */
|
|
|
|
func Help() {
|
|
logging.SetForce(true)
|
|
logging.LogPlain(
|
|
"",
|
|
setup.Logo(),
|
|
// cli.Parser.Usage(nil),
|
|
setup.Help(),
|
|
"",
|
|
)
|
|
}
|