catalog add

Add entries from build directories or archive files.

Usage

xorq catalog add PATHS... [OPTIONS]

Arguments

  • PATHS—One or more paths; each is a build directory (typically produced by xorq build) or an archive file (.zip).

Options

Option Default Description
--sync / --no-sync --sync Push the catalog to its remotes after the operation.
-a, --alias none Alias to assign to each added entry (repeatable).

Examples

# Add a single build directory
xorq catalog add builds/f02d28198715
# Add multiple builds in one invocation
xorq catalog add builds/f02d28198715 builds/c5a981ab43cd
# Assign aliases at add time (applied to each added entry)
xorq catalog add builds/f02d28198715 -a penguins-prod -a current
# Defer the push to a later `xorq catalog push`
xorq catalog add builds/f02d28198715 --no-sync

See also