mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
<endpoint> in command usage. #15
This commit is contained in:
+3
-3
@@ -35,11 +35,11 @@ func aptlyPublishDrop(cmd *commander.Command, args []string) error {
|
|||||||
func makeCmdPublishDrop() *commander.Command {
|
func makeCmdPublishDrop() *commander.Command {
|
||||||
cmd := &commander.Command{
|
cmd := &commander.Command{
|
||||||
Run: aptlyPublishDrop,
|
Run: aptlyPublishDrop,
|
||||||
UsageLine: "drop <distribution> [<prefix>]",
|
UsageLine: "drop <distribution> [[<endpoint>:]<prefix>]",
|
||||||
Short: "remove published repository",
|
Short: "remove published repository",
|
||||||
Long: `
|
Long: `
|
||||||
Command removes whatever has been published under specified <prefix> and
|
Command removes whatever has been published under specified <prefix>,
|
||||||
<distribution> name.
|
publishing <endpoint> and <distribution> name.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@ import (
|
|||||||
func makeCmdPublishRepo() *commander.Command {
|
func makeCmdPublishRepo() *commander.Command {
|
||||||
cmd := &commander.Command{
|
cmd := &commander.Command{
|
||||||
Run: aptlyPublishSnapshotOrRepo,
|
Run: aptlyPublishSnapshotOrRepo,
|
||||||
UsageLine: "repo <name> [<prefix>]",
|
UsageLine: "repo <name> [[<endpoint>:]<prefix>]",
|
||||||
Short: "publish local repository",
|
Short: "publish local repository",
|
||||||
Long: `
|
Long: `
|
||||||
Command publishes current state of local repository ready to be consumed
|
Command publishes current state of local repository ready to be consumed
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ func aptlyPublishSnapshotOrRepo(cmd *commander.Command, args []string) error {
|
|||||||
func makeCmdPublishSnapshot() *commander.Command {
|
func makeCmdPublishSnapshot() *commander.Command {
|
||||||
cmd := &commander.Command{
|
cmd := &commander.Command{
|
||||||
Run: aptlyPublishSnapshotOrRepo,
|
Run: aptlyPublishSnapshotOrRepo,
|
||||||
UsageLine: "snapshot <name> [<prefix>]",
|
UsageLine: "snapshot <name> [[<endpoint>:]<prefix>]",
|
||||||
Short: "publish snapshot",
|
Short: "publish snapshot",
|
||||||
Long: `
|
Long: `
|
||||||
Command publishes snapshot as Debian repository ready to be consumed
|
Command publishes snapshot as Debian repository ready to be consumed
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ func aptlyPublishSwitch(cmd *commander.Command, args []string) error {
|
|||||||
func makeCmdPublishSwitch() *commander.Command {
|
func makeCmdPublishSwitch() *commander.Command {
|
||||||
cmd := &commander.Command{
|
cmd := &commander.Command{
|
||||||
Run: aptlyPublishSwitch,
|
Run: aptlyPublishSwitch,
|
||||||
UsageLine: "switch <distribution> [<prefix>] <new-snapshot>",
|
UsageLine: "switch <distribution> [[<endpoint>:]<prefix>] <new-snapshot>",
|
||||||
Short: "update published repository by switching to new snapshot",
|
Short: "update published repository by switching to new snapshot",
|
||||||
Long: `
|
Long: `
|
||||||
Command switches in-place published repository with new snapshot contents. All
|
Command switches in-place published repository with new snapshot contents. All
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ func aptlyPublishUpdate(cmd *commander.Command, args []string) error {
|
|||||||
func makeCmdPublishUpdate() *commander.Command {
|
func makeCmdPublishUpdate() *commander.Command {
|
||||||
cmd := &commander.Command{
|
cmd := &commander.Command{
|
||||||
Run: aptlyPublishUpdate,
|
Run: aptlyPublishUpdate,
|
||||||
UsageLine: "update <distribution> [<prefix>]",
|
UsageLine: "update <distribution> [[<endpoint>:]<prefix>]",
|
||||||
Short: "update published local repository",
|
Short: "update published local repository",
|
||||||
Long: `
|
Long: `
|
||||||
Command re-publishes (updates) published local repository. <distribution>
|
Command re-publishes (updates) published local repository. <distribution>
|
||||||
|
|||||||
Reference in New Issue
Block a user