Skip to content

Specifying args #3

@FloorLamp

Description

@FloorLamp

Any preference on how args should be specified?

If I wanted to call these functions:

main(0xabcd)
sum(1, 2)
finish()

How about this:

primea --create test.wasm main 0xabcd sum 1,2 finish

Or this:

primea --create test.wasm --run main,sum,finish --main arg0 --sum 1,2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions