Skip to content

vanmitG/todo-cli-python-CDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoderSchool FTW - Python Todo List CLI

Created with love by: Van Mit

Command line interface(cli) version of a simple todos app!

User Stories

The following required functionalities are completed:

  • The user can run your program from the command line.
  • The user can see all todos from the command line by passing a list command, sorted with the ones due first.
  • The user can add a todo from the command line by passing an add argument. The fields specified should be body, due_date, and project_id. The fields due_date and project_id are optional. Only body is required.
  • By default todos are incomplete.
  • The user should see a message giving information about the todo that was added.
  • User can mark a todo as complete by passing a command and an id.
  • User can mark a todo as incomplete by passing a command and an id.
  • If the user does not supply the correct arguments, or supplies a --help flag, the user sees a usage message.
  • The user can supply arguments to the list command to only see todos that are complete.
  • The user can change body of a todo.

Optional Requirements

The following optional features are implemented:

  • The user can supply arguments to the list command to only see todos of a particular project_id.
  • The user can supply arguments to the list command to reverse the default sort, to now see the todos by due_date descending.
  • The user can supply arguments to the list command to combine the above options.
  • The user can add a user_id to each todo.
  • The user can add a user to the system by passing add_user. Each user should have a name, email_address, and id.
  • The user can call a list_users command that shows all the users in the system.
  • The user can call a staff command that shows each project, combined with each of the users working on that project.
  • The user can call a who_to_fire command that lists all users who are not currently assigned a todo.
  • The user can add a project by calling add_project. Each project must have a name.
  • The user can see all projects from the command line.

The following additional features are implemented:

  • [] List anything else that you can get done to improve the page!

Time Spent and Lessons Learned

Time spent: X hours spent in total.

Describe any challenges encountered while building the app.

License

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

simple todos app using command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages