mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-25 09:16:59 +03:00
99454852f0
- Preliminary work on the (currently hidden) `db` cmds. - Improvements to `--src.schema`
19 lines
281 B
Go
19 lines
281 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func newDBCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "db",
|
|
Short: "Useful database actions",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return cmd.Help()
|
|
},
|
|
Example: ` # TBD`,
|
|
}
|
|
|
|
return cmd
|
|
}
|