casual transactionΒΆ

host# casual --help transaction

  transaction [0..1]
        transaction related administration

    SUB OPTIONS
      -lt, --list-transactions [0..1]
            list current transactions

      -lr, --list-resources [0..1]
            list all resources

      -li, --list-instances [0..1]
            list resource instances

      --list-external-resources [0..1]
            list external resources

      --begin [0..1]
            creates a 'single' transaction directive
            
            * creates a new transaction and send it downstream.
            * all downstream `actions` will be associated with this transaction, until commit/rollback.
            * @attention there has to be a corresponding commit/rollback downstream for every 
               --begin, otherwise the transaction(s) will be unresolved (indoubt).
            
            @note: part of casual-pipe

      --commit [0..1]
            tries to commit the upstream transaction
            
            * The current transaction will be committed (if error from upstream -> rollback)
            * Downstream `actions` will not be associated with the current transaction.
            
            @note: part of casual-pipe

      --rollback [0..1]
            tries to rollback the upstream transaction
            
            * The current transaction will be rolled back.
            * Downstream `actions` will not be associated with the current transaction.
            
            @note: part of casual-pipe

      -si, --scale-instances [0..1]  (rm-id, # instances) [0..* {2}]
            scale resource proxy instances

      -lp, --list-pending [0..1]
            list pending tasks

      --legend [0..1]  (list-resources) [1]
            the legend for the supplied option
            
            Documentation and description for abbreviations and acronyms used as columns in output
            
            note: not all options has legend, use 'auto complete' to find out which legends are supported.

      --information [0..1]
            collect aggregated information about transactions in this domain

      --state [0..1]  (json, yaml, xml, ini, line) [0..1]
            prints state in the provided format to stdout