Questions tagged [command-line-interface]

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.

A command line interface (CLI) is an interface to a program based on a series of typed text lines, called commands, which follow a specific language structure. The command lines are then interpreted by a Command Language Interpreter (more commonly known as a Shell).

The CLI was a popular interface since the 1960's, and even with development of more modern UI experiences such as , it is still a ubiquitous interface today. Depending on the specific command language, the CLI could provide a quicker and more accurate way to perform commands compared to alternatives.

Useful Resources

9389 questions
3
votes
2 answers

double quotes and whitespace as argument to python script in PowerShell

I'm trying to run a python script using PowerShell. In that python script I try to use a command line argument which includes double quotes and whitespace, which does not work properly. I suspect it to be an issue with PowerShell. The (simplified)…
Iarwa1n
  • 460
  • 3
  • 12
3
votes
5 answers

How to create a command line prompt that displays options next to integers and allows choosing an option using integer input?

How to use click to write a command line prompt which looks like: choose name: [1] Karen [2] Bob [3] Jo [4] Steve And calls a function such as: def print_function(name): if name == 'Karen': print('CEO') elif name == 'Bob': …
3
votes
0 answers

Angular 5 with Cli alasql can't find xlsx.js

xlsx from JSON with alasql and xlsx. I was able to generate a xls with alasql, but the xlsx generation fails. I added the script to the cli and the compiler has no errors. When I call the function genXlsx(), which does the rendering, I get a…
3
votes
2 answers

Windows 10 CLI UTF-8 encoding

Problem: On an english Windows 10 using slovenian keyboard layout, all command line interfaces seem to have a problem with displaying (printing) UTF-8 characters, namely č, š and ž, which are replaced with ?. (I assume all UTF-8 specific…
user9420260
  • 33
  • 1
  • 6
3
votes
2 answers

Cordova Error: Failed to fetch platform cordova-browser@~5.0.0

when i build cordova project it working fine. output also shown.But, after few minutes later it shows this error Error: Failed to fetch platform cordova-browser@~5.0.0 PS C:\Users\Rajadurai\Desktop\app> phonegap serve [phonegap] starting app…
Rajadurai M
  • 181
  • 1
  • 16
3
votes
2 answers

How can I open the current GitHub branch on Web using Windows command line?

I had this command working on my Mac/Linux (Terminal) with OhMyZsh, but once I moved to Windows, I wasn't sure how to update it using Cmdr/ConEmu shell. Basically, I want an alias that is like "goweb" that will open my default browser to the current…
Ambrose Little
  • 2,111
  • 2
  • 15
  • 15
3
votes
1 answer

How can I specify my nuget server for the ‘dotnet new-I name_custom_template’ command?

I have a following problem: my custom template is on my nuget server( not an official nuget.org server). I could not find any information about specifying the source of nuget package. For example, as it is implemented in dotnet restore -s…
3
votes
2 answers

How to pull files from Cloud Foundry on Diego

I would like to retrieve some application's logs. I found that the command cf file was not available anymore and the plugin cf-download doesn't work on Diego Architecture. Is there a way to retrieve files from the cloud foundry by CLI other another…
jerem0808
  • 95
  • 1
  • 12
3
votes
1 answer

Inkscape CLI syntax to select objects/paths

I have the following SVG-file: Kalender
o01
  • 5,191
  • 10
  • 44
  • 85
3
votes
3 answers

Number of intergers in a file using Command Line Interface

How to count number of integers in a file using egrep? I tried to solve it as a pattern finding problem. Actually, I am facing problem of how to represent range of characters [0-9] continuously which include "space" before the beginning and "space…
Delsilon
  • 156
  • 12
3
votes
3 answers

Converting JSON to CSV via CLI

I am using an API to get data from NetFlow Analyzer. I get a JSON file formatted like this; {"startTime":"2017-12-29 11:58","resultVector":[{"port":"*","app":"Unknown_App","dscpCode":"0","traffic":"4.77…
Sean W
  • 57
  • 1
  • 1
  • 5
3
votes
2 answers

aws cli --query doesn't filter output in windows command promt

I am following the documentation to use the --query option in aws cli. However it doesn't work for me at all. I have defined profiles because I have several accounts to pull the data. If I omit the --query, it returns the data successfully. Any…
Ben
  • 69
  • 5
3
votes
1 answer

Issue binding ZeroMQ to PHP In MacOS

I am attempting to add the ZeroMQ extension's PHP functionality to my local server. I have successfully installed it however binding it to the PHP of my system has been a challenge. I've attempted both the PEAR/PECL and Github building methods…
3
votes
2 answers

If a class dependency is missing, how can I determine which class is missing?

I am getting the error "Could not find or load main class" even though the class is there. From this answer, I learned that the class can likely be found, but not loaded, due to missing dependencies. Aside from manually decompiling the class,…
Adam Burley
  • 5,551
  • 4
  • 51
  • 72
3
votes
3 answers

Piping data through an external application on Windows using Java

I have a Java-app with an InputStream, which is copying data to an OutputStream. I want to compress the data from the InputStream using FreeArc, before writing it to the OutputStream. The problem is that there's no Java-API against FreeArc. I…
Yrlec
  • 3,401
  • 6
  • 39
  • 75
1 2 3
99
100