toodledo 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +2 -1
- data/lib/toodledo.rb +1 -1
- data/lib/toodledo/command_line/list_tasks_by_context_command.rb +26 -0
- metadata +5 -4
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -15,10 +15,11 @@ lib/toodledo/command_line/folder_formatter.rb
|
|
15
15
|
lib/toodledo/command_line/goal_formatter.rb
|
16
16
|
lib/toodledo/command_line/hotlist_command.rb
|
17
17
|
lib/toodledo/command_line/interactive_command.rb
|
18
|
-
lib/toodledo/command_line/list_tasks_command.rb
|
19
18
|
lib/toodledo/command_line/list_contexts_command.rb
|
20
19
|
lib/toodledo/command_line/list_folders_command.rb
|
21
20
|
lib/toodledo/command_line/list_goals_command.rb
|
21
|
+
lib/toodledo/command_line/list_tasks_command.rb
|
22
|
+
lib/toodledo/command_line/list_tasks_by_context_command.rb
|
22
23
|
lib/toodledo/command_line/parser_helper.rb
|
23
24
|
lib/toodledo/command_line/setup_command.rb
|
24
25
|
lib/toodledo/command_line/stdin_command.rb
|
data/lib/toodledo.rb
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
module Toodledo
|
2
|
+
module CommandLine
|
3
|
+
|
4
|
+
#
|
5
|
+
# List Tasks By Context
|
6
|
+
#
|
7
|
+
class ListTasksByContextCommand < BaseCommand
|
8
|
+
def initialize(client)
|
9
|
+
super(client, 'nested', false)
|
10
|
+
self.short_desc = "List tasks by context"
|
11
|
+
self.description = "Lists the tasks grouped by context."
|
12
|
+
end
|
13
|
+
|
14
|
+
def execute(args)
|
15
|
+
|
16
|
+
Toodledo.begin(client.logger) do |session|
|
17
|
+
line = args.join(' ')
|
18
|
+
return client.list_tasks_by_context(session, line)
|
19
|
+
end
|
20
|
+
|
21
|
+
return 0
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toodledo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Sargent
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-06-07 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -37,7 +37,7 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.5.
|
40
|
+
version: 1.5.3
|
41
41
|
version:
|
42
42
|
description: "== DESCRIPTION: This is a Ruby API and client for http://toodledo.com, a task management website. It implements all of the calls from Toodledo's developer API, and provides a nice wrapper around the functionality. The client allows you to work with Toodledo from the command line. It will work in either interactive or command line mode. You can also use the client in your shell scripts, or use the API directly as part of a web application. Custom private RSS feed? Want to have the Mac read out your top priority? Input tasks through Quicksilver? Print out tasks with a BetaBrite? It can all happen."
|
43
43
|
email: will@tersesystems.com
|
@@ -67,10 +67,11 @@ files:
|
|
67
67
|
- lib/toodledo/command_line/goal_formatter.rb
|
68
68
|
- lib/toodledo/command_line/hotlist_command.rb
|
69
69
|
- lib/toodledo/command_line/interactive_command.rb
|
70
|
-
- lib/toodledo/command_line/list_tasks_command.rb
|
71
70
|
- lib/toodledo/command_line/list_contexts_command.rb
|
72
71
|
- lib/toodledo/command_line/list_folders_command.rb
|
73
72
|
- lib/toodledo/command_line/list_goals_command.rb
|
73
|
+
- lib/toodledo/command_line/list_tasks_command.rb
|
74
|
+
- lib/toodledo/command_line/list_tasks_by_context_command.rb
|
74
75
|
- lib/toodledo/command_line/parser_helper.rb
|
75
76
|
- lib/toodledo/command_line/setup_command.rb
|
76
77
|
- lib/toodledo/command_line/stdin_command.rb
|