[CLI] implement forgejo-cli actions (squash) restore --version
Refs: https://codeberg.org/forgejo/forgejo/issues/1134
This commit is contained in:
parent
7e097b945c
commit
e2000f5bfc
4 changed files with 30 additions and 27 deletions
|
@ -23,6 +23,10 @@ func TestMain(m *testing.M) {
|
|||
})
|
||||
}
|
||||
|
||||
func makePathOutput(workPath, customPath, customConf string) string {
|
||||
return fmt.Sprintf("WorkPath=%s\nCustomPath=%s\nCustomConf=%s", workPath, customPath, customConf)
|
||||
}
|
||||
|
||||
func newTestApp() *cli.App {
|
||||
app := NewMainApp()
|
||||
testCmd := &cli.Command{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue