v0.13.1
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
## v0.13.1 - 2026-08-15
|
||||||
|
### Changed
|
||||||
|
* Print help for exec command if no args given
|
||||||
@@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|||||||
and is generated by [Changie](https://github.com/miniscruff/changie).
|
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
|
## v0.13.0 - 2026-08-15
|
||||||
### Changed
|
### Changed
|
||||||
* List subcommands print out everything with no arguments
|
* List subcommands print out everything with no arguments
|
||||||
|
|||||||
+3
-1
@@ -5,6 +5,8 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
"git.andrewnw.xyz/CyberShell/backy/pkg/backy"
|
"git.andrewnw.xyz/CyberShell/backy/pkg/backy"
|
||||||
"git.andrewnw.xyz/CyberShell/backy/pkg/logging"
|
"git.andrewnw.xyz/CyberShell/backy/pkg/logging"
|
||||||
|
|
||||||
@@ -29,7 +31,7 @@ func execute(cmd *cobra.Command, args []string) {
|
|||||||
parseS3Config()
|
parseS3Config()
|
||||||
|
|
||||||
if len(args) < 1 {
|
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,
|
opts := backy.NewConfigOptions(configFile,
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
const versionStr = "0.13.0"
|
const versionStr = "0.13.1"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
versionCmd = &cobra.Command{
|
versionCmd = &cobra.Command{
|
||||||
|
|||||||
Reference in New Issue
Block a user