@pulumi/command 0.0.4-alpha.1646689034 → 0.0.4-alpha.1646714993
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/local/command.d.ts +8 -0
- package/local/command.js +2 -0
- package/local/command.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/remote/command.d.ts +8 -0
- package/remote/command.js +2 -0
- package/remote/command.js.map +1 -1
package/local/command.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ export declare class Command extends pulumi.CustomResource {
|
|
|
49
49
|
* The standard error of the command's process
|
|
50
50
|
*/
|
|
51
51
|
readonly stderr: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Pass a string to the command's process as standard in
|
|
54
|
+
*/
|
|
55
|
+
readonly stdin: pulumi.Output<string | undefined>;
|
|
52
56
|
/**
|
|
53
57
|
* The standard output of the command's process
|
|
54
58
|
*/
|
|
@@ -93,5 +97,9 @@ export interface CommandArgs {
|
|
|
93
97
|
* On Linux and macOS, defaults to: `["/bin/sh", "-c"]`. On Windows, defaults to: `["cmd", "/C"]`
|
|
94
98
|
*/
|
|
95
99
|
interpreter?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
/**
|
|
101
|
+
* Pass a string to the command's process as standard in
|
|
102
|
+
*/
|
|
103
|
+
stdin?: pulumi.Input<string>;
|
|
96
104
|
triggers?: pulumi.Input<any[]>;
|
|
97
105
|
}
|
package/local/command.js
CHANGED
|
@@ -29,6 +29,7 @@ class Command extends pulumi.CustomResource {
|
|
|
29
29
|
resourceInputs["dir"] = args ? args.dir : undefined;
|
|
30
30
|
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
31
31
|
resourceInputs["interpreter"] = args ? args.interpreter : undefined;
|
|
32
|
+
resourceInputs["stdin"] = args ? args.stdin : undefined;
|
|
32
33
|
resourceInputs["triggers"] = args ? args.triggers : undefined;
|
|
33
34
|
resourceInputs["stderr"] = undefined /*out*/;
|
|
34
35
|
resourceInputs["stdout"] = undefined /*out*/;
|
|
@@ -40,6 +41,7 @@ class Command extends pulumi.CustomResource {
|
|
|
40
41
|
resourceInputs["environment"] = undefined /*out*/;
|
|
41
42
|
resourceInputs["interpreter"] = undefined /*out*/;
|
|
42
43
|
resourceInputs["stderr"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["stdin"] = undefined /*out*/;
|
|
43
45
|
resourceInputs["stdout"] = undefined /*out*/;
|
|
44
46
|
resourceInputs["triggers"] = undefined /*out*/;
|
|
45
47
|
}
|
package/local/command.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../local/command.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../local/command.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;GAMG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAkE9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAAmC;QAC7E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAA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GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IApGD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AAzBL,0BAsGC;AAzFG,gBAAgB;AACO,oBAAY,GAAG,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/command",
|
|
3
|
-
"version": "v0.0.4-alpha.
|
|
3
|
+
"version": "v0.0.4-alpha.1646714993+eb1d83ef",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"command",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource command v0.0.4-alpha.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource command v0.0.4-alpha.1646714993+eb1d83ef"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/remote/command.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export declare class Command extends pulumi.CustomResource {
|
|
|
41
41
|
* The standard error of the command's process
|
|
42
42
|
*/
|
|
43
43
|
readonly stderr: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Pass a string to the command's process as standard in
|
|
46
|
+
*/
|
|
47
|
+
readonly stdin: pulumi.Output<string | undefined>;
|
|
44
48
|
/**
|
|
45
49
|
* The standard output of the command's process
|
|
46
50
|
*/
|
|
@@ -80,6 +84,10 @@ export interface CommandArgs {
|
|
|
80
84
|
environment?: pulumi.Input<{
|
|
81
85
|
[key: string]: pulumi.Input<string>;
|
|
82
86
|
}>;
|
|
87
|
+
/**
|
|
88
|
+
* Pass a string to the command's process as standard in
|
|
89
|
+
*/
|
|
90
|
+
stdin?: pulumi.Input<string>;
|
|
83
91
|
/**
|
|
84
92
|
* Trigger replacements on changes to this input.
|
|
85
93
|
*/
|
package/remote/command.js
CHANGED
|
@@ -29,6 +29,7 @@ class Command extends pulumi.CustomResource {
|
|
|
29
29
|
resourceInputs["create"] = args ? args.create : undefined;
|
|
30
30
|
resourceInputs["delete"] = args ? args.delete : undefined;
|
|
31
31
|
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
32
|
+
resourceInputs["stdin"] = args ? args.stdin : undefined;
|
|
32
33
|
resourceInputs["triggers"] = args ? args.triggers : undefined;
|
|
33
34
|
resourceInputs["stderr"] = undefined /*out*/;
|
|
34
35
|
resourceInputs["stdout"] = undefined /*out*/;
|
|
@@ -39,6 +40,7 @@ class Command extends pulumi.CustomResource {
|
|
|
39
40
|
resourceInputs["delete"] = undefined /*out*/;
|
|
40
41
|
resourceInputs["environment"] = undefined /*out*/;
|
|
41
42
|
resourceInputs["stderr"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["stdin"] = undefined /*out*/;
|
|
42
44
|
resourceInputs["stdout"] = undefined /*out*/;
|
|
43
45
|
resourceInputs["triggers"] = undefined /*out*/;
|
|
44
46
|
}
|
package/remote/command.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../remote/command.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,oCAA8D;AAC9D,0CAA0C;AAE1C;;;GAGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"command.js","sourceRoot":"","sources":["../../remote/command.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,oCAA8D;AAC9D,0CAA0C;AAE1C;;;GAGG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA4D9C;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,aAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACpK,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC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