Trees | Index | Help |
|
---|
Module bp_cli :: Class CLI |
|
object
--+
|
CLI
Method Summary | |
---|---|
Constructor | |
Change the current working dir on the phone FS. | |
Change to current working dir on the phone up one level (parent). | |
Run a primitive interactive CLI sesssion. | |
Transfer files between the phone filesystem and local filesystem | |
Print the current working dir(cwd/pwd) on the phone FS. | |
Do a long dir listing command | |
log(self,
logstr)
| |
logdata(self,
logstr,
logdata,
dataclass,
datatype)
| |
Do a directory listing | |
Create one or more dirs on the phone FS. | |
Update the progress meter | |
Print the current working dir(cwd/pwd) on the phone FS. | |
delete one or more files on the phone FS. | |
Delete one or more phone FS directories. | |
Execute the specified command if specified, or the one currently stored | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
arg,
file_in,
file_out,
file_err,
config_filename=None,
comm_port=None,
phone_model=None)
Constructor
|
cd(self, args)Change the current working dir on the phone FS.
|
cdu(self, args)Change to current working dir on the phone up one level (parent).
|
cli(self, _)Run a primitive interactive CLI sesssion.
|
cp(self, args)Transfer files between the phone filesystem and local filesystem
|
cwd(self, _)Print the current working dir(cwd/pwd) on the phone FS.
|
ll(self, args)Do a long dir listing command
|
ls(self, args)Do a directory listing
|
mkdir(self, args)Create one or more dirs on the phone FS.
|
progress(self, pos, maxcnt, desc)Update the progress meter |
pwd(self, _)Print the current working dir(cwd/pwd) on the phone FS.
|
rm(self, args)delete one or more files on the phone FS. This command does not delete local files.
|
rmdir(self, args)Delete one or more phone FS directories. This command does not delete local directories.
|
run(self, cmdline=None)Execute the specified command if specified, or the one currently stored
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:32 2008 | http://epydoc.sf.net |