Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Organizations #22

Merged
merged 5 commits into from
Oct 8, 2019
Merged

Organizations #22

merged 5 commits into from
Oct 8, 2019

Conversation

perigrin
Copy link
Contributor

@perigrin perigrin commented Oct 8, 2019

You can operate on organizations as a group. Closes #13

$ bin/kosh orgs help

Usage: kosh organizations COMMAND [arg...]

Work with organizations
               
Commands:      
  get          Get a list of all organizations
  create       Create a new subworkspace
               
Run 'kosh organizations COMMAND --help' for more information on a command.

Or operate on individual organizations

$ bin/kosh org help

Usage: kosh organization NAME COMMAND [arg...]

Work with a specific organization
               
Arguments:     
  NAME         The name or ID of the organization (default "help")
               
Commands:      
  get          Get information about a single organization by its name
  delete, rm   Remove an organization by its name
  users        Manage users in a specific organization
               
Run 'kosh organization COMMAND --help' for more information on a command.

Fix schema tests to use a cached version of the schemas rather than
hitting the server every time.
@karenetheridge
Copy link
Contributor

typo in the help page: organizationusing

@perigrin perigrin force-pushed the perigrin/13-organizations branch 3 times, most recently from 6e67023 to 106b6e5 Compare October 8, 2019 18:10
Support for organizations.

* CRUD support
* Add/Remove users from organizations

See `kosh organization help` for details.
* require either a token or fixtures
* match on URL path not hostname
* update our cached fixtures
@perigrin perigrin merged commit a7fedd9 into master Oct 8, 2019
@perigrin perigrin deleted the perigrin/13-organizations branch October 8, 2019 18:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Organizations
2 participants