refactor(packagemanager,cli,tui): move packages in specific subfolders
This commit is contained in:
parent
11b8541630
commit
e49138fdd2
34 changed files with 18 additions and 18 deletions
|
|
@ -4,8 +4,8 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
|
||||
pm "system_setup_tool/packagemanager"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/utils"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"system_setup_tool/tui"
|
||||
"system_setup_tool/internal/tui"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
"runtime"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/utils"
|
||||
|
||||
pm "system_setup_tool/packagemanager"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
"sort"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/utils"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/viper"
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
"runtime"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/utils"
|
||||
|
||||
pm "system_setup_tool/packagemanager"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
pm "system_setup_tool/packagemanager"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/utils"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import (
|
|||
"log"
|
||||
"runtime"
|
||||
"sync"
|
||||
pm "system_setup_tool/packagemanager"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/utils"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"system_setup_tool/dotfiles"
|
||||
pm "system_setup_tool/packagemanager"
|
||||
"system_setup_tool/internal/dotfiles"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
)
|
||||
|
||||
type PackageManagerConfig struct {
|
||||
|
|
@ -3,11 +3,11 @@ package tui
|
|||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"system_setup_tool/config"
|
||||
"system_setup_tool/dotfiles"
|
||||
"system_setup_tool/utils"
|
||||
"system_setup_tool/internal/config"
|
||||
"system_setup_tool/internal/dotfiles"
|
||||
"system_setup_tool/internal/utils"
|
||||
|
||||
pm "system_setup_tool/packagemanager"
|
||||
pm "system_setup_tool/pkg/packagemanager"
|
||||
|
||||
"github.com/charmbracelet/huh"
|
||||
"github.com/mitchellh/mapstructure"
|
||||
Loading…
Add table
Add a link
Reference in a new issue