Commit Graph

69 Commits

Author SHA1 Message Date
Jeff Carr 98730aed8a add RunCmd() 2024-02-12 21:51:29 -06:00
Jeff Carr 79d5ca71a8 xdg-open() for buttons 2024-02-12 15:23:10 -06:00
Jeff Carr 732102f794 all of this is terrible
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-02-11 04:09:48 -06:00
Jeff Carr c877c3886d updates after 4 years
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-02-10 16:31:19 -06:00
Jeff Carr 0b634a2a53 remove go.mod
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-02-09 12:17:42 -06:00
Jeff Carr 402d0be4fc no longer need these here
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-31 14:28:38 -06:00
Jeff Carr 585dc3f994 release automation
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-27 13:23:31 -06:00
Jeff Carr 4f507893ee testing release versioning
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-27 09:36:17 -06:00
Jeff Carr 41fe4a4659 new home
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-25 00:39:14 -06:00
Jeff Carr e24c2c2eb3 go.wit.com/log change
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-10 18:39:58 -06:00
Jeff Carr 096a4b17d1 more log() cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 20:52:42 -06:00
Jeff Carr cfd827bbdd use same name for github everywhere
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 20:14:38 -06:00
Jeff Carr 8d7fc91f65 oops + bump version
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 20:07:49 -06:00
Jeff Carr 3233c9d6ab use 'go.wit.com/log'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 20:01:07 -06:00
Jeff Carr 25715e30ee fix github sync syntax
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 15:09:20 -06:00
Jeff Carr 5e5e8466fe sync'd to github mirror
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 14:57:01 -06:00
Jeff Carr a329d9de9d move to go.wit.com/shell
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-20 14:46:13 -06:00
Jeff Carr ce748973b9 wrong URL's & no LICENSE file (ya, now there are 2. deal with it)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-02-10 15:56:10 -06:00
Jeff Carr 1b08d999eb MAKE: update Makefile rules
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-11-03 17:38:50 -05:00
Jeff Carr ad28138b84 BUILD: update import paths
Signed-off-by: Jeff Carr <jcarr@wit.com>
2021-08-09 00:38:06 -05:00
Jeff Carr cfd1909e16 unlink()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-16 13:35:32 -07:00
Jeff Carr f2fa2c1d31 trim null
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-16 12:49:05 -07:00
Jeff Carr 5d4ad13b77 track cmd failures
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-16 11:59:40 -07:00
Jeff Carr 2e37ee24f7 use standard log
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-16 10:54:45 -07:00
Jeff Carr 30d3fe09b5 smarter go syntax for Run()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-16 10:49:01 -07:00
Jeff Carr 3fadcf18a6 quiet Chomp() debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-15 19:17:37 -07:00
Jeff Carr 2806f41841 a new struct to track file handles for processes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-15 16:37:05 -07:00
Jeff Carr a3042062d8 add a File struct
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-15 14:45:09 -07:00
Jeff Carr 460baa0559 show err
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-15 00:27:15 -07:00
Jeff Carr a0db57edd2 more md5sum() debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 20:35:45 -07:00
Jeff Carr 8d1122b534 add shell.Cat()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 19:05:17 -07:00
Jeff Carr 2dc091f5bc import log
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 18:49:54 -07:00
Jeff Carr 6bfa200482 more debugging on replace
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 18:49:17 -07:00
Jeff Carr 177e665244 debugging for Write()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 18:45:05 -07:00
Jeff Carr d1ed400854 go-ssh workarounds for easier code automation
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 17:53:04 -07:00
Jeff Carr ee9a683f8c fix paths on Write()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 16:08:44 -07:00
Jeff Carr 9648439950 add a path wrapper for Windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 16:06:32 -07:00
Jeff Carr 621be7d20a updates to Exec()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 10:02:52 -07:00
Jeff Carr 60671c1308 add linux / windows build files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-14 04:20:29 -07:00
Jeff Carr 437afc794c more on windows/cygwin
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 20:29:29 -07:00
Jeff Carr db4ffc0fa9 more ssh tests
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 20:26:04 -07:00
Jeff Carr 49d36e287d start handling stupid Windows
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 19:31:37 -07:00
Jeff Carr b375aa752a start adding ssh support
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-13 18:41:41 -07:00
Jeff Carr 4736714c08 add shell.Exec() to execute and never return
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-09 14:29:50 -07:00
Jeff Carr df1460aa69 only return wget on 200
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-07 09:38:27 -07:00
Jeff Carr 8c2168f588 also print STDERR to STDOUT
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-07 09:14:21 -07:00
Jeff Carr 2fcc7947db add a quiet flag and some other fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-07 01:15:37 -07:00
Jeff Carr b56c3fe1f6 quiet output
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-07 00:36:46 -07:00
Jeff Carr 8db41cc911 always append \n when writing a file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-06 21:27:31 -07:00
Jeff Carr a12da586e9 handle int64
Signed-off-by: Jeff Carr <jcarr@wit.com>
2019-06-06 20:55:21 -07:00