distsshkit
A third way to call the kit: a distsshkit command in the terminal, like git or rsync. Same flags as julia -m DistSSHKit.
This is Pkg Apps. The default remains pkg> add and julia --project=. -m DistSSHKit.
pkg> app add DistSSHKitAdd ~/.julia/bin to PATH if Pkg asks. Same argv, different kit:
distsshkit go user@host:1 path/to/script.jl
julia --project=. -m DistSSHKit go user@host:1 path/to/script.jlThe first always runs the Apps copy of DistSSHKit, not the kit in --project=..
| Command | Use |
|---|---|
go / setup / demo | distsshkit … is fine |
drive / size | stay on julia --project=. -m DistSSHKit … (Apps pins JULIA_LOAD_PATH) |
distsshkit demo install with_kit
distsshkit setup --rsync user@host1 # first deploy
distsshkit setup --instantiate user@host1 # remote Pkg
# size / drive: job project, not the Apps copy
julia --project=. -m DistSSHKit size --local user@host1
distsshkit go user@host1:1 path/to/script.jl # one full run per slotAfter changing juliaup: pkg> app update DistSSHKit. Flag lists: distsshkit {cmd} --help or the command pages.