Skip to main content

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.

command-line-interface
Filter by
Sorted by
Tagged with
3 votes
2 answers
95 views

How force the program to enter in the first if. To run it without CLI arguments: ...
Dask Bertrand's user avatar
1 vote
3 answers
139 views

I'm new to CLI and trying to use it instead of GUI options to get better at it. Trying to extract a .gz archived pdf, but after running a command to see what happens it seems I can't input anything ...
Luke Rossenvalden's user avatar
1 vote
0 answers
191 views

I need to automatically create new C# projects. I understand I can execute arbitrary dotnet CLI commands (e.g. ...
Thor's user avatar
  • 53
0 votes
1 answer
123 views

I have identified that the interactive Python of PyPy is slightly different from the default Python interpreter specification, with PyPy lines starting with ">>>> " or ".... ...
Andrew Kay novaTopFlex's user avatar
1 vote
1 answer
53 views

I am building a CLI tool for docker compose to selectively exclude some containers from running/stopping operations (from a docker-compose.yaml having many containers, user can specify the containers ...
Abhimanyu Sharma's user avatar
Advice
0 votes
0 replies
22 views

steps to reproduce: create extensions.json in VSCode, go to Extensions pane and @recommended Click the first cloud icon in ...
Ridhwaan Shakeel's user avatar
Best practices
0 votes
5 replies
113 views

I'm designing a CLI tool in Go that will expose roughly 100 commands. Each command has its own set of flags, and there are also several global flags. My main goals are maintainability, testability, ...
m__mdy__m's user avatar
  • 194
3 votes
1 answer
105 views

I need to complete the following task (with only two tools: Node.js and the 7-Zip CLI): Read a directory recursively; For each file whose extension is .zip, unpack ...
lyrically wicked's user avatar
Tooling
0 votes
0 replies
40 views

I would like to create a C++ CLI and GUI app that should work on MS Windows. I need the GUI be launched from CLI and if possible it would be great to have the app folded back to CLI. As an option, I ...
Mykola Tetiuk's user avatar
0 votes
1 answer
130 views

In PowerShell, if I do: dir I get a listing with color. However, if I do: PowerShell -Command "dir" there is no ...
dharmatech's user avatar
  • 9,739
1 vote
1 answer
82 views

I have built a template project with a Template.json and this will generate the template fine ( no errors at all ) ive also managed to add some choices to the symbols that will add or hide code ...
Bithellio's user avatar
5 votes
1 answer
107 views

Passing an environment variable from command line works differently in Powershell v7.5 compared to v5.1. Is there some overall setting for PS 7.5 to provide compatibility? Or an explanation of why ...
macq's user avatar
  • 71
2 votes
1 answer
59 views

I have following server variable in phpunit.xml: <php> <server name="APP_DEBUG" value="false"/> </php> Sometimes while ...
Justinas's user avatar
  • 43.9k
0 votes
1 answer
95 views

I've been trying to develop my own simple little CLI Typing Game with Curses. The menu works, but when I try to press play on it, the words aren't appearing. I could see them before but they're just ...
Uzi's user avatar
  • 9
1 vote
1 answer
139 views

So I have this really weird issue where I have the following dummy.php script: ...
DevelJoe's user avatar
  • 1,582
1 vote
0 answers
112 views

I have a time-consuming function with a few embedded cli messages to keep the user updated. I’m planning to include this function in a Shiny app so that the user can simply click a button and see the ...
Grasshopper_NZ's user avatar
0 votes
1 answer
61 views

running swift tempurl --prefix-based GET 600 "/v1/AUTH_project/container/my/prefix/" "mykey12345" returns ...
Matthias's user avatar
0 votes
2 answers
115 views

I want to put the name of an existing interface in Linux into a variable so that I can use it using the variable. this is my source: ...
Mikkel148's user avatar
3 votes
2 answers
157 views

Background: In build.rakumod I have several multi sub MAIN( ... ), one of which is: ...
Richard Hainsworth's user avatar
-2 votes
1 answer
81 views

This script behaves perfectly fine on a real Ubuntu system. ...
Wisteso's user avatar
  • 384
0 votes
0 answers
94 views

I am using the gcloud CLI to create a new Workstation configuration. To simplify configuration management I am also using a yaml configuration file to specify flag values based on Google's ...
Toby's user avatar
  • 21
4 votes
1 answer
266 views

I cannot create a lightweight tag in Git, only annotated (as I understand). I use the command: git tag v15.0 This should create a lightweight tag without any ...
Vladislav Yarko's user avatar
0 votes
0 answers
52 views

I'm hoping somebody can help me figure out the error in my textfsm template. I need to parse the cli output of the MPLS interface table from a 7x50 SR router and capture all the information, including ...
user1326's user avatar
0 votes
1 answer
56 views

I've setup a custom container in Azure that will run a Function App, with the intention of connecting to my organisations GitHub (GHE) instance and using GH CLI pull a list of repos. I have a PAT ...
JT 19's user avatar
  • 3
0 votes
0 answers
51 views

I want to add autocomplete for tcsh on naval example of click: https://github.com/pallets/click/tree/main/examples/naval I started to add this: ...
Tradjincal's user avatar
0 votes
0 answers
45 views

I want to recursively parse my movie files and create output displaying each one's video codec and file name like this: ...
SmokeWalker's user avatar
0 votes
2 answers
259 views

I have a LangGraph agent from a Python shell script, and I expose it as a Typer command to be executed from the command line. Everything works fine. But now I want to add a human in the loop as one ...
Sowmya's user avatar
  • 471
-1 votes
1 answer
298 views

Following the steps in https://learn.microsoft.com/en-us/training/modules/github-copilot-across-environments/4-git-hub-copilot-for-the-command-line After installing ...
Ivone Djaja's user avatar
1 vote
1 answer
579 views

Following the steps in https://learn.microsoft.com/en-us/training/modules/github-copilot-across-environments/4-git-hub-copilot-for-the-command-line I run ...
Ivone Djaja's user avatar
0 votes
0 answers
60 views

I'm currently working on a rustyline program. My goal is to host another REPL program as a child process, and do something like auto complete its commands. However, ...
bowen951209's user avatar
0 votes
0 answers
59 views

I'm creating a CLI using oclif, and I have a config command defined like this: ...
thnhmai06's user avatar
-1 votes
1 answer
150 views

I have a CLI binary that I would like to control through Python. How could this easily be done? I have tried making a terminal in a subprocess and opening it that way but that didn't work. I also ...
Detryx's user avatar
  • 7
0 votes
1 answer
72 views

I was recently using the aws cli to test negative scenarios when doing AssumeRole in deploying resources. The negative tests were unexpectedly succeeding. I have the following $HOME/.aws/credentials ...
cartland's user avatar
  • 599
1 vote
2 answers
69 views

I want to show the data structure using cli::tree , but failed ( below code return nothing). Anyone can help ? Thanks! ...
anderwyang's user avatar
  • 2,547
14 votes
7 answers
4k views

I'm trying to create a new ASP.NET Core project with Angular using Visual Studio 2022. I selected the Angular template during project creation. However, after the project is generated, I get the ...
Bilal Pothigara's user avatar
0 votes
0 answers
35 views

I'm a beginner here. I've built a few nextflow workflows for other tools before. The command for PSORTb requires you to specify the directory where the output in stored and this is where I feel the ...
Sravan Krishna's user avatar
-6 votes
1 answer
89 views

Can one use DPO of GPT via CLI or Python on Azure? https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/fine-tuning-direct-preference-optimization just shows how to do DPO of GPT via CLI ...
Franck Dernoncourt's user avatar
1 vote
4 answers
295 views

I've developed a lookup utility website to take the detailed table reports that the Data Dictionary produces, to parse that output into useable JSON data with PHP, and then to re-display it in a nice ...
Troy Niemeier's user avatar
2 votes
1 answer
286 views

I am trying to use dotnet format cli command to enforce some rules on our code bases. I would like to remove unused using statements and also enforce the use of "is null" instead of "== ...
Yarles Davis's user avatar
1 vote
1 answer
96 views

In jshell, typing the TAB key on my keyboard serves as both auto-completion, as well as lets you see a short view of the documentation. How do I type a literal TAB ...
davidalayachew's user avatar
1 vote
0 answers
59 views

I am trying to capture real-time key presses in Windows CLI using PHP, but Windows buffers input, forcing me to press Enter before any key detection occurs. In Linux/macOS, I can use ...
Anonymous's user avatar
0 votes
1 answer
112 views

I want to create menus with options that select other menus, without causing a stack overflow error due to recursion. But the menus have to be initialized, and a menu ...
Jakub Kowalski's user avatar
2 votes
2 answers
86 views

Consider the following expect script, which attempts to automate an approval flow that is managed by a program X that we lack ...
merlin2011's user avatar
  • 76.6k
0 votes
1 answer
112 views

I'm building a command-line interface application using Spring Shell. It has : 5 commands named "a", "b", "c", "d", "e". Each command is defined in ...
Patrick B.'s user avatar
  • 1,363
0 votes
0 answers
56 views

I am working on a Gradle plugin, where I download some files from remote API in parallel. I want to inform user about the progress of each file. Let's say there are 10 files that are being downloaded, ...
Maroš Šeleng's user avatar
0 votes
1 answer
158 views

In my pipeline I need to pull an image into a VM. I'm using the following code, but it returns an error. ...
Gosia Wiśniewska's user avatar
0 votes
1 answer
50 views

I have been porting my code to PhantomJs and have been having a hard time with using $.ajax in Jquery. My code runs perfectly when the function call is dropped. I am new-ish to JavaScript other than ...
Matthew Mills's user avatar
2 votes
1 answer
77 views

A bare bone implementation for retrieving user secrets using F# I am new to f# (coming from c#) and I was looking to retrieve user secrets for a bare bone CLI project. I did not want to import ...
LaurentBaj's user avatar
0 votes
1 answer
72 views

So, I'm currently working on a mod for a game, and I might end up having to do this for other mods in the future, so I'd like to know if there is a way to do it with the FOR/DO command in Windows' ...
Emma from Mike's party's user avatar
0 votes
0 answers
39 views

I'm building a Kotlin CLI application using Koin. I have multiple Feature classes (each representing a functionality), and I register them as follows: ...
Nadeen's user avatar
  • 11

1
2 3 4 5
193