---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: Extend
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Workday Developer CLI (WDCLI) for Extend Apps Commands
layout: subsection
---

## <a id="section_4"></a>Account

-   <b>list</b>

    Displays all companies that the authenticated user belongs to.

    `wdcli account list`

-   <b>switch</b>

    Switch to a different company. On login, the WDCLI defaults to a user’s primary company.

    `wdcli account switch`



## <a id="section_2"></a>App

-   <b>builds</b>

    Displays builds of a given app version.

    `wdcli app builds charitableDonationsUserBuild_cqbvyp`

-   <b>builds logs</b>

    Displays build logs of a given build.

    `wdcli app builds logs 8d7c91f17b3ed8aea3c15a9a2a1da0db`

-   <b>copy</b>

    Copies a local app to a new local directory with a new app reference ID. To create a Built on Workday Extend app using the copy command, you can optionally add the `--built-on-workday` flag.

    `wdcli app copy charitableDonationsUserBuild_cqbvyp --name charitableDonationsNewApp_cqbvyp`

-   <b>create</b>

    Creates an app.

    `wdcli app create charitableDonationsUserBuild_cqbvyp`

-   <b>deploy</b>

    Deploys the application into the specified tenant.

    `wdcli app deploy myAppRefId --tenant-alias example-alias --version 02`

-   <b>download</b>

    Downloads an app from App Hub to the specified directory.

    `wdcli app download charitableDonationsUserBuild_cqbvyp --latest-version`

-   <b>info</b>

    Displays app info for a specified app.

    `wdcli app info charitableDonationsUserBuild_cqbvyp`

-   <b>list</b>

    Displays apps of a given company.

    `wdcli app list cqbvyp`

-   <b>preview</b>

    Opens a local preview of your app. To stop your local app preview, use <b>CTRL + c</b>. If you’re using Local Disk Sync, WDCLI and Local Disk Sync must reference the same folder for the preview command to return accurate results.

    <b>Note:</b> This command is available for Extend apps only.

    `wdcli app preview charitableDonationsUserBuild_cqbvyp`

-   <b>promote</b>

    Promotes a given application-version to the specified level. For Built on Workday Extend app promotion, producers can optionally use the `--built-on-workday-version` flag to set the version.

    `wdcli app promote charitableDonationsUserBuild_cqbvyp --level implementation`

    <b>Note:</b> App promotion with the Workday Developer CLI adheres to the same guidelines, best practices, and deadlines as the Developer Site. This includes specific promotion deadlines for Workday Extend apps with model components.

-   <b>upload</b>

    Uploads the application to App Hub as specified by directory.

    `wdcli app upload`

-   <b>validate</b>

    Runs validation only against App Builder components in an app. You must validate Orchestrations separately using Orchestration Builder.

    <b>Note:</b> This command is available for Extend apps only.

    `wdcli app validate charitableDonationsUserBuild_cqbvyp`

-   <b>versions</b>

    Displays versions for a given app.

    `wdcli app versions charitableDonationsUserBuild_cqbvyp`



## <a id="section_1"></a>Auth

-   <b>login</b>

    Workday prompts you to log in and requires manual intervention to log in.

    `wdcli auth login`

    The WDCLI command to login as System User is:

    `wdcli auth login --system-user`

-   <b>logout</b>

    `wdcli auth logout`



## <a id="section_3"></a>Config

-   <b>set</b>

    Sets a value for a given parameter. To see all parameters, use the `--help` flag.

    `wdcli config set defaultCompanyShortId abcdef`

-   <b>show</b>

    Shows current values for config parameters. To show all currently set parameters, leave arguments empty.

    `wdcli config show`



## <a id="section_rmf_fng_14b"></a>General

-   <b>help</b>

    Displays list and syntax of WDCLI commands.

    `wdcli help`

-   <b>version</b>

    Displays WDCLI version information.

    `wdcli version`

-   <b>whoami</b>

    Displays information about the current user and company.

    `wdcli whoami`



## <a id="section_5"></a>Tenant

-   <b>list</b>

    Displays all your registered tenants.

    `wdcli tenant list`

-   <b>login</b>

    Authenticates to Workday Extend for tenanted access.

    `wdcli tenant login my-alias`

-   <b>logout</b>

    Removes the locally stored tenanted access token.

    `wdcli tenant logout`

-   <b>open</b>

    Opens a tenant in your default browser.

    `wdcli tenant open example-tenant-alias`

-   <b>token</b>

    Displays the current Workday tenanted access token. Access is limited to only one tenant at a time and the new token overwrites any existing tenanted token.

    `wdcli tenant token`



