02-22-2008
Ok, maybe I will answer my own question. It looks like the "common.cli" is really just extending the Cmd class that is standard with Python.
Still... if anybody has any input on "the right way" to implement ones own CLI, that would still be great.
8 More Discussions You Might Find Interesting
1. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
2. Shell Programming and Scripting
I need to run this command using python subprocess module (notice I'm using only variables):
cmd = TESTPATH + ' -s ' + serviceName + ' -r ' + rdir + \
' -m ' + masterAcct + ' -p ' + persona + ' -P ' + passwd (3 Replies)
Discussion started by: erick_tuk
3 Replies
3. Red Hat
Hello friends
Today i have changed my passwd policy for strong password
Everything is working correctly but when i changed my password , it did not ask me my old password
my /etc/pam.d/system-auth file is (only passwdqc.so module line)
password required pam_passwdqc.so retry=3... (0 Replies)
Discussion started by: rink
0 Replies
4. Shell Programming and Scripting
Im planning to automate my testcases. Please suggest me a python module that will ease my automation scripting.
General steps involved in the testcase execution: (all steps below are done in linux machine)
1) start the application under test (AUT)
2) connect to oracle/ms sql db and update... (1 Reply)
Discussion started by: Arun_Linux
1 Replies
5. Programming
Hi,
I am trying to multiple urls in multiple tabs within a browser window.
I am using webbrowser module in python:
My code:
import webbrowser
li =
for url in li:
webbrowser.open_new_tab(url)
This code works fine, if the browser is already opened.
If the browser is not started... (5 Replies)
Discussion started by: pandeesh
5 Replies
6. Shell Programming and Scripting
I have this code that gives this error on Linux and will be grateful if you can help
import rrdtool
try:
ret_asd = rrdtool.update(myfile.rrd,'N:%s:%s' %(metric1, metric2));
except rrdtool.error, e:
print e
When i run the above i get the below error
except... (1 Reply)
Discussion started by: kaf3773
1 Replies
7. Programming
I was wondering is there any occasion where csv module will be desired over pandas. I skipped learning csv module and jumped right into the beautiful pandas and its magical ability to manipulate data. Dataframes are beautiful! (2 Replies)
Discussion started by: srkmish
2 Replies
8. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT MOJAVE
gnutls-cli-debug
gnutls-cli-debug(1) General Commands Manual gnutls-cli-debug(1)
NAME
gnutls-cli-debug - GnuTLS test client, with verbose output
SYNOPSIS
gnutls-cli-debug [options] hostname
DESCRIPTION
Simple client program to set up a TLS connection to some other computer. Like gnutls-cli(1), it sets up a TLS connection and forwards data
from the standard input to the socket. Any information about the TLS control connection is printed to standard error.
OPTIONS
-d, --debug integer
Enable debugging.
-p, --port integer
The port to connect to.
-h, --help
Prints a short reminder of the command line options.
-v, --verbose
Even more verbose output.
SEE ALSO
gnutls-cli(1), gnutls-serv(1)
AUTHOR
Nikos Mavroyanopoulos <nmav@gnutls.org> and others; see /usr/share/doc/gnutls-bin/AUTHORS for a complete list.
This manual page was written by Ivo Timmermans <ivo@debian.org>, for the Debian GNU/Linux system (but may be used by others).
December 1st 2003 gnutls-cli-debug(1)