Add tea organization delete command #269

Closed
opened 2020-12-06 21:30:15 +00:00 by khmarbaise · 1 comment
Member

Implement the command:

tea org delete <organization name>
tea organization delete <organization name>
tea organization rm <organization name>

This issue requires the work of #263 as foundation.

General approach:

  • If the organization name is not given printout a failure notice like You have to specify the organization name..
  • If the given organization name does not exist currently the result output would be something like this:
2020/12/06 22:29:57 Failed to run app with [./tea org delete xxx]: 404 Not Found

Shouldn't we change that into something more usefull like:

The given organization does not exist.

What do you think?

Implement the command: ``` tea org delete <organization name> tea organization delete <organization name> tea organization rm <organization name> ``` This issue requires the work of #263 as foundation. General approach: * If the organization name is not given printout a failure notice like `You have to specify the organization name.`. * If the given organization name does not exist currently the result output would be something like this: ``` 2020/12/06 22:29:57 Failed to run app with [./tea org delete xxx]: 404 Not Found ``` Shouldn't we change that into something more usefull like: ``` The given organization does not exist. ``` What do you think?
6543 added the
kind/proposal
label 2020-12-06 21:31:47 +00:00
Author
Member

I want to make a PR for that?

I want to make a PR for that?
noerw added the
status/has-pull
label 2020-12-07 00:01:29 +00:00
noerw added this to the v0.6.0 milestone 2020-12-07 00:02:20 +00:00
6543 closed this issue 2020-12-07 12:24:05 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#269
No description provided.