Comments (4)
@gdoenlen Thank you for your feedback. We have added your request to our backlog.
So I can better understand your use case and work on prioritizing your request if you are able, can you please provide me with more details on your workflow and project structure?
from cli.
My specific use case is that I'm building a GUI for the cli. In certain scenarios, like pushing and pulling the code, I have to change the working directory of my application to run commands for the user, and then remember to change the directory back, as well as handle any errors that could happen.
Having a flag like sfdx force:source:push --sourcedir /path/to/source
would help as then I won't need to worry about more errors as the cli would format them to be the same as all the others it can spit out and how changing the working directory will effect my application.
from cli.
You can do this now by using source:deploy
and specifying the project directory you want to deploy, optionally, with --tracksource
to get push-like tracking.
from cli.
5 years later 👍
from cli.
Related Issues (20)
- Getting error Type error:Messages.importMessagesDirectoryFromMetaUrl Is not a function HOT 14
- 'sf org login sfdx-url --sfdx-url-stdin` fails if an extra flag is given HOT 3
- Failed to download lwc-dev-server plugin HOT 9
- Projects missing .objectTranslation when having .fieldTranslation fail on CLI/VSCode operations HOT 3
- sfdx force:source:deploy failing with MetadataTransferError at MetadataApiDeploy.pollStatus HOT 3
- Deployment Validation with coverage-formatters writes to nested coverage/ folder HOT 9
- add path erroe HOT 4
- Unable to run sf plugins link HOT 6
- Inconsistent .sf config file locations HOT 2
- Impossible to connect to an org via CLI - blocking issue HOT 11
- Impossible to install Salesforce CLI with the fix of CVE-2024-27980 on NodeJS HOT 5
- Unable to retrieve new Expression set version using CLI HOT 6
- Error when deploying an Approval Process with a 'starts with' criteria HOT 7
- ComponentSet.fromSource() ignores component.isMarkedForDelete() in include filter HOT 2
- Source Tracking recognises a deleted Global Action (`QuickAction`) as `QuickActionDefinition` and fails retrieving the change HOT 3
- Custom Object Translations in source format omit help text, labels, etc. that mdapi format includes HOT 3
- sf project retrieve start is requesting "directory with a valid DX project" even when using METADATA API FORMAT FLAGS HOT 9
- @salesforce/cli/2.37.4 sf project retrieve start error HOT 8
- issue with the last release: cmd "flash" each time SF query is done HOT 13
- Running --tests with multiple --tests parameters does not work as expected HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.