Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.29 KB

rspace-client_eln_addGroup.md

File metadata and controls

50 lines (32 loc) · 1.29 KB

rspace-client eln addGroup

Adds a new LabGroup

Synopsis

Requires sysadmin permission. Creates a new lab group with a PI and optionally other group members. All users must be already existing in RSpace.

 Note that members must have also initialised their accounts by logging in at least once
rspace-client eln addGroup [flags]

Examples

 
## create a group with 2 members and a PI
rspace eln addGroup --name Bob-Group --pi bobsmith --members anabelz,sarahs

# if the group name has spaces, enclose in double-quotes
rspace eln addGroup --name "Prof Smith Lab" --pi bobsmith --members anabelz,sarahs

Options

  -h, --help             help for addGroup
      --members string   Comma-separated list of usernames of other group members
      --name string      The name of the group
      --pi string        Username of the group PI

Options inherited from parent commands

      --config string         config file (default is $HOME/.rspace)
  -o, --outFile string        Output file for program output
  -f, --outputFormat string   Output format: one of 'json','table', 'csv' or 'quiet'  (default "table")

SEE ALSO

Auto generated by spf13/cobra on 19-Aug-2020