Epitech's Blih Repository Manager

blih-repository 423B

123456789101112
  1. #!/usr/bin/env node
  2. 'use strict';
  3. var program = require('commander');
  4. program
  5. .command('create <repo>', 'Create a new repository named "repo"')
  6. .command('list', 'List the repositories created')
  7. .command('info <repo>', 'Get the repository metadata')
  8. .command('getacl <repo>', 'Get the acls set for the repository')
  9. .command('setacl <repo> <user> [acl]', 'Set (or remove) an acl for "user" on "repo"')
  10. .parse(process.argv);