diff rust/rhg/src/main.rs @ 44982:bacf6c7ef01b

rhg: add Command trait for subcommands implemented by rhg Normalizes the interface of the cli's commands Differential Revision: https://phab.mercurial-scm.org/D8611 Differential Revision: https://phab.mercurial-scm.org/D8648
author Antoine Cezar <antoine.cezar@octobus.net>
date Mon, 22 Jun 2020 15:19:35 +0530
parents cf04f62d1579
children 513b3ef277a3
line wrap: on
line diff
--- a/rust/rhg/src/main.rs	Fri Jun 05 10:28:58 2020 +0200
+++ b/rust/rhg/src/main.rs	Mon Jun 22 15:19:35 2020 +0530
@@ -1,3 +1,5 @@
+mod commands;
+mod error;
 mod exitcode;
 
 fn main() {