cmd

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Overview

Package cmd provides utilities for managing apps and packages that use the Cogent Core framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(c *config.Config) error

Build builds an executable for the package at the config path for the config platforms.

func Changed

func Changed(c *config.Config) error

Changed concurrently prints all of the repositories within this directory that have been changed and need to be updated in Git.

func Install

func Install(c *config.Config) error

Install installs the package on the local system. It uses the same config info as build.

func Log

func Log(c *config.Config) error

Log prints the logs from your app running on Android to the terminal. Android is the only supported platform for log; use the -debug flag on run for other platforms.

func NextRelease

func NextRelease(c *config.Config) error

NextRelease releases the project with the current git version tag incremented by one patch version.

func Pack

func Pack(c *config.Config) error

Pack builds and packages the app for the target platform. For android, ios, and web, it is equivalent to build.

func Pull

func Pull(c *config.Config) error

Pull concurrently pulls all of the Git repositories within the current directory.

func Release

func Release(c *config.Config) error

Release releases the project with the specified git version tag.

func Run

func Run(c *config.Config) error

Run builds and runs the config package. It also displays the logs generated by the app. It uses the same config info as build.

func Setup

func Setup(c *config.Config) error

Setup installs platform-specific dependencies for the current platform. It only needs to be called once per system.

Types

This section is empty.

Directories

Path Synopsis
Package config contains the configuration structs for the Cogent Core tool.
Package config contains the configuration structs for the Cogent Core tool.
Package generate provides the generation of useful methods, variables, and constants for Cogent Core code.
Package generate provides the generation of useful methods, variables, and constants for Cogent Core code.
Package mobile provides functions for building Cogent Core apps for mobile devices.
Package mobile provides functions for building Cogent Core apps for mobile devices.
binres
Package binres implements encoding and decoding of android binary resources.
Package binres implements encoding and decoding of android binary resources.
sdkpath
Package sdkpath provides functions for locating the Android SDK.
Package sdkpath provides functions for locating the Android SDK.
Package web provides functions for building Cogent Core apps for the web.
Package web provides functions for building Cogent Core apps for the web.

Jump to

Keyboard shortcuts

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