pub fn list_notes(
        &mut self,
        limit: usize,
        condensed: bool,
        json: bool,
        datesort: bool,
        reverse: bool,
        search_body: bool,
        no_status: bool,
        started_status: bool,
        urgent_status:bool
    ) -> Result<(), ThecaError> {
        if self.notes.len() > 0 {
            try!(sorted_print(
                &mut self.notes.clone(),
                limit,
                condensed,
                json,
                datesort,
                reverse,
                search_body,no_status,
                started_status,
                urgent_status
            ));
        } else {
            match json {
                true => println!("[]"),
                false => println!("this profile is empty")
            }
        }
        Ok(())
    }
/// print all notes in the profile
print all notes in the profile
print all notes in the profile
pub fn list_notes(
        &mut self,
        limit: usize,
        condensed: bool,
        json: bool,
        datesort: bool,
        reverse: bool,
        search_body: bool,
        no_status: bool,
        started_status: bool,
        urgent_status:bool
    ) -> Result<(), ThecaError> {
        if self.notes.len() > 0 {
            try!(sorted_print(
                &mut self.notes.clone(),
                limit,
                condensed,
                json,
                datesort,
                reverse,
                search_body,no_status,
                started_status,
                urgent_status
            ));
        } else {
            match json {
                true => println!("[]"),
                false => println!("this profile is empty")
            }
        }
        Ok(())
    }
pub fn list_notes ( & mut self , limit : usize , condensed : bool , json : bool , datesort : bool , reverse : bool , search_body : bool , no_status : bool , started_status : bool , urgent_status : bool ) -> Result < ( ) , ThecaError > { if self . notes . len ( ) > 0 { try ! ( sorted_print ( mut self notes clone ( ) limit condensed json datesort reverse search_body no_status started_status urgent_status ) ) ; } else { match json { true => println ! ( " " ) , false => println ! ( " " ) } } Ok ( ( ) ) }
print all notes in the profile
print all notes in the profile
&mut self
limit
usize
condensed
bool
json
bool
datesort
bool
reverse
bool
search_body
bool
no_status
bool
started_status
bool
urgent_status
bool
&mut self
limit
usize
condensed
bool
json
bool
datesort
bool
reverse
bool
search_body
bool
no_status
bool
started_status
bool
urgent_status
bool