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.

nutrimatic.core.fetch_namespace(namespace)

Fetch all repositories in a namespace and their configs.

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

Modules

bash nutri-matic Package
config nutri-matic Package
github nutri-matic Package
logger nutri-matic Package
metadata nutri-matic Package
parser nutri-matic Package
template nutri-matic Package
utils nutri-matic Package