Skip to content

Commit

Permalink
Move all internal stuff to internal dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sibprogrammer committed Jun 12, 2021
1 parent c584267 commit 88aabff
Show file tree
Hide file tree
Showing 56 changed files with 151 additions and 151 deletions.
2 changes: 1 addition & 1 deletion cmd/apps/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/apps/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"os"
"path/filepath"

"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/types"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/types"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/apps/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"errors"
"os"

"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/features"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/features"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
"os"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ package cmd

import (
"fmt"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/types"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/types"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/databases/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package cmd
import (
"errors"

"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/types"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/types"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/databases/databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/databases/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/databases/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/databases/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"os"
"strings"

"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/api/factory"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/api/factory"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ package cmd
import (
"errors"
"fmt"
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/types"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/types"
"github.com/spf13/cobra"
"os"
"path"
Expand Down
10 changes: 5 additions & 5 deletions cmd/domains/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ package cmd
import (
"strings"

"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/types"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/types"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/domains/domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/domains/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/domains/reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/domains/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package cmd

import (
serversCmd "github.com/plesk/pleskapp/plesk/cmd/servers"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
domainsCmd "github.com/plesk/pleskapp/plesk/cmd/domains"
serversCmd "github.com/plesk/pleskapp/plesk/cmd/servers"
syncCmd "github.com/plesk/pleskapp/plesk/cmd/sync"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/utils"

"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/servers/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/servers/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/servers/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/servers/reauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/servers/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/types"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/types"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/servers/reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/servers/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/servers/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package cmd

import (
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package cmd

import (
serversCmd "github.com/plesk/pleskapp/plesk/cmd/servers"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"path/filepath"

"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/utils"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/config"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/plesk/pleskapp/plesk/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ package cmd

import (
"fmt"
"github.com/plesk/pleskapp/plesk/config"
"github.com/plesk/pleskapp/plesk/internal/config"

"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ package cmd

import (
"fmt"
"github.com/plesk/pleskapp/plesk/actions"
"github.com/plesk/pleskapp/plesk/locales"
"github.com/plesk/pleskapp/plesk/internal/actions"
"github.com/plesk/pleskapp/plesk/internal/locales"
"github.com/spf13/cobra"
)

Expand Down
Loading

0 comments on commit 88aabff

Please sign in to comment.