func InitApp() (*App, error) {
	panic(
		wire.Build(
			NewApp,
			NewFlags,
			NewLifecycle,
			cconfig.New,
			clogger.NewWithConfig,
			clogger.LoadConfig,
			wire.FieldsOf(new(*Flags), "Env", "ConfigDir", "ProjectDir"),
		),
	)
}
InitApp creates a new Copper app along with its dependencies.
package copper
import (
	"github.com/gocopper/copper/cconfig"
	"github.com/gocopper/copper/clogger"
	"github.com/google/wire"
)