I am setting examples (see below), but when I run the program, I do not see the examples from the backup command. Am I doing something wrong?
//Clean commands
_ = config.AddCommand<CleanCommand>("clean")
.WithExample(new[] { "clean" })
.WithExample(new[] { "clean", "--af", "c:\\temp" })
.WithExample(new[] { "clean", "--addfolder", "c:\\temp" })
.WithExample(new[] { "clean", "--rf", "c:\\temp" })
.WithExample(new[] { "clean", "--removefolder", "c:\\temp" })
;
//Backup commands
_ = config.AddCommand<BackupCommand>("backup")
.WithExample(new[] { "backup" })
.WithExample(new[] { "backup", "--turbo" })
.WithExample(new[] { "backup", "--af", "c:\\temp" })
.WithExample(new[] { "backup", "--addfolder", "c:\\temp" })
.WithExample(new[] { "backup", "--rf", "c:\\temp" })
.WithExample(new[] { "backup", "--removefolder", "c:\\temp" })
;
I am setting examples (see below), but when I run the program, I do not see the examples from the backup command. Am I doing something wrong?