You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/wsh/cmd/wshcmd-file.go
+23-9Lines changed: 23 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -40,20 +40,30 @@ URI format: [profile]:[uri-scheme]://[connection]/[path]
40
40
41
41
Supported URI schemes:
42
42
wsh:
43
-
Used to access files on remote hosts over SSH via the WSH helper. Allows for file streaming to Wave and other remotes.
44
-
Profiles are optional for WSH URIs, provided that you have configured the remote host in your "connections.json" or "~/.ssh/config" file.
45
-
If a profile is provided, it must be defined in "profiles.json" in the Wave configuration directory.
43
+
Used to access files on remote hosts over SSH via the WSH helper. Allows
44
+
for file streaming to Wave and other remotes.
45
+
46
+
Profiles are optional for WSH URIs, provided that you have configured the
47
+
remote host in your "connections.json" or "~/.ssh/config" file.
48
+
49
+
If a profile is provided, it must be defined in "profiles.json" in the Wave
50
+
configuration directory.
46
51
47
52
Format: wsh://[remote]/[path]
48
53
49
54
Shorthands can be used for the current remote and your local computer:
50
55
[path] a relative or absolute path on the current remote
51
56
//[remote]/[path] a path on a remote
52
-
/~/[path] a path relative to your home directory on your local computer
57
+
/~/[path] a path relative to the home directory on your local
58
+
computer
53
59
s3:
54
60
Used to access files on S3-compatible systems.
55
-
Requires S3 credentials to be set up, either in the AWS CLI configuration files, or in "profiles.json" in the Wave configuration directory.
56
-
If no profile is provided, the default from your AWS CLI configuration will be used. Profiles from the AWS CLI must be prefixed with "aws:".
61
+
62
+
Requires S3 credentials to be set up, either in the AWS CLI configuration
63
+
files, or in "profiles.json" in the Wave configuration directory.
64
+
65
+
If no profile is provided, the default from your AWS CLI configuration will
66
+
be used. Profiles from the AWS CLI must be prefixed with "aws:".
57
67
58
68
Format: s3://[bucket]/[path]
59
69
aws:[profile]:s3://[bucket]/[path]
@@ -67,7 +77,11 @@ Supported URI schemes:
67
77
varfileCmd=&cobra.Command{
68
78
Use: "file",
69
79
Short: "manage files across different storage systems",
70
-
Long: "Manage files across different storage systems.\n\nWave Terminal is capable of managing files from remote SSH hosts, S3-compatible systems, and the internal Wave filesystem.\nFiles are addressed via URIs, which vary depending on the storage system."+UriHelpText}
80
+
Long: `Manage files across different storage systems.
81
+
82
+
Wave Terminal is capable of managing files from remote SSH hosts, S3-compatible
83
+
systems, and the internal Wave filesystem. Files are addressed via URIs, which
84
+
vary depending on the storage system.`+UriHelpText}
71
85
72
86
varfileTimeoutint
73
87
@@ -139,7 +153,7 @@ var fileRmCmd = &cobra.Command{
139
153
varfileWriteCmd=&cobra.Command{
140
154
Use: "write [uri]",
141
155
Short: "write stdin into a file (up to 10MB)",
142
-
Long: "Write stdin into a file, buffering input and respecting 10MB total file size limit."+UriHelpText,
156
+
Long: "Write stdin into a file, buffering input (10MB total file size limit)."+UriHelpText,
0 commit comments