Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
56 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
92 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
0 votes
0 answers
49 views

I have a tool that uses Click to define its CLI interface. It uses groups to achieve a subcommand hierarchy. So, if it is mytool, we have commands like mytool edit, mytool show, mytool execute script1....
Noob Doob's user avatar
  • 1,967
2 votes
1 answer
53 views

I have following server variable in phpunit.xml: <php> <server name="APP_DEBUG" value="false"/> </php> Sometimes while developing, I want have APP_DEBUG ...
Justinas's user avatar
  • 43.9k
0 votes
1 answer
92 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
133 views

So I have this really weird issue where I have the following dummy.php script: <?php declare(strict_types=1); $prompt = "Hello there!". PHP_EOL . "What do you want to know?"...
DevelJoe's user avatar
  • 1,552
1 vote
0 answers
104 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
54 views

running swift tempurl --prefix-based GET 600 "/v1/AUTH_project/container/my/prefix/" "mykey12345" returns /v1/AUTH_project/container/my/prefix/?temp_url_sig=abc0987&...
Matthias's user avatar
0 votes
2 answers
110 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: Write-Output "⚙ Detecting Linux network interface..." $...
Mikkel148's user avatar
3 votes
2 answers
150 views

Background: In build.rakumod I have several multi sub MAIN( ... ), one of which is: multi sub MAIN( :$config = 'config', #= localised config file Bool :install($)!, #= install a config ...
Richard Hainsworth's user avatar
-2 votes
1 answer
73 views

This script behaves perfectly fine on a real Ubuntu system. #!/bin/bash set -Eeu -o pipefail word1=$(awk '{print $2}' eff_short_wordlist_2_0.txt | fzf) echo "${word1}" word2=$(awk '{print $...
Wisteso's user avatar
  • 384
0 votes
0 answers
83 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
237 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 metadata, but instead it asks me for a ...
Vladislav Yarko's user avatar
0 votes
0 answers
49 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
47 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
45 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: _tcsh_source = """\ %(...
Tradjincal's user avatar
0 votes
0 answers
27 views

I want to recursively parse my movie files and create output displaying each one's video codec and file name like this: Codec - Video1.mkv Codec - Video2.mp4 Codec - Video3.mkv I found SomethingDark'...
SmokeWalker's user avatar
0 votes
2 answers
196 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
205 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 gh, I tried to run gh copilot ...
Ivone Djaja's user avatar
1 vote
1 answer
519 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 brew install gh then run gh copilot explain &...
Ivone Djaja's user avatar
0 votes
0 answers
57 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, I encountered a problem. The ...
bowen951209's user avatar
0 votes
0 answers
52 views

I'm creating a CLI using oclif, and I have a config command defined like this: import { Args, Command, Flags } from "@oclif/core"; export default class Config extends Command { static ...
thnhmai06's user avatar
-1 votes
1 answer
109 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
65 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
67 views

I want to show the data structure using cli::tree , but failed ( below code return nothing). Anyone can help ? Thanks! library(cli) mtest <- data.frame( stringsAsFactors = FALSE, category = c(&...
anderwyang's user avatar
  • 2,547
14 votes
7 answers
3k 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
83 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
221 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
247 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
89 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 character in jshell? Sometimes, when ...
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 stty -icanon to ...
Anonymous's user avatar
0 votes
1 answer
109 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 a can point to a menu b and b to ...
Jakub Kowalski's user avatar
2 votes
2 answers
75 views

Consider the following expect script, which attempts to automate an approval flow that is managed by a program X that we lack the source code for: eval spawn $argv set timeout -1 expect -ex {Approve ...
merlin2011's user avatar
  • 76.5k
0 votes
1 answer
97 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,353
0 votes
0 answers
53 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
126 views

In my pipeline I need to pull an image into a VM. I'm using the following code, but it returns an error. - task: AzureCLI@2 displayName: Deploy image to test VM ...
Gosia Wiśniewska's user avatar
0 votes
1 answer
48 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
1 vote
1 answer
67 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
69 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
36 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: // FeatureModule.kt val FeatureModule = module { ...
Nadeen's user avatar
  • 11
0 votes
4 answers
79 views

I made a new branch to tinker with code without messing up the main branch I was working on. It ended up bearing no fruit, so I went back to working on the parent branch without bringing any of the ...
kef_rem's user avatar
  • 23
1 vote
0 answers
333 views

I'm currently building a gen AI based CLI chatbot with an AWS Bedrock Agent in Node.js with the AWS SDK for JavaScript. But for some reason both in my code and in the testing enviroment within the AWS ...
Sarimm Chaudhry's user avatar
0 votes
0 answers
108 views

I am wondering what is causing these two Drupal status report errors and how to resolve them. These two Drupal Status report errors: Update readiness checks: Your site does not pass some readiness ...
Site Architect's user avatar
0 votes
0 answers
56 views

aws lexv2-models create-intent \ --bot-id BH4IPQZY \ --bot-version DRAFT \ --locale-id en_US \ --intent-name messageBedrock \ --description "QnA intent for knowledge base integration&...
Thomas Joseph's user avatar
0 votes
1 answer
37 views

I am developing a command predictor in C# following this guide. I managed to get the predictions working, but I hit a blocking point. If the execution time of the GetSuggestion() function is too long, ...
Kudor's user avatar
  • 69
7 votes
1 answer
429 views

I am having problems with arguments in C++ console programs built under C++Builder 12 Community Edition. If the executable is in a folder with spaces in its name, eg. "test dir", and I ...
Bruce Varley's user avatar
0 votes
1 answer
33 views

I have developed a python package the directory looks like this: main folder/ django_app/ django_project/ my_package/ manage.py .... So as i set my path to main_folder/my_package in ...
Shrijan's user avatar
  • 19
0 votes
0 answers
67 views

I have been trying to change my prompt in sys.ps1 with PYTHONSTARTUP. My idea was that I will show some information on first line (time, path) and the prompt on the second. When I tried changing ps1 ...
AnikeiPS's user avatar
0 votes
0 answers
24 views

I have a simple Node CLI app that runs a long-running process, in this case a Gradle in watch mode. I need to have some user control so I added a fairly standard setup for reading the keys like this: ...
Jarek's user avatar
  • 7,769

1
2 3 4 5
194