Update docs
ci/woodpecker/push/goreleaser Pipeline was successful Details
ci/woodpecker/tag/goreleaser Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main v0.0.2
jolheiser 2022-09-03 21:34:43 -05:00
parent c950b9e903
commit 37d0e9f29b
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
3 changed files with 23 additions and 63 deletions

80
DOCS.md
View File

@ -16,8 +16,7 @@ git-ea
```
[--help]
[--v]
[--version]
[--version,-v]
```
**Usage**:
@ -28,10 +27,7 @@ git-ea <cmd>
**--help**: Show help
**--v**: --version
**--version**: Print git-ea version
**--version,-v**: Print git-ea version
-----
@ -61,13 +57,10 @@ backport cherry-picks a commit and applies it to a clean branch based on `releas
```
[--f]=[value]
[--from]=[value]
[--from,-f]=[value]
[--help]
[--l]
[--list]
[--t]=[value]
[--to]=[value]
[--list,-l]
[--to,-t]=[value]
```
**Usage**:
@ -75,25 +68,16 @@ backport cherry-picks a commit and applies it to a clean branch based on `releas
backport --from [release=main] --to [release=latest]
```
**--f**="": --from
**--from**="": Release to backport from (ex: `main`, default: main)
**--from,-f**="": Release to backport from (ex: `main`, default: main)
**--help**: Show help
**--l**: --list
**--list,-l**: Open repository to see needed backports
**--list**: Open repository to see needed backports
**--t**="": --to
**--to**="": Release to backport to (ex: `1.17`, default: `latest`)
**--to,-t**="": Release to backport to (ex: `1.17`, default: `latest`)
-----
@ -104,13 +88,10 @@ branch creates a new branch called `name` based on `base`
```
[--b]=[value]
[--base]=[value]
[--base,-b]=[value]
[--help]
[--l]
[--list]
[--nf]
[--no-fetch]
[--list,-l]
[--no-fetch,-nf]
```
**Usage**:
@ -118,25 +99,16 @@ branch creates a new branch called `name` based on `base`
branch --base [ref=main] <name>
```
**--b**="": --base (default: `main`)
**--base**="": Ref to base from (default: `main`)
**--base,-b**="": Ref to base from (default: `main`)
**--help**: Show help
**--l**: --list
**--list,-l**: List branches available
**--list**: List branches available
**--nf**: --no-fetch
**--no-fetch**: Skip fetching
**--no-fetch,-nf**: Skip fetching
-----
@ -147,11 +119,9 @@ frontport cherry-picks a commit and applies it to a clean branch based on `relea
```
[--f]=[value]
[--from]=[value]
[--from,-f]=[value]
[--help]
[--t]=[value]
[--to]=[value]
[--to,-t]=[value]
```
**Usage**:
@ -159,19 +129,13 @@ frontport cherry-picks a commit and applies it to a clean branch based on `relea
frontport --from [release=latest] --to [release=main]
```
**--f**="": --from
**--from**="": Release to frontport from (ex: `1.17`, default: <latest>)
**--from,-f**="": Release to frontport from (ex: `1.17`, default: <latest>)
**--help**: Show help
**--t**="": --to
**--to**="": Release to frontport to (ex: `main`, default: `main`)
**--to,-t**="": Release to frontport to (ex: `main`, default: `main`)
-----
@ -221,8 +185,7 @@ pr pulls down a pull request for testing
```
[--help]
[--i]
[--ide]
[--ide,-i]
```
**Usage**:
@ -233,10 +196,7 @@ pr <index>
**--help**: Show help
**--i**: --ide
**--ide**: Start an IDE for this PR
**--ide,-i**: Start an IDE for this PR
-----

2
go.mod
View File

@ -8,7 +8,7 @@ require (
github.com/peterbourgon/ff/v3 v3.3.0
github.com/rs/zerolog v1.27.0
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
go.jolheiser.com/ffmd v0.0.2
go.jolheiser.com/ffmd v0.0.3
)
require (

4
go.sum
View File

@ -97,8 +97,8 @@ github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5Cc
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
go.jolheiser.com/ffmd v0.0.2 h1:rNOUq5wQKsNQU3pc51XNaks9+GK9hLlFTsPHrQhlGRU=
go.jolheiser.com/ffmd v0.0.2/go.mod h1:NLhcXZqO+dwvQ2/X9z3TUA3gORxUuRlgOjKC931vCZ4=
go.jolheiser.com/ffmd v0.0.3 h1:QSKpK0cEZlAswGZuzr9b0dvHG+2HQd362k1DRDwMfrY=
go.jolheiser.com/ffmd v0.0.3/go.mod h1:NLhcXZqO+dwvQ2/X9z3TUA3gORxUuRlgOjKC931vCZ4=
golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b h1:7mWr3k41Qtv8XlltBkDkl8LoP3mpSgBW8BUoxtEdbXg=