mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-11 13:23:06 +01:00
big rename mshell to commandlinedev/apishell
This commit is contained in:
parent
386b5f7a90
commit
94827683b5
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/scripthaus-dev/mshell
|
||||
module github.com/commandlinedev/apishell
|
||||
|
||||
go 1.18
|
||||
|
||||
|
@ -15,10 +15,10 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/scripthaus-dev/mshell/pkg/server"
|
||||
"github.com/scripthaus-dev/mshell/pkg/shexec"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/server"
|
||||
"github.com/commandlinedev/apishell/pkg/shexec"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
|
@ -16,8 +16,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/fsnotify/fsnotify"
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
)
|
||||
|
||||
const MaxDataBytes = 4096
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
)
|
||||
|
||||
type FdReader struct {
|
||||
|
@ -13,8 +13,8 @@ import (
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
)
|
||||
|
||||
const ReadBufSize = 128 * 1024
|
||||
|
@ -18,7 +18,7 @@ import (
|
||||
"reflect"
|
||||
"sync"
|
||||
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
)
|
||||
|
||||
// single : <init, >run, >cmddata, >cmddone, <cmdstart, <>data, <>dataack, <cmddone
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/scripthaus-dev/mshell/pkg/binpack"
|
||||
"github.com/scripthaus-dev/mshell/pkg/statediff"
|
||||
"github.com/commandlinedev/apishell/pkg/binpack"
|
||||
"github.com/commandlinedev/apishell/pkg/statediff"
|
||||
)
|
||||
|
||||
const ShellStatePackVersion = 0
|
||||
|
@ -17,9 +17,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alessio/shellescape"
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/scripthaus-dev/mshell/pkg/shexec"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/shexec"
|
||||
)
|
||||
|
||||
// TODO create unblockable packet-sender (backed by an array) for clientproc
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"os/exec"
|
||||
"time"
|
||||
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
"golang.org/x/mod/semver"
|
||||
)
|
||||
|
||||
|
@ -9,9 +9,9 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/alessio/shellescape"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/scripthaus-dev/mshell/pkg/simpleexpand"
|
||||
"github.com/scripthaus-dev/mshell/pkg/statediff"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/simpleexpand"
|
||||
"github.com/commandlinedev/apishell/pkg/statediff"
|
||||
"mvdan.cc/sh/v3/expand"
|
||||
"mvdan.cc/sh/v3/syntax"
|
||||
)
|
||||
|
@ -25,10 +25,10 @@ import (
|
||||
|
||||
"github.com/alessio/shellescape"
|
||||
"github.com/creack/pty"
|
||||
"github.com/scripthaus-dev/mshell/pkg/base"
|
||||
"github.com/scripthaus-dev/mshell/pkg/cirfile"
|
||||
"github.com/scripthaus-dev/mshell/pkg/mpio"
|
||||
"github.com/scripthaus-dev/mshell/pkg/packet"
|
||||
"github.com/commandlinedev/apishell/pkg/base"
|
||||
"github.com/commandlinedev/apishell/pkg/cirfile"
|
||||
"github.com/commandlinedev/apishell/pkg/mpio"
|
||||
"github.com/commandlinedev/apishell/pkg/packet"
|
||||
"golang.org/x/mod/semver"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user