Usage
Replace <CHANNEL> with the channel name, or <CHANNEL>/<SUBCHANNEL> for a subchannel. Use exactly one of the action options (such as —list, —create, —show).
Replace <#> with a number for
Replace <#> with a number for
--offset (-o) or --limit (-l).Description
Manages repository channels and subchannels: list channels, create or remove a channel, show channel details, list packages or files, view history, and change privacy (lock/unlock) or indexing (freeze/unfreeze). Exactly one action must be specified.Subchannels
A subchannel is a hierarchical division within an existing channel, referenced using the<CHANNEL>/<SUBCHANNEL> syntax. Subchannels operate independently from the parent channel—they can have their own mirroring configurations, privacy settings, and policies.
Most
channel actions that accept a <CHANNEL> argument also work with subchannels by specifying the full path.Options
Option
Default
Description
--listList all channels for the user
--create <CHANNEL>Create a new channel
--remove <CHANNEL>Remove a channel
--show <CHANNEL>Show information about the channel
--list-packages <CHANNEL> [ ... ]List packages in one or more channels
--history <CHANNEL>Show historical events for the channel
--package-changes <CHANNEL>Show package addition/removal history
--lock <CHANNEL>Lock channel (make private)
--soft-lock <CHANNEL>Soft-lock (authenticated users only)
--unlock <CHANNEL>Unlock channel (make public)
--freeze <CHANNEL>Freeze channel (prevent indexing updates)
--unfreeze <CHANNEL>Unfreeze channel (allow indexing updates)
-o, --offset <#>0Offset when displaying results
-l, --limit <#>50Limit when displaying results
--full-detailsShow full details (for example, for
list-packages, show)-h, --helpShow help for this command
Examples
List your channelsReplace <CHANNEL> with a name for the channel you want to create.
Replace <CHANNEL> with the name of the channel you want to view details for.
Replace <CHANNEL> with the name of the channel you want to view packages for.
Replace <CHANNEL> with the name of the channel you want to make private.
Replace <CHANNEL> with the name of the channel you want to freeze.
Replace <CHANNEL> with the name of the channel you want to view history for.
Replace <CHANNEL> with the name of the channel you want to view package changes for.
Subchannel examples
Create a subchannel within an existing channelReplace <CHANNEL> with the name of the channel you want to create a subchannel in, and <SUBCHANNEL> with the name of the subchannel you want to create.
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to view details for, and <SUBCHANNEL> with the name of the subchannel you want to view details for.
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to list packages for, and <SUBCHANNEL> with the name of the subchannel you want to list packages for.
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to view details for, and <SUBCHANNEL> with the name of the subchannel you want to view details for.
Replace <CHANNEL> with the name of the channel that contains the subchannel you want to remove, and <SUBCHANNEL> with the name of the subchannel you want to remove.