-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: John Bristowe <john.bristowe@octopus.com>
- Loading branch information
1 parent
672fd7f
commit 20d66b3
Showing
7 changed files
with
551 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package azure_web_app | ||
|
||
import ( | ||
"fmt" | ||
cmdCreate "github.com/OctopusDeploy/cli/pkg/cmd/target/azure-web-app/create" | ||
"github.com/OctopusDeploy/cli/pkg/constants" | ||
"github.com/OctopusDeploy/cli/pkg/factory" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func NewCmdAzureWebApp(f factory.Factory) *cobra.Command { | ||
cmd := &cobra.Command{ | ||
Use: "azure-web-app <command>", | ||
Short: "Manage Azure Web App deployment targets", | ||
Long: "Work with Azure Web App deployment targets in Octopus Deploy.", | ||
Example: fmt.Sprintf("$ %s deployment-target azure-web-app list", constants.ExecutableName), | ||
} | ||
|
||
//cmd.AddCommand(cmdList.NewCmdList(f)) | ||
cmd.AddCommand(cmdCreate.NewCmdCreate(f)) | ||
return cmd | ||
} |
Oops, something went wrong.