Mercurial > mozilla > hg > ProfileManager
comparison profilemanager/main.py @ 10:c77e9bef78d6
* update list of public API functions
* further flushing out of profile manager
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 05 May 2010 17:08:47 -0700 |
parents | 35dc297efa25 |
children | 49d523a33c89 |
comparison
equal
deleted
inserted
replaced
9:b1274abd1206 | 10:c77e9bef78d6 |
---|---|
17 | 17 |
18 def main(args=sys.argv[1:]): | 18 def main(args=sys.argv[1:]): |
19 | 19 |
20 # global option parsing | 20 # global option parsing |
21 commands = [ ProfileManager.backup, | 21 commands = [ ProfileManager.backup, |
22 ProfileManager.backups, | |
22 ProfileManager.clone, | 23 ProfileManager.clone, |
23 ProfileManager.list, | 24 ProfileManager.list, |
25 # ProfileManager.merge, | |
26 ProfileManager.new, | |
24 ProfileManager.restore, | 27 ProfileManager.restore, |
25 ProfileManager.merge ] | 28 ] |
26 parser = CommandParser(commands, setup=create_profilemanager) | 29 parser = CommandParser(commands, setup=create_profilemanager) |
27 parser.add_option('-c', '--config', dest='config', | 30 parser.add_option('-c', '--config', dest='config', |
28 help="specify a profile.ini [default: $HOME/.mozilla/firefox/profiles.ini]") | 31 help="specify a profile.ini [default: $HOME/.mozilla/firefox/profiles.ini]") |
29 parser.invoke(args) | 32 parser.invoke(args) |
30 | 33 |