Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add profiles #5

Open
Saakshaat opened this issue Dec 28, 2020 · 0 comments
Open

Add profiles #5

Saakshaat opened this issue Dec 28, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Saakshaat
Copy link
Owner

A profile should represent a separate database with its own memory. The current codebase has the code to facilitate profiles but there are weird issues from Click for the command groups and we'll have to override some functions in parent class to resolve this.

After adding profiles, the user should be able to access different profiles for commands like this:

$ notes work add "Finish backend backlog"

$ notes work show
       Date         |         Content
--------------------|--------------------
11:39 ~ 28 Dec 2020 | Finish backend backlog

$ notes groceries add "Coconut milk"

$ notes groceries show
       Date         |         Content
--------------------|--------------------
11:40 ~ 28 Dec 2020 | Coconut milk

$ notes work show
       Date         |         Content
--------------------|--------------------
11:39 ~ 28 Dec 2020 | Finish backend backlog
@Saakshaat Saakshaat added the enhancement New feature or request label Dec 28, 2020
@Saakshaat Saakshaat self-assigned this Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant