mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-17 04:20:59 +01:00
lots of changes:
- added man command - added unit tests - fixed import+export file parameters (now -o and -r respectively) - added README + License - added ci pipelines
This commit is contained in:
@@ -50,7 +50,7 @@ func Execute() {
|
||||
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
if ShowVersion {
|
||||
fmt.Println(cfg.Version)
|
||||
fmt.Printf("This is anydb version %s\n", cfg.Version)
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -83,8 +83,7 @@ func Execute() {
|
||||
rootCmd.AddCommand(Del(&conf))
|
||||
rootCmd.AddCommand(Export(&conf))
|
||||
rootCmd.AddCommand(Import(&conf))
|
||||
// rootCmd.AddCommand(Help(&conf))
|
||||
// rootCmd.AddCommand(Man(&conf))
|
||||
rootCmd.AddCommand(Man(&conf))
|
||||
|
||||
err = rootCmd.Execute()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user