Top "Command-line-arguments" questions

Programming command line utilities that take parameters.

Arguments to main in C

I don't know what to do! I have a great understanding of C basics. Structures, file IO, strings, etc. Everything …

c command-line-arguments main-method
What's the best way to parse command line arguments?

What's the easiest, tersest, and most flexible method or library for parsing Python command line arguments?

python command-line command-line-arguments
Accessing bash command line args $@ vs $*

In many SO questions and bash tutorials I see that I can access command line args in bash scripts in …

bash command-line-arguments
Invoke a second script with arguments from a script

I have a script that reads a configuration file that results in a set of name value pairs that I …

powershell parameter-passing command-line-arguments invoke-command start-job
Passing command line arguments in Visual Studio 2010?

I am working on a C project and can not figure out how to pass command line arguments to my …

c visual-studio-2010 visual-studio command-line-arguments
How do you run a .exe with parameters using vba's shell()?

I have a target file path that is structured like example below. C:\Program Files\Test\foobar.exe /G What …

excel vba shell parameters command-line-arguments
Python argparse command line flags without arguments

How do I add an optional flag to my command line args? eg. so I can write python myprog.py …

python command-line-arguments argparse
How do I use the lines of a file as arguments of a command?

Say, I have a file foo.txt specifying N arguments arg1 arg2 ... argN which I need to pass to the …

linux unix shell command-line command-line-arguments
How can I disable the Maven Javadoc plugin from the command line?

In pom.xml I have declaration like this <plugin> <groupId>org.apache.maven.plugins</groupId&…

java maven command-line command-line-arguments maven-javadoc-plugin
Java: Check if command line arguments are null

I am looking to do some error checking for my command line arguments public static void main(String[] args) { if(…

java command-line command-line-arguments