RefactorCommand constructor
RefactorCommand()
Implementation
RefactorCommand() {
argParser.addOption(
'old-name',
abbr: 'o',
help: 'Old name before refactor',
defaultsTo: 'morpheme',
);
argParser.addOption(
'new-name',
abbr: 'n',
help: 'New name before refactor',
mandatory: true,
);
argParser.addOption(
'exclude-changes',
help: 'Code will exclude to refactor separate with , (coma)',
);
argParser.addOption(
'exclude-files',
help:
'Spesific path file will exclude to refactor both code and filename separate with , (coma)',
);
argParser.addOption(
'exclude-directories',
help:
'Spesific path directory will exclude to refactor including files and codes in it separate with , (coma)',
);
argParser.addFlag(
'include-library',
defaultsTo: false,
);
}