9,642 questions
-1
votes
1
answer
101
views
Ensure az devops CLI commands only use permissions associated with Personal Access Token, not Azure account
I want to connect to Azure DevOps from a Cursor agent, to read user stories. At work we're forbidden from using MCP servers, so we have to use the Azure CLI to get the user stories from Azure DevOps. ...
Advice
0
votes
0
replies
50
views
integrating Antigravity CLi into VS code
I am trying to integrate the Antigravity CLi into Vs code using Antigravity for Copilot extensions. It says that the server is all up and running with 10 models available in antigravity also available ...
Best practices
1
vote
2
replies
64
views
How do I use azure cli without persistent login?
It's not often but sometimes I need to use az cli on my own computer to fetch a token for an api. I would like to be able to do this on my local machine but I am so scared about forgetting to log out ...
Tooling
2
votes
9
replies
213
views
Are there Alternatives to Bun that weren't written with AI assistance?
I'm philosophically anti AI, and recently found out that Bun was rewritten with AI. I don't want to use any tool that was written with AI assistance.
I have been using Bun for a CLI that reads and ...
Best practices
1
vote
2
replies
128
views
How can I tell GitHub CoPilot CLI to always use MudBlazor?
I'm looking for a best practice.
How can I tell GitHub CoPilot CLI to always use MudBlazor when it's writing C# Blazor code?
Would I put that instruction in a prompt, skill, agent, etc.?
Best practices
0
votes
2
replies
91
views
How can I tell GitHub CoPilot CLI to always print clickable Urls?
When I ask GitHub CoPilot CLI to build an application that includes a website and API, I'd like it to print clickable Urls for both each time it builds the application.
I'd like this instruction to ...
4
votes
1
answer
283
views
"Defend" Against Multiple ANSI Styles
Update
I have raised issue #816 on GitHub, to see whether this is
an inherent limitation of ANSI sequences; or
a bug in existing functionality; or
a new feature we must request.
Styling
The cli ...
Advice
0
votes
1
replies
59
views
Sourcetree on windows - revert it to use git bash
I've already asked on sourcetree forum and havn't found an answer, so I'm asking here.
Since sourcetree last update it changed its default git terminal from git-bash to git.exe.
I find it frustrating ...
1
vote
1
answer
216
views
PHP Script not timing out while using curl_exec( )
I have a php shell script that runs at scheduled intervals via launchd. The script has a 2 minute php timeout, but I understand that time spend in curl_exec( ) doesn't count towards that. But I also ...
Advice
0
votes
0
replies
64
views
How is it possible to run CLI commands for PowerBI Desktop on refresh data/schema and export to pdf
I am using PowerBI desktop to publish some reports.
As from my understanding it is not possible from CLI to perform a refresh of the data/schema, as well to export to pdf.
How would you be able to ...
Advice
0
votes
1
replies
147
views
How to stream PostgreSQL (pgx.Rows) query results into a pager (less) without buffering the entire result set?
Im building a PostgreSQL CLI client in Go (pgxcli), inspired by pgcli. I am using the pgx driver, and the app features an REPL, autocompletion, and syntax highlighting.
Currently, the code buffers the ...
Tooling
0
votes
2
replies
133
views
How to have a CLI interface to interact with service on running HTTP server with Quarkus
I am developing a backend server using Quarkus, and I want to be able to interact with the app and some of the implemented services via CLI. So for example have the server running on port 8080 serving ...
4
votes
2
answers
338
views
Can I run a program so that it has no command-line arguments (not even the program's name)?
Can I arrange it so that my program's main() function gets exactly 0 arguments? That is, not even the program's name in argv[0]?
As an example, take the following program, which I would like to print ...
1
vote
4
answers
230
views
Invoking tar.exe from PowerShell, can't input any more commands
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 ...
2
votes
0
answers
246
views
Is it possible to create a new C# console app using C# code instead of CLI or Visual Studio UI
I need to automatically create new C# projects. I understand I can execute arbitrary dotnet CLI commands (e.g. dotnet new <template> -o <output directory> -n <name>) using System....