HashObjectCommand constructor
HashObjectCommand()
Implementation
HashObjectCommand() {
argParser.addOption(
'type',
abbr: 't',
defaultsTo: 'blob',
allowed: ['blob', 'commit', 'tag', 'tree'],
help: 'Specify the type',
);
argParser.addFlag(
'write',
abbr: 'w',
defaultsTo: true,
help: 'Actually writes the object into the database',
);
}