Skip to content

Hexmod #11

@Danzzel26

Description

@Danzzel26

def repl():
while True:
print("Please choose an option:")
data_files = get_data_files()
(action, param) = get_action(data_files)
refresh_source()

    if action == "singleFile":
        run_for_file(get_file_path(param), os.path.join(OUTPUT_LOCATION, param))
    elif action == "allFiles":
        for a_file in data_files:
            run_for_file(get_file_path(a_file), os.path.join(OUTPUT_LOCATION, a_file))
    elif action == "zip":
        zip_project(OUTPUT_LOCATION)
    elif action == "allFilesAndZip":
        for a_file in data_files:
            run_for_file(get_file_path(a_file), os.path.join(OUTPUT_LOCATION, a_file))
        zip_project(OUTPUT_LOCATION)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions