Top "Command-line-interface" questions

The interface to a program that consists entirely of text, as opposed to (although not necessarily mutually exclusive to) a GUI, or Graphical User Interface.

How do I run Rake tasks within a Ruby script?

I have a Rakefile with a Rake task that I would normally call from the command line: rake blog:post …

ruby rake command-line-interface
pcntl_fork() returning, Fatal error: Call to undefined function pcntl_fork()

I'm trying to fork a command line run XAMPP php process using pcntl_fork(). When I run the command below: $…

php fork command-line-interface pcntl undefined-function
Are there standards for Linux command line switches and arguments?

This is more about the invocation of a program, than any language or parser (though I'm sure choice of parser …

linux coding-style command-line-interface
In C++, how to print ASCII art to the console?

Let's say you want to print out one of those great ASCII art images. How can you do that without …

c++ command-line-interface ascii-art
How to set multiple values with helm?

Use helm install can set value when install a chart like: helm install --set favoriteDrink=slurm ./mychart Now want to …

string shell kubernetes command-line-interface kubernetes-helm
Can't get argparse to read quoted string with dashes in it?

Is there a way to make argparse recognize anything between two quotes as a single argument? It seems to keep …

python argparse command-line-interface
Apache Commons CLI : Getting list of values for an option

For a CLI, I have a requirement to pass in an array of ints as input for a particular option. …

java command-line-interface apache-commons
CakePHP Bake Shell Error: Database connection “Mysql” is missing, or could not be created

I have an issue here with baking. I've read the previous answers to similar questions, but the solutions seem to …

php cakephp pdo command-line-interface cakephp-bake
Are there any mature command line JDBC clients?

I am trying to create a set of test scripts that will perform black-box testing of something that works with …

jdbc command-line command-line-interface
How to check with PHP if the script is being run from the console or browser request?

I tried things like $_ENV['CLIENTNAME'] == 'Console' but that seems to work on only certain OS's (worked in windows, not …

php shell console command-line-interface