Example #1
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Delete.RM), "-rm");
     factory.AddClass(typeof(Delete.Rmdir), "-rmdir");
     factory.AddClass(typeof(Delete.Rmr), "-rmr");
     factory.AddClass(typeof(Delete.Expunge), "-expunge");
 }
Example #2
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(CopyCommands.Merge), "-getmerge");
     factory.AddClass(typeof(CopyCommands.CP), "-cp");
     factory.AddClass(typeof(CopyCommands.CopyFromLocal), "-copyFromLocal");
     factory.AddClass(typeof(CopyCommands.CopyToLocal), "-copyToLocal");
     factory.AddClass(typeof(CopyCommands.Get), "-get");
     factory.AddClass(typeof(CopyCommands.Put), "-put");
     factory.AddClass(typeof(CopyCommands.AppendToFile), "-appendToFile");
 }
Example #3
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Tail), "-tail");
 }
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(TestCommandFactory.TestCommand1), "tc1");
     factory.AddClass(typeof(TestCommandFactory.TestCommand2), "tc2", "tc2.1");
 }
Example #5
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(AclCommands.GetfaclCommand), "-" + GetFacl);
     factory.AddClass(typeof(AclCommands.SetfaclCommand), "-" + SetFacl);
 }
Example #6
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(FsUsage.DF), "-df");
     factory.AddClass(typeof(FsUsage.DU), "-du");
     factory.AddClass(typeof(FsUsage.Dus), "-dus");
 }
Example #7
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Stat), "-stat");
 }
Example #8
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SnapshotCommands.CreateSnapshot), "-" + CreateSnapshot);
     factory.AddClass(typeof(SnapshotCommands.DeleteSnapshot), "-" + DeleteSnapshot);
     factory.AddClass(typeof(SnapshotCommands.RenameSnapshot), "-" + RenameSnapshot);
 }
Example #9
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Test), "-test");
 }
Example #10
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Mkdir), "-mkdir");
 }
Example #11
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(Touch.Touchz), "-touchz");
 }
Example #12
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(SetReplication), "-setrep");
 }
Example #13
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(MoveCommands.MoveFromLocal), "-moveFromLocal");
     factory.AddClass(typeof(MoveCommands.MoveToLocal), "-moveToLocal");
     factory.AddClass(typeof(MoveCommands.Rename), "-mv");
 }
Example #14
0
 public static void RegisterCommands(CommandFactory factory)
 {
     factory.AddClass(typeof(LS), "-ls");
     factory.AddClass(typeof(LS.Lsr), "-lsr");
 }