Skip to content

How can I use the Nodejs API input params? #673

@Rackar

Description

@Rackar

Hi, I saw the wiki:

runCommands(commands[, input][, callback])
input An optional JS object containing contents of files referenced by -i command(s), indexed by file name. Input files are read from the filesystem if they are not present in the input argument.

But I didn't find a example for it.

Can I use a JS object as geojson format? What's the -i commands then?

Thank you for your excellent tools.

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