-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathcommands.go
More file actions
96 lines (76 loc) · 2 KB
/
commands.go
File metadata and controls
96 lines (76 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package main
import (
"github.com/opentable/sous/commands"
"github.com/opentable/sous/core"
)
func loadCommands() map[string]*core.Command {
return map[string]*core.Command{
"build": {
commands.Build, commands.BuildHelp,
"build your project"},
"clean": {
commands.Clean, commands.CleanHelp,
"delete your project's containers and images"},
"dockerfile": {
commands.Dockerfile, commands.DockerfileHelp,
"print current dockerfile"},
"push": {
commands.Push, commands.PushHelp,
"push your project"},
"run": {
commands.Run, commands.RunHelp,
"run your project"},
"contracts": {
commands.Contracts, commands.ContractsHelp,
"check project against platform contracts",
},
"logs": {
commands.Logs, commands.LogsHelp,
"view stdout and stderr from containers",
},
"ls": {
commands.Ls, commands.LsHelp,
"list images, containers and other artifacts",
},
"image": {
commands.Image, commands.ImageHelp,
"print last built docker image tag"},
"update": {
commands.Update, commands.UpdateHelp,
"update sous config",
},
"detect": {
commands.Detect, commands.DetectHelp,
"detect available actions"},
"stamp": {
commands.Stamp, commands.StampHelp,
"stamp labels onto docker images"},
"test": {
commands.Test, commands.TestHelp,
"test your project"},
"build-path": {
commands.BuildPath, commands.BuildPathHelp,
"build state directory"},
"help": {
commands.Help, commands.HelpHelp,
"show this help"},
"version": {
commands.Version, commands.VersionHelp,
"show version info"},
"config": {
commands.Config, commands.ConfigHelp,
"get/set config properties"},
"parse": {
commands.ParseState, commands.ParseStateHelp,
"parse global state directory"},
"state": {
commands.State, commands.StateHelp,
"global deployment state"},
"task_host": {
commands.TaskHost, commands.TaskHostHelp,
"get task host"},
"task_port": {
commands.TaskPort, commands.TaskPortHelp,
"get task port"},
}
}