MCPcopy Create free account
hub / github.com/aptly-dev/aptly / makeCmdTaskRun

Function makeCmdTaskRun

cmd/task_run.go:131–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func makeCmdTaskRun() *commander.Command {
132 cmd := &commander.Command{
133 Run: aptlyTaskRun,
134 UsageLine: "run (-filename=<filename> | <commands>...)",
135 Short: "run aptly tasks",
136 Long: `
137Command helps organise multiple aptly commands in one single aptly task, running as single thread.
138
139Example:
140
141 $ aptly task run
142 > repo create local
143 > repo add local pkg1
144 > publish repo local
145 > serve
146 >
147
148`,
149 }
150
151 cmd.Flag.String("filename", "", "specifies the filename that contains the commands to run")
152 return cmd
153}

Callers 1

makeCmdTaskFunction · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected