@etherdata-blockchain/block-exporter
v5.0.3
Published
Block Exporter
Downloads
16
Readme
Remote Config
Run your ssh command with simple a configuration file
Available variable
- {index}: Current remote index
Available configs
export interface Config {
name: string;
remote: string[];
login: Login;
logger: Logger;
steps: Step[];
output: boolean;
}
export interface Logger {
output: string;
}
export interface Login {
username: string;
password: string;
}
export interface Step {
run?: string;
catch_err?: boolean;
files?: Directory[];
directory?: Directory;
env?: string[];
cwd?: string;
name?: string;
with_root?: boolean;
}
export interface Directory {
local: string;
remote: string;
}