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
9,627
questions
0
votes
0
answers
17
views
How can I get all inputs except subcommand with the Clap?
Here is my code.
#[derive(Parser)]
#[command(subcommand_precedence_over_arg = true)]
pub struct Cli {
#[arg(global = true)]
pub input: Option<Vec<String>>,
#[command(subcommand)...
0
votes
0
answers
13
views
not able to install angular cli on command prompt
I used the command npm install -g @angular/cli on the command prompt to install Angular CLI, but it just keeps loading for a very long time and is not getting installed. Can anyone help me with this?
...
0
votes
0
answers
6
views
CLI command to query information from the last 24 hours from IBM DataPower Operational Dashboard (DPOD)
I would like to get information from the last 24 hours from DPOD through the CLI. Specifically, I need the numbers for request size, successful transactions, errors, domain request size, domain ...
-1
votes
0
answers
21
views
Automate restoring external .sql dump file on Azure MySQL flexible server
I have a zipped MySQL dump file that I am receiving from one of my company's vendors. I need to unzip it and use the .sql file to restore a database in Azure Database for MySQL flexible server. I am ...
0
votes
0
answers
19
views
Unable to get 'IsPrimaryIpv6' field from "ec2-describe-network-interfaces" method in AWS CLI
I need to detach IPv6 addresses from one interface to attach to another, and since one of these addresses is the primary IPv6, I get the error message that I can't detach a primary address. However, ...
0
votes
0
answers
13
views
Ubuntu 24.04 Dotnet CLI core dump on .Net Core 3.1
I was following this tutorial from Digital Ocean about how to deploy a ASP .Net Core app with MySQL using Nginx on Ubuntu 24.04.
I've set up MySQL and Nginx successfully however I had a problem ...
0
votes
0
answers
14
views
Python CLI commands compiled into script [duplicate]
Is there a simple way of converting the sequence of commands I ran in the Python CLI session into a script?
I use CLI to create logic before actually writing the script. I use CLI to avoid repetitive ...
0
votes
0
answers
20
views
MongoDB Atlas CLI: atlas command not found
I am trying to use MonngoDB Atlas CLI. I have installed Atlas in a Ubuntu virtual environment following the official documentation. Apparently everything works. However, if I close and reopen the ...
0
votes
1
answer
21
views
Getting npm run dev errors trying to work with Svelte
I'm trying to work through a Svelte starter project on MDN. I was able to run the first step of the project locally after using npx but when I tried to clone the Github repo I keep getting an error on ...
0
votes
2
answers
20
views
System.FormatException when building Azure Bicep file to JSON
I'm encountering a System.FormatException when trying to build my all Azure Bicep file into an ARM template JSON.
The command I am using is:
simple.bicep
resource storageAccount 'Microsoft.Storage/...
0
votes
1
answer
27
views
How can I run the Wikipedia Module Yesno.lua from the lua cli?
Wikipedia has lua modules. One of them is the Yesno module.
Its Yesno.lua file has these contents.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes&...
0
votes
0
answers
22
views
aws iam list-users getting output as Unable to parse response [closed]
I run the aws iam list-users command in gitbash getting error unable to parse response invalid xml received(no element found: line 1, column 0), invalid XML received. Further retries may succeed:,
b''
...
1
vote
2
answers
53
views
Attempting to authenticate Firebase tells me I first need to authenticate Firebase. Huh?
I am using Firebase. I am getting the error:
Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
I have tried running firebase login --reauth, but ...
0
votes
0
answers
21
views
zsh case-insensitive completion match not working
Problem
I've recently made some changes to my terminal development tools. Everything has been working as expected, except for case-insensitive match completion, which before it would match completions ...
0
votes
1
answer
28
views
Get parent parser from argparse's parser
I have certain python code which takes CLI arguments and handles them using argparse's parser. I have a parent parser as such:
verbose_quiet_parent_parser = argparse.ArgumentParser(add_help=False)
...