Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

Passing IPython variables as arguments to bash commands

How do I execute a bash command from Ipython/Jupyter notebook passing the value of a python variable as an …

python ipython jupyter-notebook command-line-arguments
Using command line arguments in Python: Understanding sys.argv

I'm currently going through Learn Python The Hard Way. I think this example might be out dated so I wanted …

python command-line-arguments argv
How to make sys.argv arguments optional?

sys.argv takes arguments at the shell command line when running a program. How do I make these arguments optional? …

python command-line-arguments sys
Accessing command line arguments in Objective-C

Is there any complete documentation (the interface is present in crt_externs.h) about this functions : _NSGetArgc and _NSGetArgv I …

objective-c cocoa command-line-arguments
Download complete directory command line psftp

I have to move a complete folder from one source to another destination. I have tried mget * and xcopy, but …

download sftp command-line-arguments psftp
cp --parents option on mac

On Linux, I have a --parents option available for the cp command so I can do cp --parents test/withintest/…

macos command-line command-line-arguments
Nose test script with command line arguments

I would like to be able to run a nose test script which accepts command line arguments. For example, something …

python command-line-arguments nose
usage function doesn't work with getopt

I have a problem with a usage function in Python. This is a part of my main function: def main(…

python command-line-arguments getopt
Call another click command from a click command

I want to use some useful functions as commands. For that I am testing the click library. I defined my …

python command-line-arguments stdout piping python-click
Split a string containing command-line parameters into a String[] in Java

Similar to this thread for C#, I need to split a string containing the command line arguments to my program …

java parsing command-line-arguments