A month ago I started work on a project, building custom Apex classes. For awhile, the project was small, and I could manage it via the Developer Console. That is, by copying-and-pasting my code from my text editor to the webforms in the Developer Console.
Now the project is getting bigger, and I can no longer keep track of things via the Developer Console. I am hoping to use Force-CLI to manage things from this point forward.
When I search Google for info about Force-CLI, there is a lot of information about "export" but very little about "import".
When I run this:
I get a huge number files, including all of my custom classes. This is great.
Now I have made some changes to the files, and I'd like to send them back to Salesforce. I assume I can do:
force import -directory=metadata -c -r -v
and this should be fine.
I am curious though, if I have changed the name of files, does "force import" cause the old files to be deleted? I would prefer that, if possible, but I don't see that option. I would like an option that basically empowered me to say "If you don't see a file in my metadata directory, then please erase it from the project."
Is that possible?
And will "force import" generate the XML files for me?