cf-targets-plugin
cf-targets-plugin copied to clipboard
Support a different target in each terminal window
Nice plugin @guidowb. I have a bash script that I've been using for a similar purpose, but I like the idea of using a CLI plugin instead.
However, my script has an additional feature that I find indispensable. It not only makes it fast and easy to switch targets, but allows each open terminal window to use a different target. It does this by creating a cf
config directory for each target like your plugin does, but also sets CF_HOME
to point to that directory. Since CF_HOME
is specific to a terminal session, I can switch between terminal windows and have each window targeting a different org and space.
Any chance you could enhance this plugin to do something similar?
Absolutely agree! I have not implemented the integration of the ODEs yet but I had DifferentialEquations.jl in mind.
I think I won't have any time for the project until Christmas, but when I finish a small refactor that is on course, that's for sure the next step.
Would you mind giving me some indications on what the right way of interfacing with DifferentialEquations.jl is?
Would you mind giving me some indications on what the right way of interfacing with DifferentialEquations.jl is?
Depend directly on DiffEqBase here and have the interface spit out an ODEProblem
(or maybe just the dynamics). Then in your tests just depend on OrdinaryDiffEq, and you can choose to solve with something like Tsit5
. In this style, you won't take on very many dependencies, but then any possible ODE solver can be used to solve the resulting dynamical system.