https://github.com/danesparza/tfsutil
:herb: Utilities for working with TFS (Team Foundation Server)
https://github.com/danesparza/tfsutil
command-line command-line-tool tfs tfs-2017 tfs-api utilities variable-groups variables
Last synced: 3 months ago
JSON representation
:herb: Utilities for working with TFS (Team Foundation Server)
- Host: GitHub
- URL: https://github.com/danesparza/tfsutil
- Owner: danesparza
- License: mit
- Created: 2018-06-15T17:20:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-12T15:17:53.000Z (almost 7 years ago)
- Last Synced: 2025-01-24T07:11:38.558Z (5 months ago)
- Topics: command-line, command-line-tool, tfs, tfs-2017, tfs-api, utilities, variable-groups, variables
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tfsutil [](https://circleci.com/gh/danesparza/tfsutil)
Utilities for working with [TFS (Team Foundation Server)](https://docs.microsoft.com/en-us/vsts/user-guide/?view=tfs-2018)## Getting started
- Grab the [latest release](https://github.com/danesparza/tfsutil/releases/latest) and unzip `tfsutil` to a location in your [path](https://en.wikipedia.org/wiki/PATH_(variable)).
- **Create a config file** using the command `tfsutil config create`. Save the generated text to a file named `tfsutil.yml` in the `%userprofile%` folder on windows (probably your user directory), or to your home directory (if on a unix/linux based platform), or in the same directory as the binary.
- **Update the config file** `tfsutil.yml`:
- Set the TFS url with your server information
- Set the default collection (you can always override this with the `--collection` command line flag)
- Set the default project (you can always override this with the `--project` command line flag)
- **Create a personal access token** and set it in the `tfsutil.yml` config file. (Need help? [See the guide on Microsoft's site](https://docs.microsoft.com/en-us/vsts/accounts/use-personal-access-tokens-to-authenticate?view=vsts).)### Listing variable groups
To list variable groups, execute the command:```
tfsutil vg list
```All variable groups for the current collection and project will be listed, along with the count of the variables in each group.
### Copying a variable group
To copy a variable group, execute the command:```
tfsutil vg copy "Special unicorn variables"
```Where 'Special unicorn variables' is the name of the variable group you want to copy. Note: The variable group name should be surrounded with quotes.
### Listing projects
To list projects, execute the command:```
tfsutil project list
```All projects for the current collection will be listed