SubdirsAspect.cs 749 B

1234567891011121314151617181920212223
  1. using Quadarax.Foundation.Core.QConsole.Argument;
  2. namespace qdr.app.tools.qfu.Commands.Aspects
  3. {
  4. internal class SubdirsAspect
  5. {
  6. #region *** Constants ***
  7. public const string ARG_SUBDIRS_NAME = "s";
  8. private const string ARG_SUBDIRS_HINT = "subdirs";
  9. private const string ARG_SUBDIRS_DESCR = "Flag if set, then provide operation in subdirectories, otherwise only in specified directory.";
  10. #endregion
  11. #region *** Public Operations ***
  12. public static IEnumerable<AbstractArgument> SetupArguments()
  13. {
  14. return
  15. [
  16. new FlagArgument(ARG_SUBDIRS_NAME, ARG_SUBDIRS_DESCR, ARG_SUBDIRS_HINT, false)
  17. ];
  18. }
  19. #endregion
  20. }
  21. }