deployr: github.com/skx/deployr/statement Index | Files

package statement

import "github.com/skx/deployr/statement"

Index

Package Files

statement.go

type Statement Uses

type Statement struct {
    // Token is the main action "Set", "Run", etc.
    Token token.Token

    // When running a command `Run`, `IfChanged` should we use
    // sudo?
    Sudo bool

    // Arguments contains the arguments to the operation.
    Arguments []token.Token
}

Statement holds a single statement to be executed.

Package statement imports 1 packages (graph) and is imported by 2 packages. Updated 2018-10-27. Refresh now. Tools for package owners.