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"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
pm "system_setup_tool/packagemanager"
|
"system_setup_tool/internal/utils"
|
||||||
"system_setup_tool/utils"
|
pm "system_setup_tool/pkg/packagemanager"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"system_setup_tool/tui"
|
"system_setup_tool/internal/tui"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"runtime"
|
"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"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"sort"
|
"sort"
|
||||||
"system_setup_tool/utils"
|
"system_setup_tool/internal/utils"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"runtime"
|
"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"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
pm "system_setup_tool/packagemanager"
|
"system_setup_tool/internal/utils"
|
||||||
"system_setup_tool/utils"
|
pm "system_setup_tool/pkg/packagemanager"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"runtime"
|
"runtime"
|
||||||
"sync"
|
"sync"
|
||||||
pm "system_setup_tool/packagemanager"
|
"system_setup_tool/internal/utils"
|
||||||
"system_setup_tool/utils"
|
pm "system_setup_tool/pkg/packagemanager"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"system_setup_tool/dotfiles"
|
"system_setup_tool/internal/dotfiles"
|
||||||
pm "system_setup_tool/packagemanager"
|
pm "system_setup_tool/pkg/packagemanager"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PackageManagerConfig struct {
|
type PackageManagerConfig struct {
|
||||||
|
|
@ -3,11 +3,11 @@ package tui
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"system_setup_tool/config"
|
"system_setup_tool/internal/config"
|
||||||
"system_setup_tool/dotfiles"
|
"system_setup_tool/internal/dotfiles"
|
||||||
"system_setup_tool/utils"
|
"system_setup_tool/internal/utils"
|
||||||
|
|
||||||
pm "system_setup_tool/packagemanager"
|
pm "system_setup_tool/pkg/packagemanager"
|
||||||
|
|
||||||
"github.com/charmbracelet/huh"
|
"github.com/charmbracelet/huh"
|
||||||
"github.com/mitchellh/mapstructure"
|
"github.com/mitchellh/mapstructure"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue