diff options
| author | AShifter <[email protected]> | 2017-11-21 15:12:50 -0700 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-11-21 15:12:55 -0700 |
| commit | 8ec044f8c9cab43ac10c86ce605264e351f3e237 (patch) | |
| tree | e73e1abd121f3d944e3bd0953404a4c25987f754 /ShiftOS.Main/Terminal/Commands/sftp.cs | |
| parent | 2950e4546a0aad1036a7e655c41d170e6dd7ef12 (diff) | |
| download | shiftos-rewind-8ec044f8c9cab43ac10c86ce605264e351f3e237.tar.gz shiftos-rewind-8ec044f8c9cab43ac10c86ce605264e351f3e237.tar.bz2 shiftos-rewind-8ec044f8c9cab43ac10c86ce605264e351f3e237.zip | |
Improved help and added SFTP
let's see if this works
Diffstat (limited to 'ShiftOS.Main/Terminal/Commands/sftp.cs')
| -rw-r--r-- | ShiftOS.Main/Terminal/Commands/sftp.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ShiftOS.Main/Terminal/Commands/sftp.cs b/ShiftOS.Main/Terminal/Commands/sftp.cs new file mode 100644 index 0000000..dbc3b36 --- /dev/null +++ b/ShiftOS.Main/Terminal/Commands/sftp.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShiftOS.Main.Terminal.Commands +{ + class sftp:TerminalCommand + { + public override string Name { get; } = "sftp"; + public override string Summary { get; } = "The Shift File Transfer Protocol (SFTP) Client."; + public override string Usage { get; } = "sftp <host> <username> <password> <port (Default - 22)>"; + public override bool Unlocked { get; set; } = false; + + public override void Run(params string[] args) + { + WriteLine(args[0]); + } + } +} |
