mirror of
https://github.com/kellymichels/zscripts-token-savers
synced 2026-10-07 07:18:18 +00:00
zdeploy ended with two blank lines and nothing else did, so its output
was the only one that did not butt up against the next prompt. Applied
everywhere.
Implemented in Stop-ZTracking rather than per script, because every
tracked script ends by calling it - including the usage and guard paths
that do `Stop-ZTracking; exit 1`. One place therefore covers every exit
of sixteen scripts.
* Write-ZTrailer emits the two lines. Stop-ZTracking calls it on both
paths, including the early return when tracking never started - a
script that printed output still deserves the separation.
* -FinalNote prints one last line AFTER the tracking footer and BEFORE
the blanks. zdeploy's "Last deployed at ..." now goes through it, so
it stays the last thing on screen instead of being followed by the
token count.
* The standalone tools (zchecksums, zversion, zrelease) get a local
three-line copy at each exit rather than dot-sourcing ZHelpers -
they are deliberately dependency-free so they run from an extracted
release zip with nothing beside them.
* Redundant trailing blanks were removed where a script already
printed one before exiting, so the count is exactly two, not three.
Also fixes a related gap found while testing: the error exits inside
Get-ZConfig and Get-ZProject bypassed Stop-ZTracking entirely, so a run
that died on a missing zconfig.json printed no trailer AND no token
footer. Those three exits now route through Stop-ZTracking.
zkill/zrestart are one-line wrappers around scripts that already trail,
so they are untouched - adding it would double the blanks.
Verified by running each script and counting the trailing blank lines in
its captured output: 2 on every success path, every usage path, and the
config-error path. Suite 231/231. CHECKSUMS.txt refreshed.
43 lines
3.3 KiB
Plaintext
43 lines
3.3 KiB
Plaintext
445b3783d6f7babb50faf6c2ebc755bc5a320208c5a37b32756ef64f6dc70330 setup_backup_schedule.ps1
|
|
77015a96b6b48a3b6edea287862f1913946ecc909e7456d72ce4e88f92160811 token-count.ps1
|
|
a8a0e4449750df0599424608766d871fca1462d85086f82eec5a9e0d02545ad5 zbackup.cmd
|
|
272f14751b7e5976a1c33024df57c237cb48c74fd44bc64e144f09700eaef493 zbackup.ps1
|
|
22269ebf3db51ff82324bc56b529bd8b28708a8a52457fb041b2147f1883c072 zbackup_and_sync.ps1
|
|
d03d5adfbae02afaa158c76a9e8d22e0a3e4a0260b5d5b4707e6f6450f764d01 zbackup_ec2.cmd
|
|
dbd1b9c64fba16a308ffa8fa936f1bfda556b049aaa30ebe5400ca74b7e6aa5d zbackup_ec2.ps1
|
|
e03075f367a9ecee0f97438bc381044c74b7bd4e8cb4ff66b40048bba7ffd25a zchecksums.cmd
|
|
21b95ceab2c7e2348aaf0cfe98f569bc6921745d3378d7e1557ce7ea02c0ae14 zchecksums.ps1
|
|
3d1064817ace57fe61c54104900775a0208fdf7e782043cced84b002347acb11 zdeploy.cmd
|
|
f60ec2bb0d79f82269065409716514fcb5a298db2c7e2da7e37c63de58d9b389 zdeploy.ps1
|
|
6fa05d7c47992801d0ad65095146764cc207b566dca85956b3152221ef9af368 zec2.cmd
|
|
72217c04e8975f46b489bd7e223f9fda926d982a8e418fc2825c6aa4657f73b7 zec2.ps1
|
|
d0702f372ec5e47e2632229c61b71a9184edf0775d6e23af74e3f919d13eadb9 zec2_rotatekeys.cmd
|
|
0dd4e6fda06dbb023884d051851bf4700c8db020b7ac319bb44c5974990839f7 zec2_rotatekeys.ps1
|
|
70b3833c4e9e3232f2b694768fb3c14434157cc9ec746f1dd39b3dedbfdb180e zec2online.cmd
|
|
c3d5cca9cc94f51c97db01d22ceb140ef324e6f34c2fd1d4a3d0abbc0c3da263 zec2online.ps1
|
|
efd6ebb3c1024960538f788e904bafe220768f5112dc43575ef860efb489582b ZHelpers.ps1
|
|
c62535257a4af8d7b08ef00a98c4d0ce907c91bf905bed478e4bef7eaea2c3a5 zkill.cmd
|
|
0b58265cab05f1fe86a4707b6c6c5c4c492192b1a3176951141399a44a5e26ca zkill.ps1
|
|
88db51d332c3439ccdf85aa4196fec1a6db4b5289eb18065ea7f881d37f625d4 ZKiller.ps1
|
|
32573d676ceabadee0d89b46de05b73deec5489a317771e13c4b15f7d34d8427 ZKillOnly.ps1
|
|
392bddfa7e1c0fc21a828fa5af06d19156fd7305edfa2d5408f6335c3900716e zrelease.cmd
|
|
f767919315a1c847cb2d88819b2bad75eee98ff43157f01ed1b41d1058cddf53 zrelease.ps1
|
|
5ee7d7363362fab926487b8a622b9a0b7716ed08b2a74679e1d0e33659f58eec zrepair.cmd
|
|
48b00d3443e001f7265d8cda85b384f5b5ce39bf5eda5bcf711492da147c455f zrepair.ps1
|
|
4258b613e3913fbb24a54009452e829881a07a56956cd94b6878a1890d9cc422 zrestart.cmd
|
|
0dab7d6a529d5d8cdd38c3b7e6236306735c36b4591b98664e45a5d1d178fb1b zrestart.ps1
|
|
8d0680ec9f8b6431571ff590b552f469716da99e2e21c7cb5b92524afe15796f zrestartd.cmd
|
|
95c87c6320763b03f9b67792bc425e7b1b113cb0a2e4e7d4283911d821097d6a zsetup.cmd
|
|
7e6cc83ee10721dc23e4bb7c1ccbdc5f1fdc67e892d0af7cc98cb3695421c638 zsetup.ps1
|
|
05662f7de678a44f9f197414fbcbe43336b0aa499c63c1dac993b6c2b7d39f10 zsetup_mail.ps1
|
|
c4df12d8865b956b02d4f5d08edefd67a0ffc9036b23743fc262c64bc2681045 zstart.cmd
|
|
d5a9068a3e931eb86204d45887c3c156219320871e7f4efb812729eec2a49b87 zstart.ps1
|
|
b937fa0786eaccab596e5cdf67f40f0abadc1c52b3bef5e896e3cf16563d7b63 zstart_docker.cmd
|
|
380eda5611676c87b35e637f906ae6232e1fa53e8038e08d7c36f698807fa1ca zstart_docker.ps1
|
|
14a7d1916f5da8d36e458eb5eb653df915d20a80b0bb2e28b8e8d46256e0cb5d zstartd.cmd
|
|
3d23878766284479939cf282479aa8506bad3f038a6af625a246e229cc2ef8f0 zstop.ps1
|
|
e4dc95d5c8749c22fa85c4885ab8d65e7bb37a543260709fca0cac3fa0380e62 zsync.cmd
|
|
0d8615e7d4078e5bbeee8b6373302a3eb138709863256e982b06a3882613123c zsync.ps1
|
|
32b5a359a6d3e3006879eac8ecca112990d07c5993e0feeec29de5666a555e4e zversion.cmd
|
|
58974b7b9fc466d69890d72878957589f879794f9ea933bce96d379e5ead5aee zversion.ps1
|