File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 8
8
9
9
"github.com/coder/coder/v2/cli/cliui"
10
10
"github.com/coder/coder/v2/codersdk"
11
- "github.com/coder/pretty"
12
11
"github.com/coder/serpent"
13
12
)
14
13
@@ -41,18 +40,6 @@ func (r *RootCmd) createOrganization() *serpent.Command {
41
40
return xerrors .Errorf ("organization %q already exists" , orgName )
42
41
}
43
42
44
- _ , err = cliui .Prompt (inv , cliui.PromptOptions {
45
- Text : fmt .Sprintf ("Are you sure you want to create an organization with the name %s?\n %s" ,
46
- pretty .Sprint (cliui .DefaultStyles .Code , orgName ),
47
- pretty .Sprint (cliui .BoldFmt (), "This action is irreversible." ),
48
- ),
49
- IsConfirm : true ,
50
- Default : cliui .ConfirmNo ,
51
- })
52
- if err != nil {
53
- return err
54
- }
55
-
56
43
organization , err := client .CreateOrganization (inv .Context (), codersdk.CreateOrganizationRequest {
57
44
Name : orgName ,
58
45
})
You can’t perform that action at this time.
0 commit comments