Groups (aka orgs)
- Dominant language
- Go
- Stars
- 28
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
* Gruops provide namespace of shared commands for a set of users. Similar to GitHub orgs for repos
* Groups are non-user command "owners"
* Groups have members and admins in addition to per command admins and access
* Members all have access to commands in group
* Members have group added to their "PATH" so no need to specify group namespace
* You can still add it to be explicit, esp when you have command(s) with same name
* ssh cmd.io group-command # implicit
* ssh cmd.io mygroup/group-command # explicit
* Listing commands in a group (with ~ convenience alias?)
* ssh cmd.io ~mygroup
* ssh cmd.io cmd-ls mygroup
* Groups are managed via builtin group command with subcommands
* ssh cmd.io cmd-group
* cmd-group create
* cmd-group destroy
* cmd-group users ls
* cmd-group users add [--admin]
* Change admin by adding again w/ or w/o admin flag
* cmd-group users rm
* Commands for groups are managed with existing builtin commands
* ssh cmd.io cmd-add /
* ssh cmd.io cmd-rm /
* I think I prefer "groups" over "organization" because an actual organization might have several groups, and not all groups are organizations (such as for personal or project organization)...
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.