cmd

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package cmd contains the actual command defintions for the commands in the GoKi tool.

Index

Constants

This section is empty.

Variables

View Source
var TheApp = &App{}

TheApp is the singular instance of App

Functions

This section is empty.

Types

type App

type App config.Config

App is the main app type that handles the logic for the GoKi tool

func (*App) BuildCmd

func (a *App) BuildCmd() error

BuildCmd builds executables for a local package for one or more platforms.

func (*App) ColorgenCmd

func (a *App) ColorgenCmd() error

ColorgenCmd generates a Go color scheme declaration file from a Material Theme Builder Android Views XML file.

func (*App) Config

func (a *App) Config() *config.Config

Config returns the app as a config object

func (*App) InitCmd

func (a *App) InitCmd() error

InitCmd initializes the ".goki" directory and the configuration file in the current directory

func (*App) InstallCmd

func (a *App) InstallCmd() error

InstallCmd installs a local or global GoKi package to your device or mobile emulator

func (*App) LogCmd

func (a *App) LogCmd() error

LogCmd shows logs generated by your app through Android Studio and/or XCode

func (*App) ReleaseCmd

func (a *App) ReleaseCmd() error

ReleaseCmd releases the project by pushing a release with Git and releasing it on app stores if it is an executable app.

func (*App) VersionCmd added in v0.1.10

func (a *App) VersionCmd() error

VersionCmd updates the version file of the project and commits and pushes the changes.

Jump to

Keyboard shortcuts

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