commands

package
v1.0.0-alpha35 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Overview

Package commands contains the definition for all the commands present in Hasura CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute executes the command and returns the error

func ExecuteMigration

func ExecuteMigration(cmd string, t *migrate.Migrate, stepOrVersion int64) error

func NewConsoleCmd

func NewConsoleCmd(ec *cli.ExecutionContext) *cobra.Command

func NewDocsCmd

func NewDocsCmd(ec *cli.ExecutionContext) *cobra.Command

func NewInitCmd

func NewInitCmd(ec *cli.ExecutionContext) *cobra.Command

NewInitCmd is the definition for init command

func NewMetadataCmd

func NewMetadataCmd(ec *cli.ExecutionContext) *cobra.Command

func NewMigrateCmd

func NewMigrateCmd(ec *cli.ExecutionContext) *cobra.Command

func NewVersionCmd

func NewVersionCmd(ec *cli.ExecutionContext) *cobra.Command

NewVersionCmd returns the version command

func PrintStatus

func PrintStatus(status *migrate.Status) *bytes.Buffer

Types

This section is empty.

Jump to

Keyboard shortcuts

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