lg_mgshift

Name

lg_mgshift -- Manage shifts and memberships

Synopsis

lg_mgshift create [shift-name]

lg_mgshift edit [shift-name]

lg_mgshift list [shift-name]

DESCRIPTION

This command provides three operations that allow you to manage shifts and their membership. The first, and mandatory, parameter is a verb that indicates the action you want the command to take:

create

Creates a shift and brings up the shift editing dialog, which allows you to populate the shift with people. If the optional shift-name is provided, The shift editing dialog is loaded into the shift name slot of the dialog.

edit

Edits an existing shift using the shift editor dialog. If the shift-name is not specified, a shift selection dialog allows you to select the shift to edit from the existing shifts. The shift edit dialog will reflect the current shift membership.

You can also use this subcommand to create a new shift from the members of an existing shift. Simply edit the shift you want to use as a starting point and set a new name in the shift name box of the editor.

list

Without a shift-name lists all shifts and their members. If shift-name is provided only the the named shift is listed.