forked from cas/multiball
Document things a bit more!
This commit is contained in:
parent
d05e8fe31a
commit
ca6f2c2655
@ -5,3 +5,11 @@
|
|||||||
|_| |_|\__,_|_|\__|_|_.__/ \__,_|_|_(_|_)
|
|_| |_|\__,_|_|\__|_|_.__/ \__,_|_|_(_|_)
|
||||||
|
|
||||||
Run commands across a set of hosts interactively!
|
Run commands across a set of hosts interactively!
|
||||||
|
=================================================
|
||||||
|
|
||||||
|
Basic configuration file is in multiball.cfg.example in the distribution. Customize to your liking. Host list is loaded from,
|
||||||
|
by default, your ssh configuration (assuming you have a specific ssh configuration for your all hosts like Autonomic has). You
|
||||||
|
can also use arbitrary host lists (documented in configuration file).
|
||||||
|
|
||||||
|
|
||||||
|
Planned features, see __main__.py's comments.
|
||||||
|
@ -1,9 +1,19 @@
|
|||||||
[config]
|
[config]
|
||||||
|
# The path to the file to store history in.
|
||||||
history=multiball.history
|
history=multiball.history
|
||||||
|
|
||||||
|
# A comma-separated list of sshconfigs, but really only the first one matters due to a bug.
|
||||||
sshconfigs=~/.ssh/config
|
sshconfigs=~/.ssh/config
|
||||||
|
|
||||||
|
# Bare host lists, one host per line.
|
||||||
|
#hostlists=example.txt,example2.txt
|
||||||
hostlists=
|
hostlists=
|
||||||
|
|
||||||
[startup]
|
[startup]
|
||||||
|
# Commands which run at startup. Not really supported yet. For building aliases and things.
|
||||||
|
|
||||||
|
|
||||||
|
### Below are commands, which are a mini-script to execute several commands in a row.
|
||||||
|
|
||||||
[cmd.upgrade]
|
[cmd.upgrade]
|
||||||
/unsafe
|
/unsafe
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
# - allow scripts that use -safe to prompt for safety / restore safety after running
|
# - allow scripts that use -safe to prompt for safety / restore safety after running
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import datetime
|
import datetime
|
||||||
import fnmatch
|
import fnmatch
|
||||||
|
@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|||||||
[project]
|
[project]
|
||||||
name = "multiball"
|
name = "multiball"
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
description = "Run commands accross a set of hosts interactively."
|
description = "Multi-host parallel execution shell with powerful features."
|
||||||
authors = [{name = "Cassowary", email="cassowary@riseup.net"}]
|
authors = [{name = "Cassowary", email="cassowary@riseup.net"}]
|
||||||
dependencies = ["tqdm", "yaml-1.3", "prompt_toolkit", "fabric2"]
|
dependencies = ["tqdm", "yaml-1.3", "prompt_toolkit", "fabric2"]
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
|
Loading…
Reference in New Issue
Block a user