question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create organizations CLI

See original GitHub issue

We need a CLI that will mirror the API and allow users to use CLI syntax to make changes to the organization.

The CLI commands should be simple, clear and human readable. Feel free to outline commands here for us to discuss.

Update:

List of Organization CLI commands:

  • Create organization POST codenvy organization create --name={name} --parent={parent-id}

  • Update organization POST /{id} codenvy organization update --id={id} --name={name} --new-name={new-name}

  • Delete organization DELETE /{id} codenvy organization delete --id={id} --name={name}

  • Review organization GET /{organizationId}, GET /find?name={name} codenvy organization --id={id} --name={name}

    { “id”: “{id}” “name”: “{name}” “parent”: “{parent-id}” }

  • Get list of children: GET /{parent}/organizations codenvy organization children --id={id} --name={name}

    [{ “id”: “{id1}” “name”: “{name1}” “parent”: “{parent-id1}” }, { “id”: “{id2}” “name”: “{name2}” “parent”: “{parent-id2}” }, …]

  • Get list of organizations where user is member (#669) GET ?user={user} codenvy organization list --user={user}

    [{ “id”: “{id1}” “name”: “{name1}” “parent”: “{parent-id1}” }, { “id”: “{id2}” “name”: “{name2}” “parent”: “{parent-id2}” }, …]

  • User should login using “codenvy login” command before executing organization command. it is needed to get access to Organization API. To do this, next issue should be resolved (#667).

This issue is blocked by the next Issues which should be fixed before:

Resources

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
dmytro-ndpcommented, Aug 31, 2016

@TylerJewell: that is the issue to fix IM CLI login command: https://github.com/codenvy/codenvy/issues/667

This fix could be helpful for “codenvy audit” command as well.

@benoitf, @TylerJewell: I have updated description of issue to reflect results of discussion.

0reactions
bmickleacommented, Sep 14, 2016

@tolusha is there an issue to describe the dashboard work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

create-organization — AWS CLI 1.27.27 Command Reference
Creates an Amazon Web Services organization. The account whose user is calling the CreateOrganization operation automatically becomes the management account of ...
Read more >
create-organization — AWS CLI 2.9.4 Command Reference
Creates an Amazon Web Services organization. The account whose user is calling the CreateOrganization operation automatically becomes the management account of ...
Read more >
Create an organization in InfluxDB - InfluxData Documentation
Create an organization in the InfluxDB UI · In the navigation menu on the left, click the Account dropdown. u. u. username. org-name...
Read more >
Organizations - AWS CLI Builder By Prasad Domala
NET, iOS, Android, and more). The SDKs provide a convenient way to create programmatic access to AWS Organizations. For example, the SDKs take...
Read more >
Creating AWS Accounts From The Command Line With AWS ...
Copy+paste some aws-cli commands to add a new AWS account to your AWS Organization. The AWS Organizations service was introduced at AWS ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found