Command Location

- Locateѕ, cnaonicalized and categorizes first command.
This commit is contained in:
Paul Beckingham
2013-08-30 13:42:43 -07:00
parent 1495710aca
commit 8429df3b5c
4 changed files with 77 additions and 16 deletions

View File

@@ -41,9 +41,17 @@ int main (int argc, char** argv)
A3t a3t (argc, argv);
// Populate identity lists.
a3t.identity ("report", "list");
a3t.identity ("readcmd", "info");
a3t.identity ("writecmd", "modify");
a3t.identity ("report", "list");
a3t.identity ("report", "next");
a3t.identity ("readcmd", "info");
a3t.identity ("readcmd", "projects");
a3t.identity ("writecmd", "add");
a3t.identity ("writecmd", "modify");
a3t.identity ("specialcmd", "calendar");
a3t.identity ("specialcmd", "edit");
Tree* tree = a3t.parse ();
if (tree)