Comments (3)
Hello @sankaran1984
not 100% sure that I understood your question correctly...
On the one hand it looks like you want to interact with SFDC from a command-line or script type scenario and do not need interactiveness.
But on the other hand you mentioned :ApexInitProject
and : ApexCompare
which are very much interactive commands and do not make much sense without interactive user input.
Is there anyway, to redirect output of vim directly to Console.
So that, VI doesn't get open at all
You could use tooling-force.com.jar
directly without going through vim/vim-force.com.
To find out what command line parameters are needed for specific command you could either
- run specific command from vim and note what
tooling-force.com.jar
command line parameters vim-force.com generates - or run
java -jar tooling-force.com.jar
to get the list of supported commands and then runjava -jar tooling-force.com.jar --help=<action-name>
to get details about specific command.
Note however that some vim-force.com
commands (e.g. :ApexInitProject
) make no sense outside of vim
and are written in pure vimL
, so can not be run outside of vim.
If this does not answer your question then you may need to mention your use case in more details.
from vim-force.com.
HI @neowit
Oh.. ok. . Acutally, i like all your VIM Commands ApexInitProject, ApexCompare, Apex*.... it covers most of the workflow a developer needs on day to day job..
As the same time, i felt it would be better if it possible to run directly from console without being in VI editor. Also, i feel invoking commands inside the editor has few benefits like it could guess what is the current working project, access to all buffers, etc..
So, invoking from console, you need to pass project, file details explicitly to Apex* Commands.
If you think, it's not designed in that way, no issues. i can develop something similiar.
On tooling jar file, i knew about that. I have pretty much gone through complete source code. Thanks for your reply & great work again.
from vim-force.com.
If you think, it's not designed in that way, no issues. i can develop something similiar.
Yes, vim-force.com
is a vim plugin and meant to be used inside vim. It was not designed to be run from console.
from vim-force.com.
Related Issues (20)
- Cannot run scripts other than :ApexInitProject before running this script HOT 4
- [Question] Is it possible to check what org am I currently using? HOT 3
- [Question] Is it possible to know remote changes author? HOT 2
- Code Syntax Highlighting for files with extension `*.apxc`? HOT 1
- ApexRefreshProject do not download my new CustomSetting HOT 2
- can not run test for specific method HOT 2
- :ApexExecuteAnonymous: show some error for ~100 milliseconds HOT 3
- ApexTestWithCoverage open buffer with incorrect data HOT 3
- :ApexTest - is it possible to skip `Select Log Type to change`? HOT 1
- Auto-completion doesn't work HOT 7
- incorrect syntax highlight HOT 1
- Unable to refresh projects and files (Unexpected end-of-input) HOT 8
- Commands Fail Silently If Another Process Already Bound to Server Port HOT 3
- sfdx support HOT 1
- Unknown function HTMLIndent HOT 12
- Is there an option for force refresh of file. ApexRefreshFile doesn't support "!" like ApexDeploy! ? HOT 2
- Is ApexTListToggle deprecated? HOT 2
- ApexTestWithCoverage fails with below error. My Deploy/Refresh commands don't have any issues HOT 3
- Autocomplete is slow. HOT 2
- LWC support (in non-sfdx projects) HOT 5
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 vim-force.com.