Compare commits
2
Commits
045dedef67
...
5f6459d5be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f6459d5be | ||
|
|
1d2a3a8306 |
@@ -1,3 +0,0 @@
|
||||
kind: Changed
|
||||
body: List subcommands print out everything with no arguments
|
||||
time: 2026-08-15T00:11:46.800589873-05:00
|
||||
@@ -1,3 +0,0 @@
|
||||
kind: Fixed
|
||||
body: Error hooks no longer return after one is executed
|
||||
time: 2026-08-15T00:15:00.347036265-05:00
|
||||
@@ -0,0 +1,5 @@
|
||||
## v0.13.0 - 2026-08-15
|
||||
### Changed
|
||||
* List subcommands print out everything with no arguments
|
||||
### Fixed
|
||||
* Error hooks no longer return after one is executed
|
||||
@@ -0,0 +1,3 @@
|
||||
## v0.13.1 - 2026-08-15
|
||||
### Changed
|
||||
* Print help for exec command if no args given
|
||||
@@ -6,6 +6,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
||||
and is generated by [Changie](https://github.com/miniscruff/changie).
|
||||
|
||||
|
||||
## v0.13.1 - 2026-08-15
|
||||
### Changed
|
||||
* Print help for exec command if no args given
|
||||
|
||||
## v0.13.0 - 2026-08-15
|
||||
### Changed
|
||||
* List subcommands print out everything with no arguments
|
||||
### Fixed
|
||||
* Error hooks no longer return after one is executed
|
||||
|
||||
## v0.12.1 - 2026-03-23
|
||||
### Added
|
||||
* Command output respects `command.[name].output.toLog` when standard output is enabled
|
||||
|
||||
+3
-1
@@ -5,6 +5,8 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.andrewnw.xyz/CyberShell/backy/pkg/backy"
|
||||
"git.andrewnw.xyz/CyberShell/backy/pkg/logging"
|
||||
|
||||
@@ -29,7 +31,7 @@ func execute(cmd *cobra.Command, args []string) {
|
||||
parseS3Config()
|
||||
|
||||
if len(args) < 1 {
|
||||
logging.ExitWithMSG("Please provide a command to run. Pass --help to see options.", 1, nil)
|
||||
logging.ExitWithMSG(fmt.Sprintf("Please provide a command to run.\n\n%s", cmd.Long), 1, nil)
|
||||
}
|
||||
|
||||
opts := backy.NewConfigOptions(configFile,
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
const versionStr = "0.13.0"
|
||||
const versionStr = "0.13.1"
|
||||
|
||||
var (
|
||||
versionCmd = &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user