Giter Club home page Giter Club logo

Comments (3)

neowit avatar neowit commented on June 13, 2024

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 run java -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.

sankaran1984 avatar sankaran1984 commented on June 13, 2024

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.

neowit avatar neowit commented on June 13, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.