Comments (3)
I found it very confusing when I first started using the cli. detect
should be enabed by default and on the first command after the installation, if it cannot detect the project/instance, then it should ask the user if he/she wants to configure defaults. Only after 15 minutes when I got too annoyed, I had to look up how to set the defaults.
from azure-devops-cli-extension.
@bergmeister , --detect is enabled by default. It just has no effect if your current working directory is not associated with a git repo. Did you experience something different?
from azure-devops-cli-extension.
VSTS CLI is now Azure DevOps Extension. Refer the repo readme for more details.
We have updated the help texts and getting started guides to educate the new users on setting defaults including setting the defaults implicitly if you login with a particular organization.
Hopefully that fixes this and any similar issues that the users were facing.
e.g. Updates Error messages look like below:
"--organization must be specified. The value should be the URI of your Azure DevOps organization, for example: https://dev.azure.com/MyOrganization/ or your TFS organization. You can set a default value by running: az devops configure --defaults organization=https://dev.azure.com/MyOrganization/. For auto detection to work (--detect on), you must be in a local Git directory that has a "remote" referencing a Azure DevOps or TFS repository."
AND
"--project must be specified. The value should be the ID or name of a team project. You can set a default value by running: az devops configure --defaults project=."
Hence closing the issue.
from azure-devops-cli-extension.
Related Issues (20)
- Add a label parameter when creating pull requests
- [Feature Request] Attaching a file to a workitem
- az pipeline create failed
- [Feature Request]
- while doing security update it kept on failing although --subject parameter is correct as per documentation
- ERROR: Could not resolve identity: SOME-SECURITY-GROUP
- Bug: the azure-devops cache folder location is computed differently in different places
- [Feature Request] Install keyring by default or offer a way to install keyring without causing error messages
- [Feature Request] Extend `--detect` to use environment variables available when running in Azure Pipelines
- [Feature Request] Ability to create deployment groups
- [Feature Request] support `requireVoteOnEachIteration` and `requireVoteOnLastIteration` for `az repos policy approver-count`
- Not able to download universal packages from public feeds HOT 1
- [Feature Request] `az repos show` should auto-detect `--repository` via git config HOT 1
- [Feature Request] `az artifacts universal` should support preemptively installing artifacttool
- [Error] Artifact Tool hangs and causes docker dev container to lose network connectivity
- [Feature Request] Update repository description url to a valid one
- Description not working in pull request command
- [Feature Request] Set Team Admin on Project Team
- [Feature Request] Wiki include subpages (recursion level parameter) HOT 1
- [Feature Request] [Proposal] New commands to push a build request to the top of the pool queue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-cli-extension.