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
1af86643
Commit
1af86643
authored
May 22, 2015
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up docstrings.
parent
a61d22d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
topydo/cli/CLI.py
topydo/cli/CLI.py
+1
-3
topydo/cli/CLIApplicationBase.py
topydo/cli/CLIApplicationBase.py
+6
-2
topydo/cli/Prompt.py
topydo/cli/Prompt.py
+3
-4
No files found.
topydo/cli/CLI.py
View file @
1af86643
...
...
@@ -36,9 +36,7 @@ from topydo.lib import TodoList
class
CLIApplication
(
CLIApplicationBase
):
"""
Class that represents the Command Line Interface of Topydo.
Handles input/output of the various subcommands.
Class that represents the (original) Command Line Interface of Topydo.
"""
def
__init__
(
self
):
super
(
CLIApplication
,
self
).
__init__
()
...
...
topydo/cli/CLIApplicationBase.py
View file @
1af86643
...
...
@@ -14,7 +14,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
""" Entry file for the Python todo.txt CLI. """
"""
Contains a base class for a CLI implementation of topydo and functions for the
I/O on the command-line.
"""
import
getopt
import
sys
...
...
@@ -102,7 +105,8 @@ from topydo.lib.Utils import escape_ansi
class
CLIApplicationBase
(
object
):
"""
Base class for Command Line Interfaces (CLI) for topydo.
Base class for a Command Line Interfaces (CLI) for topydo. Examples are the
original CLI and the Prompt interface.
Handles input/output of the various subcommands.
"""
...
...
topydo/cli/Prompt.py
View file @
1af86643
...
...
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
""" Entry file for the
Python todo.txt CLI
. """
""" Entry file for the
topydo Prompt interface (CLI)
. """
import
sys
...
...
@@ -41,9 +41,8 @@ from topydo.lib import TodoList
class
PromptApplication
(
CLIApplicationBase
):
"""
Class that represents the Command Line Interface of Topydo.
Handles input/output of the various subcommand.
This class implements a variant of topydo's CLI showing a shell and
offering auto-completion thanks to the prompt toolkit.
"""
def
__init__
(
self
):
super
(
PromptApplication
,
self
).
__init__
()
...
...
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