yaml_resume.cli module

yaml_resume.cli.no_tag(self, *args, **kw)

Drop tag in yaml.dump()

This function should be used to set the yaml.emitter.Emitter.process_tag to have a nice YAML file.

yaml_resume.cli.str_representer(dumper, data)

Use literal block scalar style for multiline strings.

This function should be used as the representer argument of the yaml.add_representer() function before dumping the YAML.

yaml_resume.cli.cli(*args, **kwargs)

yaml-resume CLI

This function is a click.group() which will be used to provide the main yaml-resume command.

yaml_resume.cli.init(*args, **kwargs)

cli subcommand to create a resume

This function is a subcommand of yaml-resume. It will prompt questions to the user to build a Resume object and write it to a file.

Parameters

filename (str) – The name of the file to create.

yaml_resume.cli.validate(*args, **kwargs)

cli subcommand to validate a YAML resume

This function is a subcommand of yaml-resume. It checks the resume against the schema to ensure it is well formed.

Parameters

filename (str) – The path of the file to validate.

Raises

ClickException