Reimplement

This commit is contained in:
d1slike committed 2023-06-09 17:25:12 +03:00
1 parent d4d7c679aa
commit df259e3f78
36 files changed
+559 -1135

No files matched your search

+4 -3
View File
@@ -2,11 +2,12 @@ package common_config
import (
"fmt"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/flag"
"ispctl/service"
)
func Contain() *cli.Command {
+5 -4
View File
@@ -2,13 +2,14 @@ package common_config
import (
"encoding/json"
"github.com/pkg/errors"
"github.com/tidwall/sjson"
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/command/utils"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/command/utils"
"ispctl/flag"
"ispctl/service"
)
func Delete() *cli.Command {
+5 -4
View File
@@ -3,12 +3,13 @@ package common_config
import (
"encoding/json"
"fmt"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/command/utils"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/command/utils"
"ispctl/flag"
"ispctl/service"
)
func Get() *cli.Command {
+3 -3
View File
@@ -2,9 +2,9 @@ package common_config
import (
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/flag"
"ispctl/service"
)
func Link() *cli.Command {
+4 -3
View File
@@ -2,11 +2,12 @@ package common_config
import (
"fmt"
"github.com/pkg/errors"
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/flag"
"ispctl/service"
)
func Remove() *cli.Command {
+6 -5
View File
@@ -2,14 +2,15 @@ package common_config
import (
"encoding/json"
"github.com/pkg/errors"
"github.com/tidwall/sjson"
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/cfg"
"isp-ctl/command/utils"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/cfg"
"ispctl/command/utils"
"ispctl/flag"
"ispctl/service"
)
func Set() *cli.Command {
+3 -3
View File
@@ -2,9 +2,9 @@ package common_config
import (
"github.com/urfave/cli/v2"
"isp-ctl/bash"
"isp-ctl/flag"
"isp-ctl/service"
"ispctl/bash"
"ispctl/flag"
"ispctl/service"
)
func UnLink() *cli.Command {