LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

apx-stacks

Manage stack configurations for apx subsystems

TLDR

Interactively create a new stack configuration
$ apx stacks new
copy
Interactively update a stack configuration
$ apx stacks update [name]
copy
List all available stack configurations
$ apx stacks list
copy
Show information about a specific stack
$ apx stacks show [name]
copy
Remove a specified stack configuration
$ apx stacks rm --name [name]
copy
Import a stack configuration from file
$ apx stacks import --input [path/to/stack.yml]
copy
Export a stack configuration to file
$ apx stacks export --name [name] --output [path/to/output_file]
copy

SYNOPSIS

apx stacks command [options]

DESCRIPTION

apx stacks manages stack configurations in apx. A stack defines a combination of a base container image and a package manager, serving as the foundation for subsystems.User-created stack configurations are stored in ~/.local/share/apx/stacks. Stacks can be shared between systems by exporting and importing YAML configuration files.

PARAMETERS

-n, --name string

Specify the stack name
-b, --base string
Base container image for the stack (used by new and update)
-p, --packages string
Packages to preinstall (used by new and update)
-k, --pkg-manager string
Package manager to use (used by new and update)
-y, --no-prompt string
Assume default answers, do not prompt interactively
-f, --force
Remove the stack without asking for confirmation (used by rm)
-i, --input path
Path to the stack configuration file to import
-o, --output path
Path for the exported stack file (defaults to current directory)

SUBCOMMANDS

new

Create a new stack configuration interactively
update
Modify an existing stack configuration
list
Display all available stack configurations
show
Show information about a specific stack
rm
Remove a stack configuration
import
Import a stack from a YAML file
export
Export a stack to a YAML file

SEE ALSO

RESOURCES

Copied to clipboard
Kai