cmd

package module
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 18 Imported by: 0

README

GREST CLI

The command line interface for GREST applications

Installation

  1. Make sure you have Git and Go installed with GOPATH environment variable setted up.
  2. Install the CLI globally by running
go install grest.dev/cmd/grest@latest
  1. Check the version
grest version

Usage

# Initialize new app in the current directory
grest init

# Add a new end point for the current app
grest add

# Format the struct tag
grest fmt

# Print the grest version
grest version

# Help about any command
grest help

License

GREST officialy created, used, and maintained by Zahir Core Team. GREST is free and open-source software licensed under the MIT License.

Documentation

Index

Constants

View Source
const Version = "v0.0.20"

Variables

This section is empty.

Functions

func CmdAdd added in v0.0.3

func CmdAdd() *cobra.Command

func CmdFmt added in v0.0.3

func CmdFmt() *cobra.Command

func CmdInit added in v0.0.3

func CmdInit() *cobra.Command

func CmdVersion added in v0.0.3

func CmdVersion() *cobra.Command

func GetVersion added in v0.0.3

func GetVersion() string

func New added in v0.0.3

func New() *cobra.Command

func PrintVersion

func PrintVersion()

Types

This section is empty.

Directories

Path Synopsis
app
app is a package to accommodate classes or common variables that are used in almost all end points.
app is a package to accommodate classes or common variables that are used in almost all end points.
src
src/codegentemplate
codegentemplate is a package related to codegentemplate data.
codegentemplate is a package related to codegentemplate data.

Jump to

Keyboard shortcuts

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