Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Forgot to add file somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebriggs committed Apr 15, 2020
1 parent eab4d8a commit c07ac2d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/commands/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,6 @@
"description": "Personal access token associated with the Azure DevOps org; falls back to azure_devops.access_token in spk config"
}
],
"markdown": "## Description\n\nAdd a new variable group in Azure DevOps project\n\n## Example\n\nBelow is an example of the expected schema in the `--file` argument where `storage-account-name` is a key name and `fabrikamstorage` is a value. If the value is a secret then the key/value `isSecret: true` is expected\n\n```yaml\nname: \"my-variable-group\"\ndescription: \"My variable group description\"\ntype: \"Vsts\"\nvariables:\n storage-account-name:\n value: fabrikamstorage\n storage-account-access-key:\n value: \"fabrikamstorage access key\"\n isSecret: true\n```\n\nIf the yaml file above is available at `$PATH_TO_FILE` your would call\n\n`spk variable-group create --file $PATH_TO_FILE`"
"markdown": "## Description\n\nAdd a new variable group in Azure DevOps project\n\n## Example\n\nBelow is an example of the expected schema in the `--file` argument where\n`storage-account-name` is a key name and `fabrikamstorage` is a value. If the\nvalue is a secret then the key/value `isSecret: true` is expected\n\n```yaml\nname: \"my-variable-group\"\ndescription: \"My variable group description\"\ntype: \"Vsts\"\nvariables:\n storage-account-name:\n value: fabrikamstorage\n storage-account-access-key:\n value: \"fabrikamstorage access key\"\n isSecret: true\n```\n\nIf the yaml file above is available at `$PATH_TO_FILE` your would call\n\n`spk variable-group create --file $PATH_TO_FILE`\n"
}
}
25 changes: 25 additions & 0 deletions src/commands/variable-group/create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Description

Add a new variable group in Azure DevOps project

## Example

Below is an example of the expected schema in the `--file` argument where
`storage-account-name` is a key name and `fabrikamstorage` is a value. If the
value is a secret then the key/value `isSecret: true` is expected

```yaml
name: "my-variable-group"
description: "My variable group description"
type: "Vsts"
variables:
storage-account-name:
value: fabrikamstorage
storage-account-access-key:
value: "fabrikamstorage access key"
isSecret: true
```
If the yaml file above is available at `$PATH_TO_FILE` your would call

`spk variable-group create --file $PATH_TO_FILE`

0 comments on commit c07ac2d

Please sign in to comment.