main.anubis
842 Bytes
/*************************************************
* *Project* The HayamiKi (早見木) project
*
* *Title* Interfacing, generating and controling a database with Anubis
*
* *Copyright* Copyright © David René 2015-2016.
*
*
*
*
* *Overview*
* generate database management interface under Anubis according on model description file'.
* Like django
*/
read tools/string.anubis
read tools/basis.anubis
read generation/files.anubis
read hayamiki_lib/hk_generator.anubis
read model.3.0.0.anubis
global define One
hayamiki
(
List(String) args
) =
if load_hk_generator is
{
failure then println("Hayamiki generator can't be load"),
success(hk_gen) then forget(hk_gen.generate_model_files(the_database_description, ""))
}.