Skip to content

Conversation

@mshanemc
Copy link
Contributor

What does this PR do?

use built-in "concise" flag for source:beta:status to omit ignored files (rather than a new flag)

What issues does this PR fix or reference?

@W-10271553@
forcedotcom/cli#1312

Co-authored-by: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com>
@WillieRuemmele
Copy link
Contributor

local change to apex class

 ➜  sfdx force:source:beta:status
Source Status
STATE          FULL NAME  TYPE       PROJECT PATH
─────────────  ─────────  ─────────  ───────────────────────────────────────
Local Changed  post       ApexClass  force-app/main/default/classes/post.cls
Remote Add     Admin      Profile

✅ : shows as ignored when added to .forceignore force-app/main/default/classes/post.*

➜  dreamhouse-lwc git:(main) ✗  hub:(DevHub) scratch:(test-1bgrnpkpzx5i@example.com)
 ➜  sfdx force:source:beta:status
Source Status
IGNORED  STATE          FULL NAME  TYPE       PROJECT PATH
───────  ─────────────  ─────────  ─────────  ───────────────────────────────────────
true     Local Changed  post       ApexClass  force-app/main/default/classes/post.cls
         Remote Add     Admin      Profile

✅ : removed from output when using the --concise flag

➜  dreamhouse-lwc git:(main) ✗  hub:(DevHub) scratch:(test-1bgrnpkpzx5i@example.com)
 ➜  sfdx force:source:beta:status --concise
Source Status
STATE       FULL NAME  TYPE     PROJECT PATH
──────────  ─────────  ───────  ────────────
Remote Add  Admin      Profile

✅ : DOESN'T change --json output

@WillieRuemmele WillieRuemmele merged commit 2dcbac8 into main Jan 12, 2022
@WillieRuemmele WillieRuemmele deleted the sm/concise-status branch January 12, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants