Esempio n. 1
0
def list_config():
    """Print the current ZenML config to the command line"""
    try:
        repo: Repository = Repository.get_instance()
    except Exception as e:
        error(e)
        return

    click.echo(to_pretty_string(repo.zenml_config))
Esempio n. 2
0
 def __repr__(self):
     return to_pretty_string(self.to_config(), style=PrintStyles.PPRINT)
Esempio n. 3
0
 def __str__(self):
     return to_pretty_string(self.to_config())
Esempio n. 4
0
 def __repr__(self):
     return to_pretty_string(self.path, style=PrintStyles.PPRINT)
Esempio n. 5
0
 def __str__(self):
     return to_pretty_string(self.path)