Skip to content

Use Yasha by script directly instead of Command Line ? #58

Open
@virtualengineer

Description

@virtualengineer

Could the yasha cli.py script function be called directly ?
I have a unique problem where I can't call Yasha.exe from the command line.
I am trying to call the yasha cli function directly, but can't get it to work.
Can you explain how, if it is possible ?

def cli(
        template_variables, template, output, variables, extensions,
        encoding, include_path, no_variable_file, no_extension_file,
        no_trim_blocks, no_lstrip_blocks, remove_trailing_newline,
        mode, m, md)

my original call goes like this:
call(('yasha', '-v', variable_file_path, '-o', output_file_path, template_file_path))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions