### Launch Appcircle CLI Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Starts the Appcircle CLI. If installed locally, use `npx appcircle` instead. ```shell appcircle ``` -------------------------------- ### Real-time Build Monitoring Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Use --monitor verbose for development to watch build progress in real-time with detailed logs, or --monitor steps for CI/CD to get a clean step summary without verbose logs. ```bash # For development - watch build progress in real-time with detailed logs appcircle build start --profileId --commitId --workflowId --monitor verbose ``` ```bash # For CI/CD - get clean step summary without verbose logs appcircle build start --profileId --commitId --workflowId --monitor steps ``` -------------------------------- ### Examples: appcircle config get Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/config/get.md Shows example invocations for retrieving common configuration keys: API_HOSTNAME, AUTH_HOSTNAME, HOOK_HOSTNAME, and AC_ACCESS_TOKEN. ```plaintext $ appcircle config get API_HOSTNAME $ appcircle config get AUTH_HOSTNAME $ appcircle config get HOOK_HOSTNAME $ appcircle config get AC_ACCESS_TOKEN ``` -------------------------------- ### appcircle build start command syntax Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Shows the basic command syntax for starting a new build with the Appcircle CLI. ```plaintext appcircle build start [options] ``` -------------------------------- ### Build with Auto-Download Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build and automatically downloads logs and artifacts after completion. ```bash appcircle build start --profileId --commitId --workflowId --download-logs --download-artifacts ``` -------------------------------- ### Build with Custom Download Path Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build and downloads artifacts to a custom path. Requires --download-artifacts and --path. ```bash appcircle build start --profileId --commitId --workflowId --download-artifacts --path "/custom/path" ``` -------------------------------- ### Migrate appcircle build to appcircle build start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old and new commands for starting a build. The old command is deprecated in 1.x and replaced by the new command in 2.0. ```sh $ appcircle build [options] [arguments] ``` ```sh $ appcircle build start [options] [arguments] ``` -------------------------------- ### appcircle publish start command usage Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/publish/start.md Starts a publish. The command syntax is `appcircle publish start [options]`. ```plaintext appcircle publish start [options] ``` -------------------------------- ### Build with Configuration Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build with a specific configuration ID in addition to profile, commit, and workflow IDs. ```bash appcircle build start --profileId --commitId --configurationId --workflowId ``` -------------------------------- ### Login examples Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/login/index.md Examples of logging in with Personal Access Key and API Key, including with a specific organization. ```bash # Login with Personal Access Key appcircle login personal-access-key --secret "my-secret" # Login with API Key appcircle login api-key --name "my-api-key" --secret "my-secret" # Login with API Key and specific organization appcircle login api-key --name "my-api-key" --secret "my-secret" --organization-id "org-123" ``` -------------------------------- ### Examples for appcircle build download-log Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/download-log.md Provides four usage examples: downloading by Task ID, by profile/branch names, by IDs, and to a specific directory. ```bash # Download logs using Task ID (preferred method) appcircle build download-log --taskId="1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p" ``` ```bash # Download logs using profile and branch names appcircle build download-log --profile "Automation Variable" --branch "develop" --commitId="1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p" --buildId="7q8r9s0t-1u2v-3w4x-5y6z-7a8b9c0d1e2f" ``` ```bash # Download logs using IDs appcircle build download-log --profileId 8ad65c77-9ed8-4664-a6e1-4bf7032d33cd --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId="1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p" --buildId="7q8r9s0t-1u2v-3w4x-5y6z-7a8b9c0d1e2f" ``` ```bash # Download to a specific directory appcircle build download-log --profile "Automation Variable" --branch "develop" --commitId="1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p" --buildId="7q8r9s0t-1u2v-3w4x-5y6z-7a8b9c0d1e2f" --path="/Users/username/Downloads" ``` -------------------------------- ### Examples: Using IDs, names, and custom path Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/download.md Three usage examples: using IDs, using names instead of IDs, and mixed usage with a custom download path. ```bash # Using IDs appcircle build download --profileId 8ad65c77-9ed8-4664-a6e1-4bf7032d33cd --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId b96329d3-fd56-4030-8073-c13c61d288c4 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee ``` ```bash # Using names instead of IDs appcircle build download --profile "Automation Variable" --branch "develop" --commitId b96329d3-fd56-4030-8073-c13c61d288c4 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee ``` ```bash # Mixed usage with custom path appcircle build download --profile "Automation Variable" --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId b96329d3-fd56-4030-8073-c13c61d288c4 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee --path ./artifacts ``` -------------------------------- ### Automation (No Wait) Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build and returns immediately without waiting for the build to complete. Useful for automation scripts. ```bash appcircle build start --profileId --commitId --workflowId --no-wait ``` -------------------------------- ### Example: appcircle signing-identity keystore create with options Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/keystore/create.md Example command that creates a keystore with the required options: --name, --password, --alias, --aliasPassword, and --validity. ```plaintext $ appcircle signing-identity keystore create --name "Keystore name" --password "Keystore password" --alias "Alias" --aliasPassword "Alias password" --validity "2" ``` -------------------------------- ### Start a New Build Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Starts a build for a specified profile, branch, and workflow. Get the profile ID with `appcircle build profile list` and the workflow ID with `appcircle build profile workflows --profileId="YOUR PROFILE ID"`. ```shell appcircle build start --profileId="YOUR PROFILE ID" --branch="YOUR BRANCH" --workflow="YOUR WORKFLOW ID" ``` -------------------------------- ### Mixed Usage (IDs and Names) Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build mixing names and IDs: profile and workflow by name, branch by ID. ```bash appcircle build start --profile "My Android App" --branchId 6ba7b810-9dad-11d1-80b4-00c04fd430c8 --workflow "Default Push Workflow" ``` -------------------------------- ### appcircle build list examples Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/list.md Examples of using the appcircle build list command with IDs, names, and mixed usage. ```bash # Using IDs appcircle build list --profileId 8ad65c77-9ed8-4664-a6e1-4bf7032d33cd --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId b96329d3-fd56-4030-8073-c13c61d288c4 ``` ```bash # Using names instead of IDs appcircle build list --profile "Automation Variable" --branch "develop" --commitId b96329d3-fd56-4030-8073-c13c61d288c4 ``` ```bash # Mixed usage (IDs and names) appcircle build list --profile "Automation Variable" --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId b96329d3-fd56-4030-8073-c13c61d288c4 ``` -------------------------------- ### appcircle config set examples Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/config/set.md Examples of setting configuration properties for authentication and hook hostnames. ```plaintext $ appcircle config set AUTH_HOSTNAME https://auth.example.com $ appcircle config set HOOK_HOSTNAME https://hook.example.com ``` -------------------------------- ### Example: Using commit hash with profile and branch names Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/view.md Example command using commit hash with profile and branch names to view build details. ```bash # Using commit hash with profile and branch names appcircle build view --profile "My iOS Project" --branch "main" --commitHash a1b2c3d4 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee ``` -------------------------------- ### Example: Using Git commit hash Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/view.md Example command using Git commit hash (--commitHash) with profile and branch names to view build details. ```bash # Using Git commit hash instead of commit ID appcircle build view --profile "Automation Variable" --branch "develop" --commitHash a1b2c3d4e5f6 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee ``` -------------------------------- ### Optional parameters for appcircle build start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Lists optional parameters including --configurationId/--configuration, --no-wait, --download-logs, --download-artifacts, --path, and --monitor. Note the incompatibilities: --no-wait cannot be used with --monitor or download options; --download-logs and --download-artifacts cannot be used with --no-wait or --monitor none; --monitor must be given a valid value (none, summary, steps, verbose) and is incompatible with --no-wait. ```plaintext --configurationId Configuration ID --configuration Configuration name (alternative to --configurationId) --no-wait Don't wait for build completion, return immediately with task info Note: Incompatible with monitoring modes (--monitor) and download options --download-logs Automatically download build logs after completion Note: Cannot be used with --no-wait or --monitor none --download-artifacts Automatically download build artifacts after completion Note: Cannot be used with --no-wait or --monitor none --path Download path for logs and artifacts (default: ~/Downloads) --monitor [mode] Build monitoring preference: none, summary (default), steps, or verbose Valid values: none | summary | steps | verbose Note: Incompatible with --no-wait. Must be specified with a valid value. ``` -------------------------------- ### Example: Mixed usage (names and commit ID) Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/view.md Example command mixing profile name with branch ID and commit ID to view build details. ```bash # Mixed usage (names and commit ID) appcircle build view --profile "Automation Variable" --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId b96329d3-fd56-4030-8073-c13c61d288c4 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee ``` -------------------------------- ### Build with Specific Commit Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build using a specific commit ID. Requires profileId, commitId, and workflowId. ```bash appcircle build start --profileId 550e8400-e29b-41d4-a716-446655440000 --commitId 6ba7b812-9dad-11d1-80b4-00c04fd430c8 --workflowId 6ba7b811-9dad-11d1-80b4-00c04fd430c8 ``` -------------------------------- ### appcircle publish start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/publish/start.md Starts a publish operation for a specified platform, publish profile, and app version. This command is part of the Appcircle CLI and requires the platform, publish profile ID, and app version ID to be provided as options. ```APIDOC ## [CLI] appcircle publish start ### Description Starts a publish operation for a specified platform, publish profile, and app version. ### Method CLI Command ### Endpoint `appcircle publish start [options]` ### Parameters #### Options - **--platform** (string) - Required - Platform (ios/android) - **--publishProfileId** (uuid) - Required - Publish profile ID - **--appVersionId** (uuid) - Required - App version #### Inherited Options - **--help** - Optional - Show help for command ### Response No response details are provided in the source. ``` -------------------------------- ### Build with Different Execution Modes Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Shows four execution modes: normal (default), verbose, steps, and none. Each mode changes monitoring behavior. ```bash # Normal mode (default) - standard monitoring with real-time logs appcircle build start --profileId --commitId --workflowId # Verbose mode - enhanced monitoring with detailed progress tracking appcircle build start --profileId --commitId --workflowId --monitor verbose # Steps mode - clean table showing only steps and durations appcircle build start --profileId --commitId --workflowId --monitor steps # None mode - return task ID immediately without monitoring appcircle build start --profileId --commitId --workflowId --monitor none ``` -------------------------------- ### Install Appcircle CLI locally Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Installs the Appcircle CLI package locally in the current project. Use this if you prefer a local installation and will run commands via `npx appcircle`. ```shell npm install @appcircle/cli ``` -------------------------------- ### Build with Artifacts Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Use --download-logs and --download-artifacts to automatically download logs and artifacts after build completion. These options cannot be used with --no-wait or --monitor none. ```bash # When you need logs and artifacts after build completion appcircle build start --profileId --commitId --workflowId --download-logs --download-artifacts ``` -------------------------------- ### appcircle build start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a new build using the Appcircle CLI. Requires either a build profile ID or name, and either a workflow ID or name. Additional parameters allow specifying branch/commit, configuration, monitoring, and download options. ```APIDOC ## [CLI] appcircle build start ### Description Starts a new build using the Appcircle CLI. Requires either a build profile ID or name, and either a workflow ID or name. Additional parameters allow specifying branch/commit, configuration, monitoring, and download options. ### Method CLI command ### Endpoint `appcircle build start [options]` ### Parameters #### Required Parameters - **--profileId** (uuid) - Required - Build profile ID - **--profile** (string) - Required - Build profile name (alternative to --profileId) - **--workflowId** (uuid) - Required - Workflow ID - **--workflow** (string) - Required - Workflow name (alternative to --workflowId) #### Conditional Parameters - **--branchId** (uuid) - Required when --commitId is not provided - Appcircle branch ID - **--branch** (string) - Required when --commitId is not provided - Git branch name (alternative to --branchId) - **--commitId** (uuid) - Required when --branchId is not provided - Appcircle commit ID - **--commitHash** (string) - Required when --branchId is not provided - Git commit hash (alternative to --commitId) #### Optional Parameters - **--configurationId** (uuid) - Optional - Configuration ID - **--configuration** (string) - Optional - Configuration name (alternative to --configurationId) - **--no-wait** - Optional - Don't wait for build completion, return immediately with task info. Note: Incompatible with monitoring modes (--monitor) and download options - **--download-logs** - Optional - Automatically download build logs after completion. Note: Cannot be used with --no-wait or --monitor none - **--download-artifacts** - Optional - Automatically download build artifacts after completion. Note: Cannot be used with --no-wait or --monitor none - **--path** (string) - Optional - Download path for logs and artifacts (default: ~/Downloads) - **--monitor** [mode] - Optional - Build monitoring preference: none, summary (default), steps, or verbose. Valid values: none | summary | steps | verbose. Note: Incompatible with --no-wait. Must be specified with a valid value. ### Response No response schema is documented. ``` -------------------------------- ### appcircle publish start options Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/publish/start.md Options for the publish start command: `--platform` (ios/android), `--publishProfileId` (uuid), and `--appVersionId` (uuid). ```plaintext --platform Platform (ios/android) --publishProfileId Publish profile ID --appVersionId App version ``` -------------------------------- ### Start build with commit ID or commit hash Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Use --commitId or --commitHash to specify a commit. Branch becomes optional when commit information is provided. ```bash # Using commit ID appcircle build start --profileId --commitId --workflowId # Using commit hash appcircle build start --profileId --commitHash --workflowId ``` -------------------------------- ### appcircle config current usage examples Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/config/current.md Shows example invocations of the command with different environment names: `default`, `development`, and `production`. ```plaintext $ appcircle config current default ``` ```plaintext $ appcircle config current development ``` ```plaintext $ appcircle config current production ``` -------------------------------- ### NPM version examples (beta and stable) Source: https://github.com/appcircleio/appcircle-cli/blob/main/CONTRIBUTING.md Examples of `npm version` commands for publishing a beta version and a stable version. The beta version uses a `-beta.1` suffix, while the stable version uses a plain version number. ```shell ## To publish a beta version $ npm version 1.0.0-beta.1 $ npm version 1.0.0 ``` -------------------------------- ### Build with Names Instead of IDs Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build using profile, branch, and workflow names instead of IDs. Useful for readability and avoiding UUID lookups. ```bash appcircle build start --profile "My iOS Project" --branch "main" --workflow "Default Push Workflow" ``` -------------------------------- ### Install Appcircle CLI globally Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Installs the Appcircle CLI package globally using npm. Use this for system-wide access to the `appcircle` command. ```shell npm install -g @appcircle/cli ``` -------------------------------- ### Build Latest Commit from Branch Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Use this command to start a build for the latest commit on a specified branch. Requires profile, branch, and workflow IDs. ```bash # When you want to build the latest commit from a specific branch appcircle build start --profileId --branchId --workflowId ``` -------------------------------- ### appcircle build start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a new build for a specified profile and workflow. Requires either a profile ID or profile name, and either a workflow ID or workflow name. You must provide either commit information (commit ID or hash) or branch information (branch ID or name). Optionally specify a configuration and monitor mode. ```APIDOC ## appcircle build start ### Description Starts a new build for a specified profile and workflow. Requires either a profile ID or profile name, and either a workflow ID or workflow name. You must provide either commit information (commit ID or hash) or branch information (branch ID or name). Optionally specify a configuration and monitor mode. ### Method CLI Command ### Command `appcircle build start` ### Parameters #### Required Parameters - **--profileId** (UUID) - Required - Profile ID. Must be provided if `--profile` is not used. - **--profile** (string) - Required - Profile name. Must be provided if `--profileId` is not used. - **--workflowId** (UUID) - Required - Workflow ID. Must be provided if `--workflow` is not used. - **--workflow** (string) - Required - Workflow name. Must be provided if `--workflowId` is not used. #### Commit vs Branch Selection (choose one option) - **--commitId** (UUID) - Optional - Commit ID. Provide if using commit-based selection. - **--commitHash** (string) - Optional - Commit hash. Provide if using commit-based selection. - **--branchId** (UUID) - Optional - Branch ID. Provide if using branch-based selection. - **--branch** (string) - Optional - Branch name. Provide if using branch-based selection. #### Optional Parameters - **--configurationId** (UUID) - Optional - Configuration ID. If not provided, uses the first available configuration for the profile. - **--configuration** (string) - Optional - Configuration name. If not provided, uses the first available configuration for the profile. - **--monitor** (enum: none, summary, steps, verbose) - Optional - Controls how the build process is monitored and displayed. Default is `summary`. - **--execution-mode** (enum: normal, detailed, step-summary, skip) - Optional - Legacy parameter for backward compatibility. Automatically mapped to new monitor modes. ### Monitor Mode Details - **none**: No monitoring. Just return Task/Build ID and exit immediately. - **summary** (default): Wait until completion, show final status + total duration in one line. - **steps**: Wait until completion, show step-by-step progress (started/finished) minimally. - **verbose**: Wait until completion, stream detailed logs line by line in real-time. **Real-time Log Features:** - All monitor modes (except `none`) provide real-time log streaming from the build process. - Logs are displayed as they are generated, providing immediate feedback on build progress. - The system automatically handles log formatting and step transitions for better readability. **Backward Compatibility:** - The legacy `--execution-mode` parameter is still supported for backward compatibility. - Legacy modes are automatically mapped to new monitor modes: - `normal` → `summary` - `detailed` → `verbose` - `step-summary` → `steps` - `skip` → `none` ### Examples #### Using commit ID ```bash appcircle build start --profileId --commitId --workflowId ``` #### Using commit hash ```bash appcircle build start --profileId --commitHash --workflowId ``` #### Using branch ID ```bash appcircle build start --profileId --branchId --workflowId ``` #### Using branch name ```bash appcircle build start --profileId --branch "main" --workflowId ``` ### Options inherited from parent commands ```plaintext --help Show help for command ``` ``` -------------------------------- ### Migrate appcircle listBuildProfiles Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for listing build profiles. ```sh $ appcircle listBuildProfiles [options] [arguments] ``` -------------------------------- ### Build Specific Commit Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build for a specific commit; branch information is not needed when using --commitId. ```bash # When you want to build a specific commit (branch info not needed) appcircle build start --profileId --commitId --workflowId ``` -------------------------------- ### Examples: create text and file variables Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/variable/create.md Two example invocations: one creates a text variable with --type text, --key, --value, and --isSecret; the other creates a file variable with --type file and --filePath. ```plaintext $ appcircle build variable create --variableGroupId "Variable Group ID" --type "text" --key "Key Name" --value "Key Value" --isSecret true ``` ```plaintext $ appcircle build variable create --variableGroupId "Variable Group ID" --type "file" --key "Key Name" --filePath "File Path" ``` -------------------------------- ### Migrate appcircle listBuildProfileConfigurations Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for listing build profile configurations. ```sh $ appcircle listBuildProfileConfigurations [options] [arguments] ``` -------------------------------- ### Migrate appcircle listBuildProfiles: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for listing build profiles. ```sh $ appcircle build profile list [options] [arguments] ``` -------------------------------- ### appcircle logout example Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/logout/index.md Example of logging out from the current session. ```bash # Logout from your current session appcircle logout ``` -------------------------------- ### Example: create variable group with name Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/variable/group/create.md Example command that creates a variable group with the specified name. ```plaintext $ appcircle build variable group create --name "variable group" ``` -------------------------------- ### Enable Curl Logging with CURL_LOGGING Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Starts the Appcircle CLI with the CURL_LOGGING environment variable set to log requests as curl commands. The example shows the variable set to an empty value, which may enable logging depending on the implementation. ```bash CURL_LOGGING= appcircle ``` -------------------------------- ### Required parameters for appcircle build start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Lists the required parameters: --profileId or --profile, and --workflowId or --workflow. Use either the ID or name alternative for each. ```plaintext --profileId Build profile ID --profile Build profile name (alternative to --profileId) --workflowId Workflow ID --workflow Workflow name (alternative to --workflowId) ``` -------------------------------- ### Migrate appcircle listBuildProfileConfigurations: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for listing build profile configurations. ```sh $ appcircle build profile configurations [options] [arguments] ``` -------------------------------- ### Example: create certificate with name, email, and country code Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/certificate/create.md Example command that creates a certificate with the specified name, email, and country code. ```plaintext $ appcircle signing-identity certificate create --name "Certificate name" --email "sophie@appcircle.io" --countryCode "US" ``` -------------------------------- ### Example: download with variable group ID and path Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/variable/download.md Downloads environment variables to a specified path. ```plaintext $ appcircle build variable download --variableGroupId "Variable Group ID" --path "/path/to/save" ``` -------------------------------- ### Start build with branch ID or branch name Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Use --branchId or --branch to specify a branch. The latest commit from the branch is used. ```bash # Using branch ID appcircle build start --profileId --branchId --workflowId # Using branch name appcircle build start --profileId --branch "main" --workflowId ``` -------------------------------- ### Upload certificate examples Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/certificate/upload.md Two examples: one for uploading a certificate without a password, and one for uploading a password-protected certificate using the --password flag. ```bash # Upload a certificate without password appcircle signing-identity certificate upload --path ./ios_distribution.p12 ``` ```bash # Upload a password-protected certificate appcircle signing-identity certificate upload --path ./ios_distribution.p12 --password "mypassword" ``` -------------------------------- ### List keystores command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/keystore/list.md Displays the list of uploaded or installed keystores. The command syntax is `appcircle signing-identity keystore list [options]`. ```plaintext appcircle signing-identity keystore list [options] ``` -------------------------------- ### Migrate appcircle listBuildProfileWorkflows Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for listing build profile workflows. ```sh $ appcircle listBuildProfileWorkflows [options] [arguments] ``` -------------------------------- ### Example: Using Appcircle commit ID Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/view.md Example command using Appcircle's commit ID (--commitId) along with profile and branch IDs to view build details. ```bash # Using Appcircle commit ID appcircle build view --profileId 8ad65c77-9ed8-4664-a6e1-4bf7032d33cd --branchId f416f868-5d1a-4464-8ff7-70ddb789aeba --commitId b96329d3-fd56-4030-8073-c13c61d288c4 --buildId 6528b1b9-359c-4589-b29d-c249a2f690ee ``` -------------------------------- ### List provisioning profiles command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/provisioning-profile/list.md Displays the usage syntax for the `appcircle signing-identity provisioning-profile list` command, which retrieves the list of uploaded or installed provisioning profiles. The `[options]` placeholder indicates that command-specific options can be appended. ```plaintext appcircle signing-identity provisioning-profile list [options] ``` -------------------------------- ### Automation Pipeline with --no-wait Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md For CI/CD pipelines where you don't want to wait for build completion. The command returns immediately with task information. ```bash # For CI/CD pipelines where you don't want to wait for completion appcircle build start --profileId --commitId --workflowId --no-wait ``` -------------------------------- ### Build with Branch (uses latest commit) Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Starts a build using a branch ID, which uses the latest commit of that branch. Requires profileId, branchId, and workflowId. ```bash appcircle build start --profileId 550e8400-e29b-41d4-a716-446655440000 --branchId 6ba7b810-9dad-11d1-80b4-00c04fd430c8 --workflowId 6ba7b811-9dad-11d1-80b4-00c04fd430c8 ``` -------------------------------- ### Migrate appcircle listBuildProfileBranches Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for listing build profile branches. ```sh $ appcircle listBuildProfileBranches [options] [arguments] ``` -------------------------------- ### Migrate appcircle listBuildProfileBranches: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for listing build profile branches. ```sh $ appcircle build profile branch list [options] [arguments] ``` -------------------------------- ### Example: appcircle build variable group upload with options Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/variable/group/upload.md Example command that uploads variables from a JSON file to a specified variable group using --variableGroupId and --filePath options. ```plaintext $ appcircle build variable group upload --variableGroupId "Variable Group ID" --filePath "/path/to/variables.json" ``` -------------------------------- ### Conditional parameters for appcircle build start Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/start.md Lists conditional parameters for specifying the branch or commit. Provide either --branchId/--branch or --commitId/--commitHash. ```plaintext --branchId Appcircle branch ID,. Required when --commitId is not provided --branch Git branch name (alternative to --branchId). Required when --commitId is not provided --commitId Appcircle commit ID . Required when --branchId is not provided --commitHash Git commit hash (alternative to --commitId). Required when --branchId is not provided ``` -------------------------------- ### Example: download with variable group ID Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/variable/download.md Downloads environment variables for the specified variable group ID. ```plaintext $ appcircle build variable download --variableGroupId "Variable Group ID" ``` -------------------------------- ### Migrate appcircle listBuildProfileWorkflows: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for listing build profile workflows. ```sh $ appcircle build profile workflows [options] [arguments] ``` -------------------------------- ### Update Command Syntax: New Command Syntax Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Shows the new command syntax format used in version 2.0. ```bash appcircle ... [options] [arguments] ``` -------------------------------- ### Example: appcircle publish variable group upload Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/publish/variable/group/upload.md Example command that uploads variables from a JSON file to a specified variable group. ```plaintext $ appcircle publish variable group upload --publishVariableGroupId "Variable Group ID" --filePath "/path/to/variables.json" ``` -------------------------------- ### Migrate appcircle listBuildProfileCommits: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for listing build profile commits. ```sh $ appcircle build profile branch commits [options] [arguments] ``` -------------------------------- ### Migrate appcircle listBuildProfileCommits Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for listing build profile commits. ```sh $ appcircle listBuildProfileCommits [options] [arguments] ``` -------------------------------- ### Update Command Syntax: Old Command Syntax Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Shows the old command syntax format used in version 1.x. ```bash appcircle oldCommand [options] [arguments] ``` -------------------------------- ### Old appcircle getEnterpriseDownloadLink command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Legacy CLI command for getting an enterprise app download link in version 1.x. Replaced by the new command in 2.0. ```sh $ appcircle getEnterpriseDownloadLink [options] [arguments] ``` -------------------------------- ### New appcircle enterprise-app-store version download-link command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Replacement for the old getEnterpriseDownloadLink command in version 2.0. Use this command to get a download link for an enterprise app. ```sh $ appcircle enterprise-app-store version download-link [options] [arguments] ``` -------------------------------- ### Publish as Live and Beta versions Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/enterprise-app-store/version/publish.md Two example invocations: one publishes as Live (--publishType 2) and the other as Beta (--publishType 1). Both use the same profile and version IDs. ```bash # Publish as Live version appcircle enterprise-app-store version publish \ --entProfileId "5a228cb7-8ba4-469a-9da9-cc2e4e9607f8" \ --entVersionId "dee35ab4-cd4a-42e6-8eaa-feb6407abd31" \ --summary "New major release" \ --releaseNotes "Bug fixes and performance improvements" \ --publishType 2 ``` ```bash # Publish as Beta version appcircle enterprise-app-store version publish \ --entProfileId "5a228cb7-8ba4-469a-9da9-cc2e4e9607f8" \ --entVersionId "dee35ab4-cd4a-42e6-8eaa-feb6407abd31" \ --summary "Beta testing release" \ --releaseNotes "New features for testing" \ --publishType 1 ``` -------------------------------- ### Examples: appcircle testing-distribution profile settings auto-send Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/testing-distribution/profile/settings/auto-send.md Three example invocations: using profile ID and testing group IDs, using profile name and testing group names, and another using profile name and testing group name. The first uses --distProfileId and --testingGroupIds; the second and third use --distProfile and --testingGroups. ```plaintext $ appcircle testing-distribution profile settings auto-send --distProfileId "Distribution profile ID" --testingGroupIds "testingGroupId1 testingGroupId2" ``` ```plaintext $ appcircle testing-distribution profile settings auto-send --distProfile "Beta Testing" --testingGroups "QA Team,Beta Testers" ``` ```plaintext $ appcircle testing-distribution profile settings auto-send --distProfile "Production" --testingGroups "My Testers" ``` -------------------------------- ### Migrate appcircle publish profile version markAsRC: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for marking a profile version as RC. ```sh $ appcircle publish profile version mark-as-rc [options] [arguments] ``` -------------------------------- ### Upload App to Distribution Profile Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Uploads an app binary to a selected distribution profile with release notes. Get the profile ID using `appcircle testing-distribution profile list`. ```shell appcircle testing-distribution upload --app="YOUR APP PATH" --distProfileId="YOUR PROFILE ID" --message="YOUR RELEASE NOTES" ``` -------------------------------- ### Run Appcircle CLI in Interactive Mode Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Launches the Appcircle CLI's interactive GUI to access all features. Use this command to start the interactive mode. ```bash appcircle -i ``` -------------------------------- ### Migrate appcircle download to appcircle build download Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old and new commands for downloading build artifacts. The old command is deprecated in 1.x and replaced by the new command in 2.0. ```sh $ appcircle download [options] [arguments] ``` ```sh $ appcircle build download [options] [arguments] ``` -------------------------------- ### Migrate appcircle publish profile version markAsRC Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for marking a profile version as RC. ```sh $ appcircle publish profile version markAsRC [options] [arguments] ``` -------------------------------- ### Migrate appcircle listEnvironmentVariables to appcircle build variable view Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old and new commands for listing environment variables. The old command is deprecated in 1.x and replaced by the new command in 2.0. ```sh $ appcircle listEnvironmentVariables [options] [arguments] ``` ```sh $ appcircle build variable view [options] [arguments] ``` -------------------------------- ### appcircle testing-distribution profile create - New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/2.0-to-2.x.md New command syntax for creating a distribution profile in Appcircle CLI version 2.x. Replaces the old 'distribution profile create' command. ```sh $ appcircle testing-distribution profile create [options] [arguments] ``` -------------------------------- ### Build and publish to beta channel with Docker Source: https://github.com/appcircleio/appcircle-cli/blob/main/CONTRIBUTING.md Builds the Docker image and runs a container to publish the application to the beta channel using the `--tag beta` flag. Requires an NPM auth token. ```bash docker image build -t ac-cli . docker run --rm --env NPM_AUTH_TOKEN=abcd ac-cli npm publish --tag beta ``` -------------------------------- ### Usage: appcircle config get Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/config/get.md Prints the value of the currently active configuration property. The key argument specifies which property to retrieve. ```plaintext appcircle config get ``` -------------------------------- ### Configure Appcircle CLI for Self-Hosted Environment Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Adds a custom configuration environment for self-hosted Appcircle and sets the API and authentication hostnames. Use `appcircle config current self_env` to switch to this environment, or run `appcircle -i` for interactive setup. ```shell appcircle config add self_env appcircle config set API_HOSTNAME https://api.your.appcircle.io appcircle config set AUTH_HOSTNAME https://auth.your.appcircle.io ``` -------------------------------- ### Command syntax: appcircle build view [options] Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/view.md Shows the basic command syntax for viewing build details. Use with options to specify the build profile, branch, commit, and build ID. ```plaintext appcircle build view [options] ``` -------------------------------- ### Command usage: appcircle signing-identity keystore create Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/keystore/create.md Shows the command syntax for generating a new keystore. ```plaintext appcircle signing-identity keystore create [options] ``` -------------------------------- ### appcircle build command syntax Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/index.md Shows the general syntax for the appcircle build command and its subcommands. Use this as the base for all build-related actions. ```plaintext appcircle build [command] [options] ``` -------------------------------- ### appcircle build profile command syntax Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/profile/index.md Shows the general syntax for the `appcircle build profile` command and its subcommands. Use this as the entry point for managing build profile actions. ```plaintext appcircle build profile [command] [options] ``` -------------------------------- ### Command syntax for appcircle build download-log Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/download-log.md Shows the basic command syntax for downloading build logs. ```plaintext appcircle build download-log [options] ``` -------------------------------- ### appcircle build inherited --help option Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/index.md Lists the --help option inherited from parent commands, which displays help for the command. ```plaintext --help Show help for command ``` -------------------------------- ### Command usage: appcircle signing-identity certificate list Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/certificate/list.md Lists uploaded or installed certificates. Use with optional flags as needed. ```plaintext appcircle signing-identity certificate list [options] ``` -------------------------------- ### Options for download command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/provisioning-profile/download.md Lists the available options for the download command. --path specifies the download directory (defaults to current directory), --provisioningProfileId specifies the provisioning profile ID. ```plaintext --path [OPTIONAL] The path for provisioning profile to be downloaded: (Defaults to the current directory) --provisioningProfileId Provisioning Profile ID ``` -------------------------------- ### appcircle publish command syntax Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/publish/index.md Shows the general syntax for the appcircle publish command and its subcommands. Use this as the entry point for managing publish module actions. ```plaintext appcircle publish [command] [options] ``` -------------------------------- ### Migrate appcircle publish profile version unmarkAsRC Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Old command for unmarking a profile version as RC. ```sh $ appcircle publish profile version unmarkAsRC [options] [arguments] ``` -------------------------------- ### Build and publish to production with Docker Source: https://github.com/appcircleio/appcircle-cli/blob/main/CONTRIBUTING.md Builds the Docker image with an NPM auth token as a build argument and runs a container to publish the application to the production (stable) channel. ```bash docker image build -t ac-cli --build-arg NPM_AUTH_TOKEN=abcd . docker run --rm --env NPM_AUTH_TOKEN=abcd ac-cli npm publish ``` -------------------------------- ### Migrate appcircle publish profile version unmarkAsRC: New Command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md New command for unmarking a profile version as RC. ```sh $ appcircle publish profile version unmark-as-rc [options] [arguments] ``` -------------------------------- ### Command usage: appcircle build variable create Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/variable/create.md Shows the basic command syntax for creating a file or text environment variable. ```plaintext appcircle build variable create [options] ``` -------------------------------- ### Appcircle CLI command pattern Source: https://github.com/appcircleio/appcircle-cli/blob/main/README.md Shows the general syntax for Appcircle CLI commands: `appcircle ... [options]`. Use `appcircle [commandName] --help` to see available commands and subcommands. ```shell appcircle ... [options] ``` -------------------------------- ### List all configuration properties Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/config/list.md Displays all configuration properties in the Appcircle CLI. ```plaintext appcircle config list ``` -------------------------------- ### Command syntax: appcircle build download Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/download.md Basic command syntax for downloading build artifacts. Use with required options to specify the build. ```plaintext appcircle build download [options] ``` -------------------------------- ### Old appcircle uploadEnterpriseApp command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/migration-guides/1.x-to-2.0.md Legacy CLI command for uploading an enterprise app in version 1.x. Replaced by the new command in 2.0. ```sh $ appcircle uploadEnterpriseApp [options] [arguments] ``` -------------------------------- ### View keystore command usage Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/signing-identity/keystore/view.md Displays the command syntax for viewing keystore details. Use this command to view information about a specific keystore. ```plaintext appcircle signing-identity keystore view [options] ``` -------------------------------- ### appcircle publish profile version list Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/publish/profile/version/list.md Get list of app versions by given publish profile. This command requires the platform and publish profile ID options. ```APIDOC ## appcircle publish profile version list ### Description Get list of app versions by given publish profile. ### Command `appcircle publish profile version list [options]` ### Options - `--platform ` - Platform (ios/android) - `--publishProfileId ` - Publish Profile ID ### Options inherited from parent commands - `--help` - Show help for command ``` -------------------------------- ### Command usage: appcircle build profile workflows Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/profile/workflows.md Deprecated command to get the list of workflows of a build profile. Use `appcircle build profile workflow list` instead. ```plaintext appcircle build profile workflows [options] ``` -------------------------------- ### appcircle build profile list command Source: https://github.com/appcircleio/appcircle-cli/blob/main/docs/build/profile/list.md Lists build profiles. Run this command to see all available build profiles. ```plaintext appcircle build profile list ```