Module: SakaiInfo::CLI

Defined in:
lib/sakai-info/cli/help.rb,
lib/sakai-info/cli/query.rb,
lib/sakai-info/cli/shell.rb,
lib/sakai-info/cli/lookup.rb,
lib/sakai-info/cli/special.rb

Defined Under Namespace

Classes: Help, Lookup, Query, Shell, Special

Constant Summary collapse

LookupModes =
{
  "site" => Site,
  "page" => Page,
  "tool" => Tool,
  "user" => User,
  "group" => Group,
  "pq" => PublishedQuiz,
  "pubquiz" => PublishedQuiz,
  "published-quiz" => PublishedQuiz,
  "nq" => PendingQuiz,
  "penquiz" => PendingQuiz,
  "pending-quiz" => PendingQuiz,
  "pqs" => PublishedQuizSection,
  "pubqs" => PublishedQuizSection,
  "published-quiz-section" => PublishedQuizSection,
  "nqs" => PendingQuizSection,
  "penqs" => PendingQuizSection,
  "pending-quiz-section" => PendingQuizSection,
  "pqi" => PublishedQuizItem,
  "pubqi" => PublishedQuizItem,
  "published-quiz-item" => PublishedQuizItem,
  "nqi" => PendingQuizItem,
  "penqi" => PendingQuizItem,
  "pending-quiz-item" => PendingQuizItem,
  "pqac" => PublishedQuizAccessControl,
  "published-quiz-access-control" => PublishedQuizAccessControl,
  "nqac" => PendingQuizAccessControl,
  "pending-quiz-access-control" => PendingQuizAccessControl,
  "pqm" => PublishedQuizMetadata,
  "published-quiz-metadata" => PublishedQuizMetadata,
  "nqm" => PendingQuizMetadata,
  "pending-quiz-metadata" => PendingQuizMetadata,
  "qauth" => QuizAuthorization,
  "qa" => QuizAttempt,
  "quiz-attempt" => QuizAttempt,
  "qai" => QuizAttemptItem,
  "quiz-attempt-item" => QuizAttemptItem,
  "qaia" => QuizAttemptItemAttachment,
  "quiz-attempt-item-attachment" => QuizAttemptItemAttachment,
  "qp" => QuestionPool,
  "qpool" => QuestionPool,
  "question-pool" => QuestionPool,
  "a" => Assignment,
  "asn" => Assignment,
  "assignment" => Assignment,
  "as" => AssignmentSubmission,
  "asub" => AssignmentSubmission,
  "asnsub" => AssignmentSubmission,
  "assignment-submission" => AssignmentSubmission,
  "forum" => Forum,
  "ft" => ForumThread,
  "forum-thread" => ForumThread,
  "fp" => ForumPost,
  "forum-post" => ForumPost,
  "content" => Content,
  "deleted-content-resource" => DeletedContentResource,
  "deleted-content" => DeletedContentResource,
  "delcon" => DeletedContentResource,
  "ann" => Announcement,
  "announcement" => Announcement,
  "annchan" => AnnouncementChannel,
  "announcement-channel" => AnnouncementChannel,
  "gb" => Gradebook,
  "gradebook" => Gradebook,
  "gbi" => GradebookItem,
  "gradebook-item" => GradebookItem,
  "role" => AuthzRole,
  "fn" => AuthzFunction,
  "func" => AuthzFunction,
  "function" => AuthzFunction,
  "realm" => AuthzRealm,
  "private-message" => PrivateMessage,
  "pm" => PrivateMessage,
  "alias" => Alias,
  "metaobj" => Metaobj,
  "form" => Metaobj,
  "wiki-page" => WikiPage,
  "wiki" => WikiPage,
  "wiki-page-history" => WikiPageHistory,
  "wiki-history" => WikiPageHistory,
  "cal" => Calendar,
  "calendar" => Calendar,
  "calendar-event" => CalendarEvent,
  "calevent" => CalendarEvent,
  "ce" => CalendarEvent,
}
SpecialModes =
{
  "quiz" => "'published-quiz' or 'pending-quiz'",
  "quiz-section" => "'published-quiz-section' or 'pending-quiz-section'",
  "quiz-item" => "'published-quiz-item' or 'pending-quiz-item'",
}