Robert Zehnder
02/16/2022, 10:56 PMbdw429s
02/16/2022, 11:01 PMbdw429s
02/16/2022, 11:01 PMbdw429s
02/16/2022, 11:01 PMbdw429s
02/16/2022, 11:01 PMRobert Zehnder
02/16/2022, 11:02 PMwatch
in another terminal, I was just being lazy and trying to save that extra 3 seconds or sobdw429s
02/16/2022, 11:02 PMbdw429s
02/16/2022, 11:02 PMRobert Zehnder
02/16/2022, 11:02 PMbdw429s
02/16/2022, 11:03 PMRobert Zehnder
02/16/2022, 11:03 PMbdw429s
02/16/2022, 11:06 PMmborn
02/16/2022, 11:13 PMgit commit
command? No.
See
• my ITB talk on github actions - https://cfcasts.com/series/into-the-box-2021/videos/automate-all-things-with-github-actions-michael-born
• our "CommandBox GitHub Action" docs - https://github.com/marketplace/actions/box-command#cfformat-usagebdw429s
02/16/2022, 11:14 PMbdw429s
02/16/2022, 11:14 PMbdw429s
02/16/2022, 11:14 PMRobert Zehnder
02/16/2022, 11:15 PMbdw429s
02/16/2022, 11:15 PMRobert Zehnder
02/16/2022, 11:15 PMbdw429s
02/16/2022, 11:15 PMsteps:
- uses: Ortus-Solutions/commandbox-action@v1.0.2
with:
cmd: cfformat run models,handlers,interceptors,tests/specs --overwrite
mborn
02/16/2022, 11:16 PMbox task run cfformat
. This wa devs can specify the cfformat
script inside box.json
and use it within VS Code as well.Robert Zehnder
02/16/2022, 11:16 PMmborn
02/16/2022, 11:19 PMRobert Zehnder
02/16/2022, 11:20 PMbhartsfield
02/17/2022, 1:52 AMbhartsfield
02/17/2022, 1:52 AM"command-runner.terminal.name": "runCommand",
"command-runner.terminal.autoClear": true,
"command-runner.terminal.autoFocus": true,
"command-runner.commands": {
"cfformat file": "box fmt ${file} --overwrite"
}
bdw429s
02/17/2022, 4:10 AMbhartsfield
03/02/2022, 9:08 PM