Промежуточный набросок для управления правилами
This commit is contained in:
parent
db9a6be9f4
commit
573f1d7d51
6 changed files with 135 additions and 2 deletions
|
@ -21,6 +21,7 @@ int main(string[] args)
|
|||
.optional
|
||||
)
|
||||
)
|
||||
.add(new Command("retracking", "Tracking rules update"))
|
||||
.add(new Command("status", "Checking the status of tracked files"))
|
||||
.add(new Command("diff", "Show changed data"))
|
||||
.add(new Command("import", "Import snapshot from a tar.gz archive")
|
||||
|
@ -160,6 +161,9 @@ int main(string[] args)
|
|||
i.option("author", ""),
|
||||
i.option("email", "")
|
||||
)
|
||||
)
|
||||
.on("retracking", e =>
|
||||
(new SnagRules(config)).create()
|
||||
);
|
||||
} catch (SnagException e) {
|
||||
e.print();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue