File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,20 @@ var unlinkAppSelectPromptFunc = prompts.AppSelectPrompt
3434// NewUnlinkCommand returns a new Cobra command for unlinking apps
3535func NewUnlinkCommand (clients * shared.ClientFactory ) * cobra.Command {
3636 cmd := & cobra.Command {
37- Use : "unlink" ,
38- Short : "Remove linked app from the project" ,
39- Long : "Unlink a previously linked app from the project" ,
37+ Use : "unlink" ,
38+ Short : "Remove linked app from the project" ,
39+ Long : "Unlink a previously linked app from the project" ,
4040 Example : style .ExampleCommandsf ([]style.ExampleCommand {
4141 {
4242 Meaning : "Remove an existing app from the project" ,
43- Command : "app unlink" ,
43+ Command : "app unlink" ,
4444 },
4545 {
4646 Meaning : "Remove a specific app without using prompts" ,
4747 Command : "app unlink --team T0123456789 --app A0123456789 --environment deployed" ,
48-
4948 },
5049 }),
51-
50+
5251 PreRunE : func (cmd * cobra.Command , args []string ) error {
5352 clients .Config .SetFlags (cmd )
5453 return cmdutil .IsValidProjectDirectory (clients )
You can’t perform that action at this time.
0 commit comments