mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 04:30:57 +01:00
changes:
- added unit tests
- put all subcmds into one file
- use io.Writer for output, better for testing
- added upload form support
- added api docs
- generalized db engine
- added mail notify support for forms
- enhanced server/SetupAuthStore() to also look up form ids
- added form template (put into .go file by Makefile
- renamed project
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/spf13/viper"
|
||||
"github.com/tlinden/cenophane/upctl/cfg"
|
||||
"github.com/tlinden/ephemerup/upctl/cfg"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
@@ -92,6 +92,7 @@ func Execute() {
|
||||
rootCmd.AddCommand(DeleteCommand(&conf))
|
||||
rootCmd.AddCommand(DescribeCommand(&conf))
|
||||
rootCmd.AddCommand(DownloadCommand(&conf))
|
||||
rootCmd.AddCommand(FormCommand(&conf))
|
||||
|
||||
err := rootCmd.Execute()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user