(profile string)
| 778 | } |
| 779 | |
| 780 | func (b CommandBuilder) serviceVersionFromProfile(profile string) string { |
| 781 | config := b.ConfigProvider.Config(profile) |
| 782 | if config == nil { |
| 783 | return "" |
| 784 | } |
| 785 | return config.ServiceVersion |
| 786 | } |
| 787 | |
| 788 | func (b CommandBuilder) Create(args []string) ([]*CommandDefinition, error) { |
| 789 | serviceVersion := b.parseArgument(args, FlagNameServiceVersion) |