Ignore:
Timestamp:
8/4/2010 9:23:35 AM (22 months ago)
Author:
lowjoel
Message:

Make the generation of help text for addtask parameters done by the plugins, since the arguments are passed to them, they should document their own CLIs. To do this, the ICliConfigurer interface was modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FolderErasureTargetConfigurer.cs

    r2228 r2232  
    8484        #region ICliConfigurer<ErasureTarget> Members 
    8585 
    86         public void Help() 
     86        public string Help() 
    8787        { 
    88             throw new NotImplementedException(); 
     88            return S._(@"dir                 Erases files and folders in the directory 
     89  arguments: dir=<directory>[,-excludeMask][,+includeMask][,deleteIfEmpty] 
     90    excludeMask     A wildcard expression for files and folders to 
     91                    exclude. 
     92    includeMask     A wildcard expression for files and folders to 
     93                    include. 
     94                    The include mask is applied before the exclude mask. 
     95    deleteIfEmpty   Deletes the folder at the end of the erasure if it is 
     96                    empty."); 
    8997        } 
    9098 
Note: See TracChangeset for help on using the changeset viewer.