Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚸 Improvement: Grab the value for the default source directory from the sfdx project file instead #28

Open
e02d96ec16 opened this issue Mar 20, 2019 · 0 comments

Comments

@e02d96ec16
Copy link

e02d96ec16 commented Mar 20, 2019

Enhancement request

Currently, the commands that employ an argument for pointing to the source folder (usually -d) are set to have a default value (force-app/main/default) in order to allow them to be optional (ie better usability).

I would like for the force-app part of this default value to be dynamically resolved instead, to the default package directory defined in the SFDX project file.

Example:

  • currently: force-app/main/default
  • desirable: sfdx-source/my_ns_prefix/main/default

Here's a SFDX project file (excert from sfdx-falcon) for reference:

{
  "packageDirectories": [
    { "path": "sfdx-source/my_ns_prefix", "default": true },
    { "path": "sfdx-source/unpackaged"},
    { "path": "sfdx-source/untracked"}
  ],
  "namespace": "my_ns_prefix",
  "sfdcLoginUrl": "https://login.salesforce.com",
  "sourceApiVersion": "43.0"
}

I would classify this as "Nice to have".

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

No branches or pull requests

1 participant