Skip to main content

upload

Upload custom script to the signageOS platform

Description

Uploads custom script code and configuration to signageOS platform from .sosconfig.json. Creates/updates script, uploads platform-specific files, and provides script UID for execution.

May prompt for confirmation when creating new scripts or versions. Use --yes to skip prompts for automated deployments.

Usage

sos custom-script upload [options]

Options

OptionDescription
--no-default-organizationPrevent using the defaultOrganizationUid from ~/.sosrc (boolean)
--organization-uidOrganization UID (string)
--yesAllow to upload new custom script or create new version without confirmation step (boolean)

Examples

# Upload interactively
sos custom-script upload

# Skip confirmations (CI/CD)
sos custom-script upload --yes

# Specific organization
sos custom-script upload --organization-uid abc123def456

Since

1.8.0

Global Options

All commands support the following global options:

OptionAliasDescription
--help-hDisplay help information for any command
--version-vDisplay the installed version of the CLI
--api-url-uOverride the API URL for REST requests
--profileUse a specific profile from ~/.sosrc config

Examples

# Show version
sos --version

# Get help for any command
sos applet --help
sos applet upload --help

# Use custom API endpoint
sos --api-url https://api.example.com applet upload

# Use specific profile
sos --profile production organization list

See Also