nutrimatic.core
nutri-matic Package
Description: Core Imports.
nutrimatic.core.clean()
Remove _shared_hooks directory.
- Return type:
None
nutrimatic.core.ensure_config()
Ensure the config exists and return a validated singleton CLIConfig instance.
- Return type:
CLIConfig
nutrimatic.core.fetch_namespace(namespace)
Fetch all repositories in a namespace and their configs.
- Return type:
Namespace
nutrimatic.core.make(cmd, , verbose=False)
Run a make target inside post-gen, exiting on failure.
- Return type:
None
nutrimatic.core.make_dirs(dirs, project_dir=PosixPath(‘/home/jcook/Documents/git_repo/nutri-matic/docs/sphinx’))
Generate project directories
- Return type:
None
nutrimatic.core.setup_logging(cfg, log_to_file=True)
Configure and return the main nutri-matic logger.
Can be called at CLI startup, or once globally from config.
- Return type:
Logger
nutrimatic.core.tree()
Run tree cmd inside the post-gen.
- Return type:
None