Module: Topicz

Defined in:
lib/topicz/version.rb,
lib/topicz/defaults.rb,
lib/topicz/repository.rb,
lib/topicz/application.rb,
lib/topicz/command_factory.rb,
lib/topicz/commands/_index.rb

Defined Under Namespace

Modules: Commands Classes: Application, CommandFactory, Repository, Topic

Constant Summary collapse

VERSION =
"0.3.0"
DEFAULT_CONFIG_LOCATION =
File.join(Dir.home, '.topiczrc')
TOPIC_FILE =
'topic.yaml'
DIR_NOTES =
'Notes'
DIR_JOURNAL =
'Journal'
DIR_REFERENCE =
'Reference Material'
DIR_DOCUMENTS =
'Documents'
DIRECTORIES =
[DIR_NOTES, DIR_JOURNAL, DIR_REFERENCE, DIR_DOCUMENTS]
COMMANDS =
{
    'init'    => 'Initializes a new topic repository',
    'create'  => 'Creates a new topic',
    'list'    => 'Lists topics',
    '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',
    'stats'   => 'Generates weekly statistics across all topics',
    'report'  => 'Generates a weekly report of all topics',
    'alfred'  => 'Searches in Alfred Script Filter format',
    'help'    => 'Shows help about a command',
}