Sha256: 1f3c4480f1dcc2e2d6bf2a7862039a6bdb68bdec7205a1319e136c65933de01f

Contents?: true

Size: 1.26 KB

Versions: 4

Compression:

Stored size: 1.26 KB

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'commander'
require 'subtrac'

program :name, 'subtrac'
program :version, Subtrac::VERSION
program :description, 'subtrac will install and manage a collection of subversion respositories and associated trac sites'
 
command :install do |c|
  c.syntax = 'subtrac install [options]'
  c.summary = ''
  c.description = 'Installation of default files required to host multipe development projects.'
  c.example 'description', 'installs the default trac and svn setup'
  c.option '-c','--clean', 'Performs a clean install'
  c.when_called Subtrac::Commands::Install
end

command :create do |c|
  c.syntax = 'subtrac create [options]'
  c.summary = ''
  c.description = ''
  c.example 'description', 'creates a new project'
  c.option '-p','--project PROJECT', 'Name of project to create'
  c.option '-c','--client CLIENT', 'Name of client to create the project for'
  c.when_called Subtrac::Commands::Create
end

=begin
command :delete do |c|
  c.syntax = 'subtrac delete [options]'
  c.summary = ''
  c.description = ''
  c.example 'description', 'deletes an existing project'
  c.option '--project', 'Name of project to delete'
  c.option '--client', 'Name of client the project was for'
  c.when_called Devserver::Commands::Create
end
=end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keithsalisbury-subtrac-0.1.1 bin/subtrac
keithsalisbury-subtrac-0.1.2 bin/subtrac
keithsalisbury-subtrac-0.1.3 bin/subtrac
keithsalisbury-subtrac-0.1.4 bin/subtrac