edi [files] [arguments]
-c "<commands>"
: Run edi
with preset commands "<commands>"
. Commands must be semicolon-terminated.--raise-errors
: Don’t catch ruby errors--help
: Print CLI docs URLswitch
: Switch control between user and preset command (only applicable when using -c
)clear
: Clear the screenhelp
: Print CLI docs URLsel
: Show current selection
sel <tx>.<fg>.<ts>.<sg>
: Select tranaction <tx>
, functional group <fg>
, transaction set <ts>
, and segment <sg>
. Not all are requiredtx
: Transaction
tx list
: List transactionstx sel
: Show currently selected transaction
tx sel <tx>
: Select transaction <tx>
tx desel
: Deselect current transactiontx load <file>
: Load EDI transaction in <file>
tx unload <tx>
: Unload transaction <tx>
tx dup <file>
: Duplicate current transaction to <file>
tx new <file>
: Create new transaction in <file>
tx attr <attr>
: Get value of <attr>
tx attr <attr> <val>
: Set value of <attr>
to <val>
tx write
: Save current transactionfg
: Functional Group
fg list
: List functional groupsfg sel
: Show currently selected functional group
fg sel <fg>
: Select functional group <fg>
fg desel
: Deselect functional groupfg dup
: Duplicate functional group
fg dup <id>
: Duplicate current functional group, with id <id>
fg new
: New functional group
fg new <id>
: New functional group with id <id>
fg del
: Delete functional groupfg attr <attr>
: Get value of <attr>
fg attr <attr> <val>
: Set value of <attr>
to <val>
ts
: Transaction Set
ts list
: List transaction setsts sel
: Show currently selected transaction set
ts sel <ts>
: Select transaction set <ts>
ts desel
: Deselect transaction setts dup
: Duplicate transaction set
ts dup <id>
: Duplicate current transaction set, with id <id>
ts new
: New transaction set
ts new <id>
: New transaction set with id <id>
ts del
: Delete transaction setts attr <attr>
: Get value of <attr>
ts attr <attr> <val>
: Set value of <attr>
to <val>
sg
: Segment
sg list
: List segments
sg list <sg>
: List segment <sg>
sg list <1> <2>
: List segments <1>
through <2>
sg fil <type>
: List all segments of type <type>
sg search <regex>
: List all segments matching <regex>
in plain formsg sel
: Show currently selected segment
sg sel <sg>
: Select segment <sg>
sg desel
: Deselect segmentsg dup
: Duplicate segment
sg dup <id>
: Duplicate current segment, with id <id>
sg new <type>
: Create new segment of type <type>
sg new <type> <id>
: Create new segment of type <type>
with id <id>
sg del
: Delete segmentsg attr <attr|id>
: Get value of attribute <attr>
or attribute in position <id>
sg attr <attr|id> <value>
: Set value of attribute <attr>
or attribute in position <id>
to <value>