- CmdView.exe adduser {user id} "{user name}" // Adds a user with {user id} and {user name}
- CmdView.exe deleteuser {user id} // Deletes a user with {user id}
- CmdView.exe login {user id} // Enters interactive mode, and loads the albums of user with {user id}
Once a user has been logged in, the program enters interactive mode, which supports the following commands:
createAlbum "{name}"
deleteAlbum "{name}"
listAlbums
listPhotos "{name}"
addPhoto "{fileName}" "{caption}" "{albumName}"
movePhoto "{fileName}" "{oldAlbumName}" "{newAlbumName}"
removePhoto "{fileName}" "{albumName}"
addTag "{fileName}" {tagType}:"{tagValue}"
deleteTag "{fileNme}" {tagType}:"{tagValue}"
listPhotoInfo "{fileNme}"
getPhotosByDate {start date} {end date}
getPhotosByTag [{tagType}:]{tagValue} [,[{tagType}:]{tagValue}]...
logout
@author Brent Engler, Jonathan Alvarez
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|