pub enum Commands {
Tui {},
Completions {
shell: Shell,
},
Timetable {
day: Option<String>,
current: bool,
export_day: Option<PathBuf>,
},
Evals {
subject: Option<String>,
kind: Option<String>,
average: bool,
reverse: bool,
number: usize,
},
Messages {
number: usize,
reverse: bool,
},
Absences {
subject: Option<String>,
number: usize,
count: bool,
reverse: bool,
},
Tests {
subject: Option<String>,
number: usize,
reverse: bool,
},
User {
delete: bool,
create: bool,
switch: Option<String>,
list: bool,
},
Schools {
search: Option<String>,
},
}
Variants§
Tui
starts the Text User Interface
Completions
generate shell completions
Timetable
information about lessons, today by default
Fields
Evals
evaluations/grades the user recieved
Fields
Messages
messages the user either recieved or sent
Absences
information about lessons the user missed
Fields
Tests
information about forecoming exams/tests
Fields
User
managing users of this program
Fields
Schools
information about all schools in the Kréta
database
Implementations§
Trait Implementations§
source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Subcommand for Commands
impl Subcommand for Commands
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more