@etherdata-blockchain/remote-action
TypeScript icon, indicating that this package has built-in type declarations

5.0.3 • Public • Published

Remote Action

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;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @etherdata-blockchain/remote-action

Weekly Downloads

7

Version

5.0.3

License

MIT

Unpacked Size

159 kB

Total Files

43

Last publish

Collaborators

  • sirily11