Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
22e61d1f
Commit
22e61d1f
authored
Jun 04, 2015
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 'ical' subcommand, in favor of 'ls -f ical'.
parent
41e534bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
45 deletions
+0
-45
topydo/Commands.py
topydo/Commands.py
+0
-1
topydo/cli/CLIApplicationBase.py
topydo/cli/CLIApplicationBase.py
+0
-1
topydo/commands/IcalCommand.py
topydo/commands/IcalCommand.py
+0
-43
No files found.
topydo/Commands.py
View file @
22e61d1f
...
...
@@ -33,7 +33,6 @@ _SUBCOMMAND_MAP = {
'do'
:
'DoCommand'
,
'edit'
:
'EditCommand'
,
'exit'
:
'ExitCommand'
,
# used for the prompt
'ical'
:
'IcalCommand'
,
# deprecated
'ls'
:
'ListCommand'
,
'lscon'
:
'ListContextCommand'
,
'listcon'
:
'ListContextCommand'
,
...
...
topydo/cli/CLIApplicationBase.py
View file @
22e61d1f
...
...
@@ -49,7 +49,6 @@ Available commands:
* depri
* do
* edit
* ical
* ls
* listcon (lscon)
* listprojects (lsprj)
...
...
topydo/commands/IcalCommand.py
deleted
100644 → 0
View file @
41e534bf
# Topydo - A todo.txt client written in Python.
# Copyright (C) 2015 Bram Schoenmakers <me@bramschoenmakers.nl>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Stub for the former 'ical' subcommand, now replaced with 'ls -f ical'.
To be removed.
"""
from
topydo.lib.Command
import
Command
class
IcalCommand
(
Command
):
def
__init__
(
self
,
p_args
,
p_todolist
,
p_out
=
lambda
a
:
None
,
p_err
=
lambda
a
:
None
,
p_prompt
=
lambda
a
:
None
):
super
(
IcalCommand
,
self
).
__init__
(
p_args
,
p_todolist
,
p_out
,
p_err
,
p_prompt
)
def
execute
(
self
):
self
.
error
(
"The 'ical' subcommand is deprecated, please use 'ls -f ical' instead."
)
return
False
def
usage
(
self
):
return
"""Synopsis: ical"""
def
help
(
self
):
return
"""
\
Deprecated. Use 'ls -f ical' instead.
"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment