Sha256: 9cfbc3ba9f42d1fce906d5af41ef8d2b42d604b7b8d01ded270b526828104fdb

Contents?: true

Size: 1.65 KB

Versions: 7

Compression:

Stored size: 1.65 KB

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'commander'

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
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 = 'Install the base configuration for apache.'
  c.description = 'Installation of default files required to host multipe development projects.'
  c.example 'subtrac install --clean --default', 'install a clean installation with the default trac and svn setup.'
  c.option '-c','--clean', 'Performs a clean install'
  c.option '-d','--defaults', 'Accept all defaults'
  c.when_called Subtrac::Commands::Install
end

command :create do |c|
  c.syntax = 'subtrac create [options]'
  c.summary = 'Creates a new Subversion repository and associated Trac site for to specified project and client.'
  c.description = 'Creates a new Subversion repository and associated Trac site for to specified project and client.'
  c.example 'subtrac create', '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

7 entries across 7 versions & 1 rubygems

Version Path
ktec-subtrac-0.1.38 bin/subtrac
ktec-subtrac-0.1.39 bin/subtrac
ktec-subtrac-0.1.41 bin/subtrac
ktec-subtrac-0.1.43 bin/subtrac
ktec-subtrac-0.1.44 bin/subtrac
ktec-subtrac-0.1.45 bin/subtrac
ktec-subtrac-0.1.46 bin/subtrac