hello

package
v1.5.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package hello

Copyright © 2023 zcubbs https://github.com/zcubbs

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "hello",
	Short: "hello is used for test purposes",
	Long:  ``,
	Run: func(cmd *cobra.Command, args []string) {
		verbose := cmd.Flag("verbose").Value.String() == "true"
		util.Must(
			util.RunTask(func() error {
				style.PrintColoredHeader("Hello")
				style.PrintInfo("world!")
				return nil
			}, verbose))
	},
}

Cmd represents the os command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL