Why Use Noun Types?
Using nountypes can save you writing boilerplate code in your command, AND it helps Ubiquity provide better suggestions to the user, making your command easier to use. • Using a nountype lets the user see suggestions for what input they might want to give as arguments to your command • …and saves the user typing by letting them choose a correct suggestion • Nountypes can pre-parse the input for the arguments of your command, so your preview() and execute() methods get data in exactly the format they need. For instance, if you use noun_type_date, you don’t need to write date-parsing code for your command.