azureauth 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# node-azureauth
|
|
2
|
+
|
|
3
|
+
This package wraps the https://github.com/AzureAD/microsoft-authentication-cli with a node.js exec wrapper.
|
|
4
|
+
|
|
5
|
+
That way the `azureauth` CLI can be downloaded automatically, and therefore scoped to the `./node_modules/.bin` allowing for multiple versions of the AzureAuth CLI
|
|
6
|
+
to exist on one machine at once.
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Install the package wiwth
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
> npm i azureauth
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Use the `azureauth` CLI by calling it from NPM scripts.
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
"scripts": {
|
|
20
|
+
"authcli": "azureauth --version"
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
> npm run authcli
|
|
26
|
+
```
|