Sha256: 8639b752c4d363fe1953dc72c5afffe0eacfaabd8a4ed50a4f440be12e5c1ffa

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 Bytes

Contents

module Topicz

  COMMANDS = {
      'init'    => 'Initializes a new topic repository',
      'create'  => 'Creates a new topic',
      'path'    => 'Prints the full path to a topic',
      'journal' => 'Opens a (new) weekly journal entry for a topic',
      'note'    => 'Opens a new note for a topic',
      'alfred'  => 'Searches in Alfred Script Filter format',
      'report'  => 'Generates a weekly report of all topics',
      'help'    => 'Shows help about a command',
  }

  def COMMANDS.to_s
    COMMANDS.collect { |command, description| "  #{command.ljust(7)}: #{description}" }.join("\n")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
topicz-0.1.1 lib/topicz/commands/_index.rb
topicz-0.1.0 lib/topicz/commands/_index.rb