Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 600 Bytes

cli-function.md

File metadata and controls

19 lines (13 loc) · 600 Bytes

You can create functions using the CLI without needing to access the Console.

{% partial file="cli-disclaimer.md" /%}

To deploy your function with the Appwrite CLI, use the appwrite init functions command to create a starter function and paste your code into the generated file and folder.

appwrite init functions

To deploy the generated code, add any dependencies and push the function using the following command:

appwrite push functions

{% arrow_link href="/docs/tooling/command-line/functions#commands" %} Learn more about the CLI functions commands {% /arrow_link %}