cli

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoMigrations

func DoMigrations(c *cli.Context) error

DoMigrations runs the migration for a given table and env

func Login

func Login(c *cli.Context) error

Login logs the user in

func MigrationAdd

func MigrationAdd(c *cli.Context) error

MigrationAdd add a new migration to the platform

func MigrationDelete

func MigrationDelete(c *cli.Context) error

MigrationDelete removes a migration from the platform

func MigrationList

func MigrationList(c *cli.Context) error

MigrationList list available migrations for a table and env

func MigrationSet

func MigrationSet(c *cli.Context) error

MigrationSet sets the current migration If you have 3 applied migrations, and you want to roll back to migration 2 You can set migration to 2, and the next time you run migrations, you'll do a down migrtion for 3

func MigrationTableList

func MigrationTableList(c *cli.Context) error

MigrationTableList lists all the tables we have a migration for, for a given env

func Register

func Register(c *cli.Context) error

Register registers the user with the system

func ScriptGet

func ScriptGet(c *cli.Context) error

ScriptGet returns a script from the platform

func ScriptGetCompile

func ScriptGetCompile(c *cli.Context) error

ScriptGetCompile returns a script from the platform and compiles it

func ScriptList

func ScriptList(c *cli.Context) error

ScriptList lists all the available scripts

func ScriptRegister

func ScriptRegister(c *cli.Context) error

ScriptRegister registers a script with the platform

func Server

func Server(c *cli.Context) error

Server returns the current server version

func Token

func Token(c *cli.Context) error

Token returns the current application token

func User

func User(c *cli.Context) error

User returns the acccount information for a given user

func Version

func Version(c *cli.Context) error

Version returns the current version info

Types

This section is empty.

Jump to

Keyboard shortcuts

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