Altostra Docs

    local run

    Run functions and APIs locally.

    Sub-Commands

    run

    Invoke a function.

    $ alto local run <function-name>
    

    Arguments

    function-name

    The function name.

    Required: yes

    Options

    --project-path

    Specify the project directory.

    If not specified, project directory is assumed to be the current directory.

    Aliases: --pp
    Required: no
    --data

    A path to a JSON file that contains a trigger event data.

    Required: no

    start-api

    Start a local instance of an API.

    $ alto local start-api
    
    • Sub-Commands
      • run
      • start-api
    © 2021 Altostra, Inc.