Home | Trees | Indices | Help |
|
---|
|
1 """ 2 The B{0install destroy} command-line interface. 3 """ 4 5 # Copyright (C) 2012, Thomas Leonard 6 # See the README file for details, or visit http://0install.net. 7 8 from zeroinstall.cmd import UsageError 9 10 syntax = "PET-NAME" 11 1416 """@type args: [str]""" 17 if len(args) != 1: 18 raise UsageError() 19 20 pet_name = args[0] 21 22 app = config.app_mgr.lookup_app(pet_name) 23 app.destroy()24 31
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 26 18:14:09 2013 | http://epydoc.sourceforge.net |