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 to run commands via NodeJS child process?

I am trying to run commands on Windows via NodeJS child processes: var terminal = require('child_process').spawn('cmd'); terminal.…

shell node.js process command-line-interface command-prompt
How to change the output folder for migrations with asp.net Core?

Does anyone know how to change the output directory of the following command? dotnet ef migrations add Initial --context EsportshubApi.…

asp.net database entity-framework asp.net-core command-line-interface
How to pass parameters from command line to $_POST in php-script?

I know this could sound a little weird but I need to pass some parameters to a $_POST array. Similar …

post command-line-interface php http-post-vars
How to enable autocomplete in iTerm2

Let's say I'm in my root directory, and I have a User folder that I can cd into. In my …

autocomplete command-line-interface iterm2
How to distinguish command-line and web-server invocation?

Is there a way to distinguish if a script was invoked from the command line or by the web server? (…

php command-line-interface
How to change Firebase user login identity from command line (CLI)?

I'm trying to login to firebase using login credentials of, say, User-Alice. But when I go through the authorization procedure …

command-line firebase command-line-interface
CLR and CLI - What is the difference?

I want to know what exactly is the difference between CLR & CLI? From whatever I have read so far, …

.net clr command-line-interface
How can I split my Click commands, each with a set of sub-commands, into multiple files?

I have one large click application that I've developed, but navigating through the different commands/subcommands is getting rough. How …

python command-line-interface python-click
Mac Terminal - How to start Android Virtual Device Manager on CLI?

I am currently developing a mobile web application and I don't have a test device yet so I'm using the …

command-line terminal command-line-interface osx-snow-leopard avd
How can I get XDebug to run with PHPUnit on the CLI?

I've tried running the following CLI command: phpunit -d xdebug.profiler_enable=on XYZTestCase.php but it just runs as …

php phpunit command-line-interface xdebug