public static void RegisterCommands(CommandFactory factory) { factory.AddClass(typeof(Truncate), "-truncate"); }
/// <summary>Register the names for the count command</summary> /// <param name="factory">the command factory that will instantiate this class</param> public static void RegisterCommands(CommandFactory factory) { factory.AddClass(typeof(Org.Apache.Hadoop.FS.Shell.Find.Find), "-find"); }
public static void RegisterCommands(CommandFactory factory) { factory.AddClass(typeof(Display.Cat), "-cat"); factory.AddClass(typeof(Display.Text), "-text"); factory.AddClass(typeof(Display.Checksum), "-checksum"); }
/// <summary>Register the permission related commands with the factory</summary> /// <param name="factory">the command factory</param> public static void RegisterCommands(CommandFactory factory) { factory.AddClass(typeof(FsShellPermissions.Chmod), "-chmod"); factory.AddClass(typeof(FsShellPermissions.Chown), "-chown"); factory.AddClass(typeof(FsShellPermissions.Chgrp), "-chgrp"); }