base44 functions pull
Pull deployed functions from Base44 to local files.
Syntax
npx base44 functions pull [name]Arguments
| Argument | Description | Required |
|---|---|---|
[name] |
Function name to pull (pulls all if omitted) | No |
Authentication
Required: Yes. If not authenticated, you'll be prompted to login first.
What It Does
- Fetches deployed functions from Base44
- Filters to the specified function if
[name]is provided - Skips functions owned by a plugin (they are not written locally)
- Writes function files to the local
functions/directory (configured inbase44/config.jsonc) - Reports each file as
written(new/updated) orunchanged
Examples
# Pull all deployed functions
npx base44 functions pull
# Pull a specific function
npx base44 functions pull process-orderOutput
$ npx base44 functions pull
✓ Functions fetched successfully
✓ Function files written successfully
✓ process-order written
◆ send-notification unchanged
✓ Pulled 2 functions to base44/functionsSingle function:
$ npx base44 functions pull process-order
✓ Functions fetched successfully
✓ Function files written successfully
✓ process-order written
✓ Pulled 1 function to base44/functionsError Handling
If the specified function is not found on remote:
$ npx base44 functions pull nonexistent
✓ Function "nonexistent" not found on remoteIf the specified function is plugin-owned:
$ npx base44 functions pull plugin-func
✓ Function "plugin-func" is managed by a plugin and was not pulled into base44/functionsIf no functions exist on remote:
$ npx base44 functions pull
✓ No functions found on remoteNotes
- Files are written to the
functionsDirconfigured inbase44/config.jsonc(defaults tofunctions/) - Files already matching remote content are skipped (reported as
unchanged) - Plugin-owned functions are skipped — functions managed by a plugin are never written locally; they appear as
plugin-owned, skippedin output - This overwrites existing local function files with remote versions — commit local changes first
- Use
npx base44 functions deployto push local changes back to Base44 - Use
npx base44 functions listto see what functions are deployed on remote