From ded55172e6f293e849965dd499f0b325abe965e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Colladon?= Date: Sat, 5 Oct 2024 14:14:50 +0200 Subject: [PATCH] docs: update sf command line references --- .github/ISSUE_TEMPLATE/issue.md | 6 +++--- .github/workflows/on-main-push.yml | 4 ++-- .github/workflows/on-merged-pull-request.yml | 2 +- .github/workflows/on-published-release.yml | 4 ++-- .github/workflows/on-pull-request.yml | 2 +- .github/workflows/run-e2e-tests.yml | 4 ++-- CONTRIBUTING.md | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/issue.md b/.github/ISSUE_TEMPLATE/issue.md index 487df9cfa..0971a7052 100644 --- a/.github/ISSUE_TEMPLATE/issue.md +++ b/.github/ISSUE_TEMPLATE/issue.md @@ -51,7 +51,7 @@ Issue verification check: Ex: https://github.com/scolladon/sfdx-git-delta-reproduction-playground sgd -d -r . -f HEAD^ - sfdx sgd:source:delta -d -f HEAD^ + sf sgd source delta -d -f HEAD^ --> ## Execution context @@ -59,7 +59,7 @@ Issue verification check: --- **Operating System:** … @@ -70,7 +70,7 @@ $ uname -v ; yarn -v ; node -v ; git --version ; sfdx --version ; sfdx plugins **git version:** … -**sfdx version:** … +**sf version:** … **sgd plugin version:** … diff --git a/.github/workflows/on-main-push.yml b/.github/workflows/on-main-push.yml index 45d3ddba1..600627987 100644 --- a/.github/workflows/on-main-push.yml +++ b/.github/workflows/on-main-push.yml @@ -84,8 +84,8 @@ jobs: - name: Install plugin run: | yarn set version classic - sfdx plugins:link . - sfdx plugins + sf plugins link . + sf plugins - name: Checkout e2e test subject uses: actions/checkout@v4 diff --git a/.github/workflows/on-merged-pull-request.yml b/.github/workflows/on-merged-pull-request.yml index fbbe213c4..dce00cc83 100644 --- a/.github/workflows/on-merged-pull-request.yml +++ b/.github/workflows/on-merged-pull-request.yml @@ -53,7 +53,7 @@ jobs: message: | Published under `${{ env.DEV_CHANNEL }}` npm channel. ```sh - $ sfdx plugins:install sfdx-git-delta@${{ env.DEV_CHANNEL }} + $ sf plugins install sfdx-git-delta@${{ env.DEV_CHANNEL }} ``` comment_tag: dev-publish mode: delete diff --git a/.github/workflows/on-published-release.yml b/.github/workflows/on-published-release.yml index ca49af44c..972cebbba 100644 --- a/.github/workflows/on-published-release.yml +++ b/.github/workflows/on-published-release.yml @@ -17,7 +17,7 @@ jobs: Shipped in [release `{release_tag}`]({release_link}). You can install the new version using the version number or the `latest-rc` channel ```sh - $ sfdx plugins:install sfdx-git-delta@latest-rc - $ sfdx plugins:install sfdx-git-delta@{release_tag} + $ sf plugins install sfdx-git-delta@latest-rc + $ sf plugins install sfdx-git-delta@{release_tag} ``` Happy incremental deployment! diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 0f73e197e..de79f10dd 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -145,7 +145,7 @@ jobs: message: | Published under `${{ env.DEV_CHANNEL }}` npm channel. ```sh - $ sfdx plugins:install sfdx-git-delta@${{ env.DEV_CHANNEL }} + $ sf plugins install sfdx-git-delta@${{ env.DEV_CHANNEL }} ``` comment_tag: dev-publish mode: recreate diff --git a/.github/workflows/run-e2e-tests.yml b/.github/workflows/run-e2e-tests.yml index 4c54509b2..d56c36df9 100644 --- a/.github/workflows/run-e2e-tests.yml +++ b/.github/workflows/run-e2e-tests.yml @@ -32,10 +32,10 @@ jobs: run: npm install -g ${{ matrix.cli }} - name: Install new plugin version - run: echo y | sfdx plugins:install sfdx-git-delta@${{ inputs.channel }} + run: echo y | sf plugins install sfdx-git-delta@${{ inputs.channel }} - name: Test new plugin version - run: sfdx sgd:source:delta --help + run: sf sgd source delta --help - name: E2E Tests run: | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cac44e4ff..6b7325cb3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,7 +77,7 @@ Then execute: # remove expected content yarn clean # run the test -sfdx sgd:source:delta --from "e2e/base" --to "e2e/head" --output "expected" -d +sf sgd source delta --from "e2e/base" --to "e2e/head" --output "expected" --generate-delta # check expected is back to normal yarn test:e2e ``` @@ -238,5 +238,5 @@ When the character you should take for the short parameter is already taken then To test SGD as a Salesforce CLI plugin from a pending pull request: 1. locate the comment with the beta version published in the pull request -2. install the beta version `sfdx plugins:install sfdx-git-delta@` +2. install the beta version `sf plugins install sfdx-git-delta@` 3. test the plugin! \ No newline at end of file