🚚 Rename module
This commit is contained in:
parent
eae30a85fd
commit
c845d08293
5 changed files with 7 additions and 7 deletions
|
|
@ -6,7 +6,7 @@ package cmd
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"codeberg.org/danjones000/mpc-plus/mpd"
|
||||
"codeberg.org/danjones000/mpc-extra/mpd"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ package cmd
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"codeberg.org/danjones000/mpc-plus/mpd"
|
||||
"codeberg.org/danjones000/mpc-extra/mpd"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import (
|
|||
|
||||
// rootCmd represents the base command when called without any subcommands
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "mpc-plus",
|
||||
Use: "mpc-extra",
|
||||
Short: "A brief description of your application",
|
||||
Long: `A longer description that spans multiple lines and likely contains
|
||||
examples and usage of using your application. For example:
|
||||
|
|
@ -41,7 +41,7 @@ func init() {
|
|||
// Cobra supports persistent flags, which, if defined here,
|
||||
// will be global for your application.
|
||||
|
||||
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.mpc-plus.yaml)")
|
||||
// rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.mpc-extra.yaml)")
|
||||
|
||||
// Cobra also supports local flags, which will only run
|
||||
// when this action is called directly.
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
|||
module codeberg.org/danjones000/mpc-plus
|
||||
module codeberg.org/danjones000/mpc-extra
|
||||
|
||||
go 1.20
|
||||
|
||||
|
|
|
|||
4
main.go
4
main.go
|
|
@ -4,8 +4,8 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
|
|||
package main
|
||||
|
||||
import (
|
||||
"codeberg.org/danjones000/mpc-plus/cmd"
|
||||
"codeberg.org/danjones000/mpc-plus/mpd"
|
||||
"codeberg.org/danjones000/mpc-extra/cmd"
|
||||
"codeberg.org/danjones000/mpc-extra/mpd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue