mgckind / easyaccess

SQL command line interpreter for astronomical surveys
http://matias-ck.com/easyaccess/
Other
15 stars 14 forks source link

Show DB name in prompt #150

Closed kadrlica closed 6 years ago

kadrlica commented 6 years ago

What do you think about having the prompt show the DB name? For example, this would replace: DESDB ~> with DESSCI ~> I think that the location for this change would be here and would look something like this:

        self.savePrompt = colored(
            '_________', 'magenta', self.ct) + '\n%s ~> '%(self.dbname.upper())