cli

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cli contains the cli plugin that generates application entrypoint and cli commands for the projects: e.g. graphql server with playground. Also, it gets environment variables and cli arguments and injects them into the application. You can run multiple projects at the same time in one command or can run them separately.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
}

CLI contains configuration of xgen-cli

func NewPlugin

func NewPlugin() *CLI

func (*CLI) Generate

func (xc *CLI) Generate(ctx context.Context) error

Generate generates code from templates

func (*CLI) Name

func (xc *CLI) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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