try doc again

This commit is contained in:
Jeff Carr 2025-09-22 21:07:24 -05:00
parent 37aebd9d73
commit a9c4b21b35
1 changed files with 30 additions and 38 deletions

68
doc.go
View File

@ -1,48 +1,40 @@
/* /*
forge -- a tool to manage lots of git repos. forge includes a GUI and TUI. forge -- a tool to manage lots of git repos. forge includes a GUI and TUI.
forge only executes the 'git' command. Everything it does, you can run by hand with 'git'. forge only executes the 'git' command. Everything it does, you can run by hand with 'git'.
forge v0.22.138-6-gaea7f16 Built on 2025.09.03_1935
Usage: forge [--debugger] [--logger] [--no-gui] [--gui GUI] [--gui-file GUI-FILE] [--gui-build] [--gui-verbose] [--gui-check-plugin GUI-CHECK-PLUGIN] [--connect CONNECT] [--all] [--build BUILD] [--install INSTALL] [--forge-rebuild] [--force] [--verbose] [--bash] [--auto-complete AUTO-COMPLETE] <command> [<args>]
Options: Options:
--debugger open the debugger window
--debugger open the debugger window --logger open the log.* control window
--logger open the log.* control window --gui GUI select the plugin (andlabs,gocui,etc)
--no-gui ignore all these gui problems --gui-verbose enable all logging
--gui GUI Use this gui toolkit [andlabs,gocui,nocui,stdin] --bash generate bash completion
--gui-file GUI-FILE Use a specific plugin.so file --bash generate bash completion
--gui-build attempt to build the GUI plugins --connect CONNECT forge url
--gui-verbose enable all logging --all git commit --all
--gui-check-plugin GUI-CHECK-PLUGIN --build BUILD build a repo
hack to verify GO plugins load --install INSTALL install a repo
--connect CONNECT forge url --forge-rebuild download and rebuild forge
--all git commit --all --force try to strong arm things
--build BUILD build a repo --verbose show more output
--install INSTALL install a repo --help, -h display this help and exit
--forge-rebuild download and rebuild forge --version display version and exit
--force try to strong arm things
--verbose show more output
--bash generate bash completion
--auto-complete AUTO-COMPLETE
todo: move this to go-arg
--help, -h display this help and exit
--version display version and exit
Commands: Commands:
help New to forge? This is for you.'
checkout switch branches using 'git checkout' checkout switch branches using 'git checkout'
clean start over at the beginning clean start over at the beginning
commit 'git commit' but errors out if on wrong branch commit 'git commit' but errors out if on wrong branch
config show your .config/forge/ settings config show your .config/forge/ settings
debug debug forge dirty show dirty git repos
dirty show dirty git repos fetch run 'git fetch master'
fetch run 'git fetch master' gui open the gui
list print a table of the current repos list print a table of the current repos
merge merge branches merge merge branches
normal set every repo to the default state for software development normal set every repo to the default state for software development
patch make patchsets patch make patchsets
pull run 'git pull' pull run 'git pull'
tag manage git tags
*/ */
package main package main