بنقرة واحدة
umbraco-shared
Umbraco CLI: Shared patterns for authentication, global flags, and safety rules.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Umbraco CLI: Shared patterns for authentication, global flags, and safety rules.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use csv-update to batch-modify a property across multiple documents.
Search for a data type, inspect it, and update its configuration.
Walk the content tree to find a document, update a property, and publish.
Search for documents matching a query and publish them.
Call an authenticated raw Umbraco Management API endpoint
Persistent authentication helpers
| name | umbraco-shared |
| description | Umbraco CLI: Shared patterns for authentication, global flags, and safety rules. |
| metadata | {"version":"0.4.8","requires":{"bins":["umbraco"]}} |
The umbraco binary must be on $PATH. Install via Homebrew or build from source.
brew install --cask albanist/tap/umbraco-cli
# Store credentials persistently
umbraco auth login --base-url "https://localhost:44314" --client-id "umbraco-back-office-api-user" --client-secret "your-secret"
# Store credentials in a named profile
umbraco --profile dev auth login --base-url "https://localhost:44314" --client-id "umbraco-back-office-api-user" --client-secret "your-secret"
# List and select profiles
umbraco auth list
umbraco auth use dev
# Verify credentials
umbraco auth status
Alternatively, set environment variables (highest precedence when no profile/config selector is active):
export UMBRACO_BASE_URL="https://localhost:44391"
export UMBRACO_CLIENT_ID="umbraco-back-office-api-user"
export UMBRACO_CLIENT_SECRET="your-secret"
Explicit profile/config selection uses that file for base URL and credentials:
umbraco --profile dev document search --query Home
umbraco --config ~/.umbraco/dev.config.json document search --query Home
Without --profile, --config, or an active profile from umbraco auth use, config is resolved in this order:
UMBRACO_*).umbracorc.json or .umbracorc.umbraco-cli.env.env~/.umbraco/config.jsonhttps://localhost:44391| Flag | Description |
|---|---|
-o, --output <FORMAT> | Output format: json, table, plain |
--profile <NAME> | Load ~/.umbraco/<NAME>.config.json for base URL and credentials |
--config <PATH> | Load an explicit config file for base URL and credentials |
--dry-run first for all mutating commands--fields on reads to limit response size and protect context windows--json payloads over convenience flags for predictable executionBefore calling any API method, inspect its expected parameters:
umbraco schema --list
umbraco schema document.update
umbraco schema datatype
Use umbraco schema output to build your --json and --params flags.