Usage

pile note <NAME> <CONTENT> - creates a new note
pile rule <NAME> - 
  -k --keyword <KEYWORD> - adds a keyword to the rule
  -r --remove <KEYWORD> - removes a keyword from the rule (not implemented)
  -d --delete - deletes the rule (not implemented)
pile search <QUERY> - searches note names, contents and matching rules
pile index - rematches all notes to rules
pile delete <NAME> - deletes all notes with a specific name