Context
- Now calls aliasExpansion and categorization.
This commit is contained in:
@@ -243,6 +243,8 @@ int Context::initialize (int argc, const char** argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now the entities are loaded, parsing may resume.
|
// Now the entities are loaded, parsing may resume.
|
||||||
|
cli.aliasExpansion ();
|
||||||
|
|
||||||
parser.findBinary (); // <task|tw|t|cal|calendar>
|
parser.findBinary (); // <task|tw|t|cal|calendar>
|
||||||
parser.resolveAliases ();
|
parser.resolveAliases ();
|
||||||
parser.findCommand (); // <cmd>
|
parser.findCommand (); // <cmd>
|
||||||
@@ -252,6 +254,7 @@ int Context::initialize (int argc, const char** argv)
|
|||||||
|
|
||||||
staticInitialization (); // Decouple code from Context.
|
staticInitialization (); // Decouple code from Context.
|
||||||
parser.parse (); // Parse all elements.
|
parser.parse (); // Parse all elements.
|
||||||
|
cli.categorize (); // Parse high-level elements.
|
||||||
|
|
||||||
tdb2.set_location (data_dir); // Prepare the task database.
|
tdb2.set_location (data_dir); // Prepare the task database.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user